diff --git a/astgen/stdast.go b/astgen/stdast.go index 2f8685b..37bcda0 100644 --- a/astgen/stdast.go +++ b/astgen/stdast.go @@ -11,2761 +11,2850 @@ import ( "github.com/google/go-jsonnet/ast" ) -var p7Var = "$" +var p7Var = "function " var p7 = &p7Var -var p12Var = "object " -var p12 = &p12Var -var p16Var = "function " -var p16 = &p16Var -var p27Var = "thunk from >" -var p27 = &p27Var -var p35Var = "function " -var p35 = &p35Var -var p46Var = "thunk from >" -var p46 = &p46Var -var p54Var = "function " -var p54 = &p54Var -var p65Var = "thunk from >" -var p65 = &p65Var -var p73Var = "function " -var p73 = &p73Var -var p84Var = "thunk from >" -var p84 = &p84Var -var p92Var = "function " -var p92 = &p92Var -var p103Var = "thunk from >" -var p103 = &p103Var -var p111Var = "function " -var p111 = &p111Var -var p122Var = "thunk from >" -var p122 = &p122Var -var p131Var = "function " -var p131 = &p131Var -var p144Var = "thunk from >" -var p144 = &p144Var -var p161Var = "function " +var p18Var = "thunk from >" +var p18 = &p18Var +var p23Var = "object " +var p23 = &p23Var +var p29Var = "function " +var p29 = &p29Var +var p38Var = "thunk from >" +var p38 = &p38Var +var p48Var = "function " +var p48 = &p48Var +var p57Var = "thunk from >" +var p57 = &p57Var +var p67Var = "function " +var p67 = &p67Var +var p76Var = "thunk from >" +var p76 = &p76Var +var p86Var = "function " +var p86 = &p86Var +var p95Var = "thunk from >" +var p95 = &p95Var +var p105Var = "function " +var p105 = &p105Var +var p114Var = "thunk from >" +var p114 = &p114Var +var p125Var = "function " +var p125 = &p125Var +var p134Var = "thunk from >" +var p134 = &p134Var +var p157Var = "function " +var p157 = &p157Var +var p161Var = "thunk from >" var p161 = &p161Var -var p170Var = "thunk from >" -var p170 = &p170Var -var p183Var = "thunk from >" -var p183 = &p183Var -var p196Var = "thunk from >" -var p196 = &p196Var -var p215Var = "thunk from >" -var p215 = &p215Var -var p225Var = "thunk from >>" -var p225 = &p225Var -var p234Var = "thunk from >>>" -var p234 = &p234Var -var p244Var = "thunk from >>>>" -var p244 = &p244Var -var p257Var = "thunk from >>>>>" -var p257 = &p257Var -var p265Var = "function " -var p265 = &p265Var -var p296Var = "thunk from >" -var p296 = &p296Var -var p312Var = "thunk from >" -var p312 = &p312Var -var p328Var = "thunk from >" -var p328 = &p328Var -var p336Var = "function " -var p336 = &p336Var +var p173Var = "thunk from >" +var p173 = &p173Var +var p185Var = "thunk from >" +var p185 = &p185Var +var p203Var = "thunk from >" +var p203 = &p203Var +var p216Var = "thunk from >>" +var p216 = &p216Var +var p220Var = "thunk from >>>" +var p220 = &p220Var +var p229Var = "thunk from >>>>" +var p229 = &p229Var +var p242Var = "thunk from >>>>>" +var p242 = &p242Var +var p251Var = "function " +var p251 = &p251Var +var p282Var = "thunk from >" +var p282 = &p282Var +var p299Var = "thunk from >" +var p299 = &p299Var +var p316Var = "thunk from >" +var p316 = &p316Var +var p334Var = "function " +var p334 = &p334Var +var p338Var = "thunk from >" +var p338 = &p338Var var p349Var = "thunk from >" var p349 = &p349Var -var p360Var = "thunk from >" -var p360 = &p360Var -var p377Var = "thunk from >" -var p377 = &p377Var -var p389Var = "thunk from >>" -var p389 = &p389Var -var p399Var = "function " -var p399 = &p399Var +var p367Var = "thunk from >" +var p367 = &p367Var +var p378Var = "thunk from >>" +var p378 = &p378Var +var p397Var = "function " +var p397 = &p397Var +var p401Var = "thunk from >" +var p401 = &p401Var var p412Var = "thunk from >" var p412 = &p412Var -var p423Var = "thunk from >" -var p423 = &p423Var -var p440Var = "thunk from >" -var p440 = &p440Var -var p453Var = "thunk from >>" -var p453 = &p453Var +var p430Var = "thunk from >" +var p430 = &p430Var +var p441Var = "thunk from >>" +var p441 = &p441Var +var p452Var = "thunk from >>" +var p452 = &p452Var var p464Var = "thunk from >>" var p464 = &p464Var -var p475Var = "thunk from >>" -var p475 = &p475Var -var p485Var = "function " -var p485 = &p485Var -var p500Var = "thunk from >" -var p500 = &p500Var -var p512Var = "thunk from >" -var p512 = &p512Var -var p537Var = "thunk from >" -var p537 = &p537Var -var p554Var = "function " -var p554 = &p554Var -var p558Var = "thunk from >" -var p558 = &p558Var -var p567Var = "thunk from from >>" -var p567 = &p567Var -var p588Var = "thunk from >" -var p588 = &p588Var -var p617Var = "thunk from >" -var p617 = &p617Var -var p637Var = "function " -var p637 = &p637Var -var p647Var = "thunk from >" +var p483Var = "function " +var p483 = &p483Var +var p487Var = "thunk from >" +var p487 = &p487Var +var p505Var = "thunk from >" +var p505 = &p505Var +var p526Var = "thunk from >" +var p526 = &p526Var +var p552Var = "thunk from >" +var p552 = &p552Var +var p556Var = "thunk from from >>" +var p556 = &p556Var +var p566Var = "function " +var p566 = &p566Var +var p570Var = "thunk from >" +var p570 = &p570Var +var p604Var = "thunk from >" +var p604 = &p604Var +var p635Var = "function " +var p635 = &p635Var +var p643Var = "thunk from >" +var p643 = &p643Var +var p647Var = "thunk from >>" var p647 = &p647Var -var p656Var = "thunk from >>" -var p656 = &p656Var -var p667Var = "function " -var p667 = &p667Var -var p677Var = "thunk from >" +var p665Var = "function " +var p665 = &p665Var +var p673Var = "thunk from >" +var p673 = &p673Var +var p677Var = "thunk from >>" var p677 = &p677Var -var p686Var = "thunk from >>" -var p686 = &p686Var -var p692Var = "function " -var p692 = &p692Var -var p705Var = "function " +var p683Var = "function " +var p683 = &p683Var +var p701Var = "function " +var p701 = &p701Var +var p705Var = "thunk from >" var p705 = &p705Var -var p714Var = "thunk from >" -var p714 = &p714Var -var p731Var = "thunk from >" -var p731 = &p731Var -var p767Var = "thunk from >" -var p767 = &p767Var -var p781Var = "thunk from >" -var p781 = &p781Var -var p799Var = "thunk from >" -var p799 = &p799Var -var p815Var = "thunk from >" -var p815 = &p815Var -var p824Var = "function " +var p725Var = "thunk from >" +var p725 = &p725Var +var p752Var = "thunk from >" +var p752 = &p752Var +var p768Var = "thunk from >" +var p768 = &p768Var +var p787Var = "thunk from >" +var p787 = &p787Var +var p803Var = "thunk from >" +var p803 = &p803Var +var p820Var = "function " +var p820 = &p820Var +var p824Var = "thunk from >" var p824 = &p824Var -var p833Var = "thunk from >" -var p833 = &p833Var +var p838Var = "thunk from >" +var p838 = &p838Var var p848Var = "thunk from >" var p848 = &p848Var -var p858Var = "thunk from >" -var p858 = &p858Var -var p877Var = "thunk from >" -var p877 = &p877Var -var p886Var = "function " +var p865Var = "thunk from >" +var p865 = &p865Var +var p882Var = "function " +var p882 = &p882Var +var p886Var = "thunk from >" var p886 = &p886Var -var p895Var = "thunk from >" -var p895 = &p895Var +var p900Var = "thunk from >" +var p900 = &p900Var var p910Var = "thunk from >" var p910 = &p910Var -var p920Var = "thunk from >" -var p920 = &p920Var -var p939Var = "thunk from >" -var p939 = &p939Var -var p948Var = "function " +var p927Var = "thunk from >" +var p927 = &p927Var +var p944Var = "function " +var p944 = &p944Var +var p948Var = "thunk from >" var p948 = &p948Var -var p957Var = "thunk from >" -var p957 = &p957Var -var p970Var = "thunk from >" -var p970 = &p970Var -var p985Var = "thunk from >" -var p985 = &p985Var -var p998Var = "thunk from >" -var p998 = &p998Var -var p1018Var = "thunk from >" -var p1018 = &p1018Var -var p1034Var = "thunk from >" -var p1034 = &p1034Var -var p1050Var = "thunk from >" -var p1050 = &p1050Var -var p1059Var = "function " +var p960Var = "thunk from >" +var p960 = &p960Var +var p974Var = "thunk from >" +var p974 = &p974Var +var p987Var = "thunk from >" +var p987 = &p987Var +var p1004Var = "thunk from >" +var p1004 = &p1004Var +var p1021Var = "thunk from >" +var p1021 = &p1021Var +var p1038Var = "thunk from >" +var p1038 = &p1038Var +var p1055Var = "function " +var p1055 = &p1055Var +var p1059Var = "thunk from >" var p1059 = &p1059Var -var p1068Var = "thunk from >" -var p1068 = &p1068Var -var p1081Var = "thunk from >" -var p1081 = &p1081Var -var p1096Var = "thunk from >" -var p1096 = &p1096Var -var p1110Var = "thunk from >" -var p1110 = &p1110Var -var p1117Var = "thunk from >" -var p1117 = &p1117Var -var p1122Var = "function " +var p1071Var = "thunk from >" +var p1071 = &p1071Var +var p1085Var = "thunk from >" +var p1085 = &p1085Var +var p1098Var = "thunk from >" +var p1098 = &p1098Var +var p1108Var = "thunk from >" +var p1108 = &p1108Var +var p1112Var = "thunk from from >>" +var p1112 = &p1112Var +var p1122Var = "thunk from >" var p1122 = &p1122Var -var p1126Var = "thunk from >" +var p1126Var = "thunk from from >>" var p1126 = &p1126Var -var p1137Var = "thunk from >" -var p1137 = &p1137Var -var p1158Var = "thunk from >" -var p1158 = &p1158Var -var p1169Var = "thunk from >" -var p1169 = &p1169Var -var p1201Var = "thunk from >" -var p1201 = &p1201Var -var p1212Var = "thunk from >" -var p1212 = &p1212Var -var p1226Var = "thunk from >>" -var p1226 = &p1226Var -var p1237Var = "thunk from >" -var p1237 = &p1237Var -var p1258Var = "thunk from >" -var p1258 = &p1258Var -var p1279Var = "thunk from >" -var p1279 = &p1279Var -var p1295Var = "thunk from >" -var p1295 = &p1295Var -var p1311Var = "thunk from >" -var p1311 = &p1311Var -var p1327Var = "thunk from >" -var p1327 = &p1327Var -var p1336Var = "function " -var p1336 = &p1336Var -var p1345Var = "thunk from >" -var p1345 = &p1345Var -var p1358Var = "thunk from >" -var p1358 = &p1358Var -var p1371Var = "thunk from >" -var p1371 = &p1371Var -var p1386Var = "thunk from >" -var p1386 = &p1386Var -var p1395Var = "thunk from from >>" -var p1395 = &p1395Var -var p1402Var = "thunk from >" -var p1402 = &p1402Var -var p1411Var = "thunk from from >>" -var p1411 = &p1411Var -var p1419Var = "thunk from >" -var p1419 = &p1419Var -var p1423Var = "function " -var p1423 = &p1423Var -var p1453Var = "thunk from >" -var p1453 = &p1453Var -var p1458Var = "function " -var p1458 = &p1458Var -var p1495Var = "thunk from >" -var p1495 = &p1495Var -var p1502Var = "thunk from >" -var p1502 = &p1502Var -var p1515Var = "thunk from from >>" -var p1515 = &p1515Var -var p1524Var = "thunk from >" -var p1524 = &p1524Var -var p1559Var = "thunk from >" -var p1559 = &p1559Var -var p1588Var = "thunk from >" -var p1588 = &p1588Var -var p1599Var = "thunk from >>" -var p1599 = &p1599Var -var p1611Var = "thunk from >" -var p1611 = &p1611Var -var p1628Var = "function " -var p1628 = &p1628Var -var p1632Var = "thunk from >" -var p1632 = &p1632Var -var p1642Var = "thunk from >" -var p1642 = &p1642Var -var p1646Var = "function " -var p1646 = &p1646Var -var p1658Var = "thunk from >" -var p1658 = &p1658Var -var p1669Var = "thunk from >" -var p1669 = &p1669Var -var p1682Var = "thunk from >" -var p1682 = &p1682Var -var p1690Var = "thunk from >>" +var p1135Var = "function " +var p1135 = &p1135Var +var p1144Var = "thunk from >" +var p1144 = &p1144Var +var p1165Var = "thunk from >" +var p1165 = &p1165Var +var p1207Var = "thunk from >" +var p1207 = &p1207Var +var p1216Var = "thunk from >>" +var p1216 = &p1216Var +var p1231Var = "thunk from >" +var p1231 = &p1231Var +var p1254Var = "thunk from >" +var p1254 = &p1254Var +var p1262Var = "thunk from >" +var p1262 = &p1262Var +var p1282Var = "thunk from >" +var p1282 = &p1282Var +var p1299Var = "thunk from >" +var p1299 = &p1299Var +var p1316Var = "thunk from >" +var p1316 = &p1316Var +var p1333Var = "thunk from >" +var p1333 = &p1333Var +var p1350Var = "function " +var p1350 = &p1350Var +var p1354Var = "thunk from >" +var p1354 = &p1354Var +var p1366Var = "thunk from >" +var p1366 = &p1366Var +var p1380Var = "thunk from >" +var p1380 = &p1380Var +var p1393Var = "thunk from >" +var p1393 = &p1393Var +var p1412Var = "thunk from >" +var p1412 = &p1412Var +var p1427Var = "function " +var p1427 = &p1427Var +var p1431Var = "thunk from >" +var p1431 = &p1431Var +var p1444Var = "thunk from >>" +var p1444 = &p1444Var +var p1448Var = "thunk from >>>" +var p1448 = &p1448Var +var p1454Var = "thunk from >" +var p1454 = &p1454Var +var p1467Var = "function " +var p1467 = &p1467Var +var p1471Var = "thunk from >" +var p1471 = &p1471Var +var p1475Var = "thunk from >" +var p1475 = &p1475Var +var p1489Var = "thunk from >>" +var p1489 = &p1489Var +var p1494Var = "thunk from >>>" +var p1494 = &p1494Var +var p1498Var = "thunk from >>>>" +var p1498 = &p1498Var +var p1506Var = "thunk from >>>>" +var p1506 = &p1506Var +var p1529Var = "thunk from >" +var p1529 = &p1529Var +var p1546Var = "thunk from >" +var p1546 = &p1546Var +var p1563Var = "thunk from >" +var p1563 = &p1563Var +var p1580Var = "thunk from >" +var p1580 = &p1580Var +var p1597Var = "function " +var p1597 = &p1597Var +var p1601Var = "thunk from >" +var p1601 = &p1601Var +var p1613Var = "thunk from >" +var p1613 = &p1613Var +var p1625Var = "thunk from >" +var p1625 = &p1625Var +var p1641Var = "thunk from >" +var p1641 = &p1641Var +var p1645Var = "thunk from from >>" +var p1645 = &p1645Var +var p1655Var = "thunk from >" +var p1655 = &p1655Var +var p1659Var = "thunk from from >>" +var p1659 = &p1659Var +var p1667Var = "function " +var p1667 = &p1667Var +var p1690Var = "thunk from >" var p1690 = &p1690Var -var p1707Var = "thunk from >" -var p1707 = &p1707Var -var p1717Var = "thunk from >>" -var p1717 = &p1717Var -var p1728Var = "thunk from >>>" -var p1728 = &p1728Var -var p1736Var = "function " -var p1736 = &p1736Var -var p1740Var = "thunk from >" +var p1698Var = "function " +var p1698 = &p1698Var +var p1729Var = "thunk from >" +var p1729 = &p1729Var +var p1740Var = "thunk from >" var p1740 = &p1740Var -var p1750Var = "thunk from >" -var p1750 = &p1750Var -var p1754Var = "function " -var p1754 = &p1754Var -var p1766Var = "thunk from >" -var p1766 = &p1766Var -var p1777Var = "thunk from >" -var p1777 = &p1777Var -var p1790Var = "thunk from >" -var p1790 = &p1790Var -var p1798Var = "thunk from >>" -var p1798 = &p1798Var -var p1815Var = "thunk from >" -var p1815 = &p1815Var -var p1825Var = "thunk from >>" +var p1744Var = "thunk from from >>" +var p1744 = &p1744Var +var p1756Var = "thunk from >" +var p1756 = &p1756Var +var p1792Var = "thunk from >" +var p1792 = &p1792Var +var p1808Var = "thunk from >" +var p1808 = &p1808Var +var p1825Var = "thunk from >" var p1825 = &p1825Var -var p1836Var = "thunk from >>>" -var p1836 = &p1836Var -var p1843Var = "function " -var p1843 = &p1843Var -var p1853Var = "thunk from >" -var p1853 = &p1853Var -var p1866Var = "function " -var p1866 = &p1866Var -var p1878Var = "function " -var p1878 = &p1878Var -var p1883Var = "thunk from >" -var p1883 = &p1883Var -var p1894Var = "thunk from from >>" -var p1894 = &p1894Var -var p1909Var = "thunk from from >>" -var p1909 = &p1909Var -var p1925Var = "thunk from >" -var p1925 = &p1925Var -var p1936Var = "thunk from >>" -var p1936 = &p1936Var -var p1942Var = "function " -var p1942 = &p1942Var -var p1950Var = "function " -var p1950 = &p1950Var -var p1956Var = "thunk from >" +var p1835Var = "thunk from >>" +var p1835 = &p1835Var +var p1847Var = "thunk from >" +var p1847 = &p1847Var +var p1890Var = "thunk from >" +var p1890 = &p1890Var +var p1899Var = "function " +var p1899 = &p1899Var +var p1905Var = "thunk from >" +var p1905 = &p1905Var +var p1916Var = "thunk from >" +var p1916 = &p1916Var +var p1931Var = "thunk from >" +var p1931 = &p1931Var +var p1937Var = "thunk from >>" +var p1937 = &p1937Var +var p1948Var = "thunk from >" +var p1948 = &p1948Var +var p1956Var = "function " var p1956 = &p1956Var -var p1961Var = "object " -var p1961 = &p1961Var -var p1994Var = "thunk from >" -var p1994 = &p1994Var -var p2022Var = "thunk from >" -var p2022 = &p2022Var -var p2034Var = "thunk from >" -var p2034 = &p2034Var -var p2086Var = "thunk from >" -var p2086 = &p2086Var -var p2097Var = "thunk from >" -var p2097 = &p2097Var -var p2104Var = "thunk from >" -var p2104 = &p2104Var -var p2109Var = "function " -var p2109 = &p2109Var -var p2143Var = "thunk from >" -var p2143 = &p2143Var -var p2177Var = "thunk from >>" -var p2177 = &p2177Var -var p2204Var = "thunk from >" -var p2204 = &p2204Var -var p2241Var = "thunk from >" -var p2241 = &p2241Var -var p2271Var = "thunk from >" -var p2271 = &p2271Var -var p2292Var = "function " -var p2292 = &p2292Var -var p2303Var = "thunk from >" -var p2303 = &p2303Var -var p2317Var = "thunk from >" -var p2317 = &p2317Var -var p2334Var = "thunk from >" -var p2334 = &p2334Var +var p1960Var = "thunk from >" +var p1960 = &p1960Var +var p1969Var = "thunk from >>" +var p1969 = &p1969Var +var p1979Var = "thunk from >>>" +var p1979 = &p1979Var +var p1998Var = "thunk from >" +var p1998 = &p1998Var +var p2007Var = "function " +var p2007 = &p2007Var +var p2013Var = "thunk from >" +var p2013 = &p2013Var +var p2024Var = "thunk from >" +var p2024 = &p2024Var +var p2039Var = "thunk from >" +var p2039 = &p2039Var +var p2045Var = "thunk from >>" +var p2045 = &p2045Var +var p2056Var = "thunk from >" +var p2056 = &p2056Var +var p2064Var = "function " +var p2064 = &p2064Var +var p2068Var = "thunk from >" +var p2068 = &p2068Var +var p2077Var = "thunk from >>" +var p2077 = &p2077Var +var p2087Var = "thunk from >>>" +var p2087 = &p2087Var +var p2106Var = "function " +var p2106 = &p2106Var +var p2111Var = "thunk from >" +var p2111 = &p2111Var +var p2122Var = "function " +var p2122 = &p2122Var +var p2142Var = "thunk from >" +var p2142 = &p2142Var +var p2146Var = "thunk from from >>" +var p2146 = &p2146Var +var p2159Var = "thunk from from >>" +var p2159 = &p2159Var +var p2176Var = "function " +var p2176 = &p2176Var +var p2180Var = "thunk from >" +var p2180 = &p2180Var +var p2190Var = "thunk from >>" +var p2190 = &p2190Var +var p2194Var = "function " +var p2194 = &p2194Var +var p2212Var = "object " +var p2212 = &p2212Var +var p2242Var = "thunk from >" +var p2242 = &p2242Var +var p2272Var = "thunk from >" +var p2272 = &p2272Var +var p2284Var = "thunk from >" +var p2284 = &p2284Var +var p2289Var = "thunk from >" +var p2289 = &p2289Var +var p2295Var = "function " +var p2295 = &p2295Var +var p2337Var = "thunk from >" +var p2337 = &p2337Var var p2348Var = "thunk from >" var p2348 = &p2348Var -var p2357Var = "thunk from >>" -var p2357 = &p2357Var -var p2370Var = "function " -var p2370 = &p2370Var -var p2379Var = "thunk from >" -var p2379 = &p2379Var -var p2388Var = "thunk from >>" +var p2362Var = "function " +var p2362 = &p2362Var +var p2388Var = "thunk from >" var p2388 = &p2388Var -var p2392Var = "function " -var p2392 = &p2392Var -var p2406Var = "function " -var p2406 = &p2406Var -var p2419Var = "thunk from >" -var p2419 = &p2419Var -var p2430Var = "thunk from >" -var p2430 = &p2430Var -var p2442Var = "thunk from >" -var p2442 = &p2442Var -var p2458Var = "thunk from >" -var p2458 = &p2458Var -var p2470Var = "thunk from >" -var p2470 = &p2470Var -var p2496Var = "thunk from >" -var p2496 = &p2496Var -var p2508Var = "thunk from >" -var p2508 = &p2508Var -var p2517Var = "function " -var p2517 = &p2517Var -var p2530Var = "thunk from >" -var p2530 = &p2530Var -var p2547Var = "thunk from >" -var p2547 = &p2547Var -var p2565Var = "thunk from >" -var p2565 = &p2565Var -var p2578Var = "thunk from >" -var p2578 = &p2578Var -var p2595Var = "thunk from >" -var p2595 = &p2595Var -var p2608Var = "thunk from >" -var p2608 = &p2608Var -var p2617Var = "thunk from >>" -var p2617 = &p2617Var -var p2623Var = "function " -var p2623 = &p2623Var -var p2629Var = "thunk from >" -var p2629 = &p2629Var -var p2641Var = "function " -var p2641 = &p2641Var -var p2654Var = "thunk from >" -var p2654 = &p2654Var -var p2671Var = "thunk from >" -var p2671 = &p2671Var -var p2689Var = "thunk from >" -var p2689 = &p2689Var -var p2702Var = "thunk from >" -var p2702 = &p2702Var -var p2719Var = "thunk from >" -var p2719 = &p2719Var -var p2732Var = "thunk from >" -var p2732 = &p2732Var -var p2741Var = "thunk from >>" -var p2741 = &p2741Var -var p2747Var = "function " -var p2747 = &p2747Var -var p2753Var = "thunk from >" -var p2753 = &p2753Var -var p2767Var = "function " -var p2767 = &p2767Var -var p2780Var = "thunk from >" +var p2417Var = "thunk from >>" +var p2417 = &p2417Var +var p2446Var = "thunk from >" +var p2446 = &p2446Var +var p2456Var = "thunk from >" +var p2456 = &p2456Var +var p2491Var = "thunk from >" +var p2491 = &p2491Var +var p2526Var = "thunk from >" +var p2526 = &p2526Var +var p2554Var = "function " +var p2554 = &p2554Var +var p2558Var = "thunk from >" +var p2558 = &p2558Var +var p2572Var = "thunk from >" +var p2572 = &p2572Var +var p2587Var = "thunk from >" +var p2587 = &p2587Var +var p2605Var = "thunk from >" +var p2605 = &p2605Var +var p2609Var = "thunk from >>" +var p2609 = &p2609Var +var p2632Var = "function " +var p2632 = &p2632Var +var p2640Var = "thunk from >" +var p2640 = &p2640Var +var p2646Var = "function " +var p2646 = &p2646Var +var p2652Var = "thunk from >>" +var p2652 = &p2652Var +var p2669Var = "function " +var p2669 = &p2669Var +var p2673Var = "thunk from >" +var p2673 = &p2673Var +var p2684Var = "thunk from >" +var p2684 = &p2684Var +var p2697Var = "thunk from >" +var p2697 = &p2697Var +var p2711Var = "thunk from >" +var p2711 = &p2711Var +var p2723Var = "thunk from >" +var p2723 = &p2723Var +var p2740Var = "thunk from >" +var p2740 = &p2740Var +var p2754Var = "thunk from >" +var p2754 = &p2754Var +var p2780Var = "function " var p2780 = &p2780Var -var p2797Var = "thunk from >" -var p2797 = &p2797Var -var p2813Var = "thunk from >" -var p2813 = &p2813Var -var p2830Var = "thunk from >" -var p2830 = &p2830Var -var p2862Var = "object " -var p2862 = &p2862Var -var p2868Var = "thunk from >" +var p2784Var = "thunk from >" +var p2784 = &p2784Var +var p2798Var = "thunk from >" +var p2798 = &p2798Var +var p2816Var = "thunk from >" +var p2816 = &p2816Var +var p2829Var = "thunk from >" +var p2829 = &p2829Var +var p2844Var = "thunk from >" +var p2844 = &p2844Var +var p2864Var = "thunk from >" +var p2864 = &p2864Var +var p2868Var = "thunk from >>" var p2868 = &p2868Var -var p2885Var = "thunk from >" -var p2885 = &p2885Var -var p2893Var = "function " -var p2893 = &p2893Var -var p2906Var = "thunk from >" -var p2906 = &p2906Var -var p2923Var = "thunk from >" -var p2923 = &p2923Var -var p2937Var = "thunk from >" -var p2937 = &p2937Var -var p2949Var = "thunk from >" -var p2949 = &p2949Var -var p2958Var = "thunk from >>" -var p2958 = &p2958Var -var p2967Var = "thunk from >>>" -var p2967 = &p2967Var -var p2973Var = "function " -var p2973 = &p2973Var -var p2979Var = "thunk from >" -var p2979 = &p2979Var -var p2997Var = "thunk from >" -var p2997 = &p2997Var -var p3009Var = "thunk from >" -var p3009 = &p3009Var -var p3019Var = "thunk from >>" -var p3019 = &p3019Var -var p3028Var = "thunk from >>>" -var p3028 = &p3028Var -var p3034Var = "function " +var p2874Var = "function " +var p2874 = &p2874Var +var p2879Var = "thunk from >" +var p2879 = &p2879Var +var p2904Var = "function " +var p2904 = &p2904Var +var p2908Var = "thunk from >" +var p2908 = &p2908Var +var p2922Var = "thunk from >" +var p2922 = &p2922Var +var p2940Var = "thunk from >" +var p2940 = &p2940Var +var p2953Var = "thunk from >" +var p2953 = &p2953Var +var p2968Var = "thunk from >" +var p2968 = &p2968Var +var p2988Var = "thunk from >" +var p2988 = &p2988Var +var p2992Var = "thunk from >>" +var p2992 = &p2992Var +var p2998Var = "function " +var p2998 = &p2998Var +var p3002Var = "thunk from >" +var p3002 = &p3002Var +var p3030Var = "function " +var p3030 = &p3030Var +var p3034Var = "thunk from >" var p3034 = &p3034Var -var p3040Var = "thunk from >" -var p3040 = &p3040Var -var p3061Var = "thunk from >" -var p3061 = &p3061Var -var p3069Var = "function " -var p3069 = &p3069Var -var p3073Var = "thunk from >" -var p3073 = &p3073Var -var p3078Var = "function " -var p3078 = &p3078Var -var p3093Var = "thunk from >" -var p3093 = &p3093Var -var p3117Var = "thunk from >" -var p3117 = &p3117Var -var p3142Var = "thunk from >" -var p3142 = &p3142Var -var p3157Var = "thunk from >" -var p3157 = &p3157Var -var p3175Var = "thunk from >" -var p3175 = &p3175Var -var p3184Var = "thunk from >>" -var p3184 = &p3184Var -var p3197Var = "thunk from >>" -var p3197 = &p3197Var -var p3215Var = "thunk from >" -var p3215 = &p3215Var -var p3241Var = "thunk from >" -var p3241 = &p3241Var -var p3277Var = "thunk from >" +var p3048Var = "thunk from >" +var p3048 = &p3048Var +var p3065Var = "thunk from >" +var p3065 = &p3065Var +var p3079Var = "thunk from >" +var p3079 = &p3079Var +var p3109Var = "object " +var p3109 = &p3109Var +var p3113Var = "thunk from >" +var p3113 = &p3113Var +var p3135Var = "thunk from >" +var p3135 = &p3135Var +var p3156Var = "function " +var p3156 = &p3156Var +var p3160Var = "thunk from >" +var p3160 = &p3160Var +var p3174Var = "thunk from >" +var p3174 = &p3174Var +var p3190Var = "thunk from >" +var p3190 = &p3190Var +var p3206Var = "thunk from >" +var p3206 = &p3206Var +var p3214Var = "thunk from >>" +var p3214 = &p3214Var +var p3218Var = "thunk from >>>" +var p3218 = &p3218Var +var p3224Var = "function " +var p3224 = &p3224Var +var p3229Var = "thunk from >" +var p3229 = &p3229Var +var p3248Var = "thunk from >" +var p3248 = &p3248Var +var p3260Var = "thunk from >" +var p3260 = &p3260Var +var p3273Var = "thunk from >>" +var p3273 = &p3273Var +var p3277Var = "thunk from >>>" var p3277 = &p3277Var -var p3294Var = "thunk from >" -var p3294 = &p3294Var +var p3283Var = "function " +var p3283 = &p3283Var +var p3288Var = "thunk from >" +var p3288 = &p3288Var var p3308Var = "thunk from >" var p3308 = &p3308Var -var p3317Var = "thunk from >" -var p3317 = &p3317Var -var p3334Var = "thunk from >" -var p3334 = &p3334Var -var p3343Var = "thunk from >" -var p3343 = &p3343Var -var p3364Var = "thunk from >" +var p3335Var = "function " +var p3335 = &p3335Var +var p3339Var = "thunk from >" +var p3339 = &p3339Var +var p3364Var = "thunk from >" var p3364 = &p3364Var -var p3371Var = "function " -var p3371 = &p3371Var -var p3381Var = "thunk from >" -var p3381 = &p3381Var -var p3389Var = "thunk from >>" -var p3389 = &p3389Var -var p3396Var = "function " -var p3396 = &p3396Var -var p3407Var = "thunk from >" -var p3407 = &p3407Var -var p3424Var = "thunk from >" -var p3424 = &p3424Var -var p3436Var = "thunk from >" -var p3436 = &p3436Var -var p3452Var = "thunk from >>" -var p3452 = &p3452Var -var p3461Var = "thunk from >>>" -var p3461 = &p3461Var -var p3487Var = "thunk from >" -var p3487 = &p3487Var -var p3498Var = "function " -var p3498 = &p3498Var -var p3502Var = "thunk from >" -var p3502 = &p3502Var -var p3508Var = "function " -var p3508 = &p3508Var -var p3521Var = "thunk from >" -var p3521 = &p3521Var -var p3528Var = "thunk from >" -var p3528 = &p3528Var -var p3547Var = "thunk from >" -var p3547 = &p3547Var -var p3552Var = "function " -var p3552 = &p3552Var -var p3567Var = "thunk from >" -var p3567 = &p3567Var -var p3578Var = "thunk from >" -var p3578 = &p3578Var -var p3599Var = "thunk from >" -var p3599 = &p3599Var -var p3619Var = "object " -var p3619 = &p3619Var -var p3634Var = "thunk from >" +var p3386Var = "thunk from >" +var p3386 = &p3386Var +var p3398Var = "thunk from >" +var p3398 = &p3398Var +var p3421Var = "thunk from >" +var p3421 = &p3421Var +var p3425Var = "thunk from >>" +var p3425 = &p3425Var +var p3439Var = "thunk from >>" +var p3439 = &p3439Var +var p3458Var = "thunk from >" +var p3458 = &p3458Var +var p3483Var = "thunk from >" +var p3483 = &p3483Var +var p3516Var = "thunk from >" +var p3516 = &p3516Var +var p3525Var = "function " +var p3525 = &p3525Var +var p3529Var = "thunk from >" +var p3529 = &p3529Var +var p3543Var = "thunk from >" +var p3543 = &p3543Var +var p3559Var = "thunk from >" +var p3559 = &p3559Var +var p3568Var = "thunk from >" +var p3568 = &p3568Var +var p3583Var = "thunk from >" +var p3583 = &p3583Var +var p3592Var = "thunk from >" +var p3592 = &p3592Var +var p3608Var = "thunk from >" +var p3608 = &p3608Var +var p3634Var = "function " var p3634 = &p3634Var -var p3649Var = "object " -var p3649 = &p3649Var -var p3660Var = "thunk from >" -var p3660 = &p3660Var -var p3665Var = "function " -var p3665 = &p3665Var -var p3669Var = "thunk from >" -var p3669 = &p3669Var -var p3675Var = "function " -var p3675 = &p3675Var -var p3688Var = "thunk from >" -var p3688 = &p3688Var -var p3695Var = "thunk from >" -var p3695 = &p3695Var -var p3716Var = "thunk from >" -var p3716 = &p3716Var -var p3731Var = "object " -var p3731 = &p3731Var -var p3747Var = "thunk from >" -var p3747 = &p3747Var -var p3762Var = "object " -var p3762 = &p3762Var -var p3778Var = "thunk from >" -var p3778 = &p3778Var -var p3793Var = "object " -var p3793 = &p3793Var -var p3809Var = "thunk from >" -var p3809 = &p3809Var -var p3824Var = "object " -var p3824 = &p3824Var -var p3840Var = "thunk from >" -var p3840 = &p3840Var -var p3855Var = "object " -var p3855 = &p3855Var -var p3863Var = "object " -var p3863 = &p3863Var -var p3877Var = "thunk from >" -var p3877 = &p3877Var -var p3885Var = "object " -var p3885 = &p3885Var -var p3899Var = "thunk from >" -var p3899 = &p3899Var -var p3904Var = "function " -var p3904 = &p3904Var -var p3921Var = "thunk from >" -var p3921 = &p3921Var -var p3938Var = "object " -var p3938 = &p3938Var -var p3951Var = "thunk from >" +var p3638Var = "thunk from >" +var p3638 = &p3638Var +var p3643Var = "thunk from >>" +var p3643 = &p3643Var +var p3658Var = "function " +var p3658 = &p3658Var +var p3662Var = "thunk from >" +var p3662 = &p3662Var +var p3677Var = "thunk from >" +var p3677 = &p3677Var +var p3689Var = "thunk from >" +var p3689 = &p3689Var +var p3705Var = "thunk from >>" +var p3705 = &p3705Var +var p3709Var = "thunk from >>>" +var p3709 = &p3709Var +var p3736Var = "thunk from >" +var p3736 = &p3736Var +var p3761Var = "function " +var p3761 = &p3761Var +var p3765Var = "thunk from >" +var p3765 = &p3765Var +var p3775Var = "thunk from >" +var p3775 = &p3775Var +var p3796Var = "function " +var p3796 = &p3796Var +var p3800Var = "thunk from >" +var p3800 = &p3800Var +var p3813Var = "thunk from >" +var p3813 = &p3813Var +var p3830Var = "thunk from >" +var p3830 = &p3830Var +var p3849Var = "object " +var p3849 = &p3849Var +var p3867Var = "thunk from >" +var p3867 = &p3867Var +var p3875Var = "thunk from >" +var p3875 = &p3875Var +var p3890Var = "object " +var p3890 = &p3890Var +var p3905Var = "thunk from >" +var p3905 = &p3905Var +var p3920Var = "function " +var p3920 = &p3920Var +var p3924Var = "thunk from >" +var p3924 = &p3924Var +var p3934Var = "thunk from >" +var p3934 = &p3934Var +var p3951Var = "thunk from >" var p3951 = &p3951Var -var p3957Var = "function " -var p3957 = &p3957Var -var p3970Var = "thunk from >" -var p3970 = &p3970Var -var p3977Var = "thunk from >" -var p3977 = &p3977Var -var p3998Var = "thunk from >" -var p3998 = &p3998Var -var p4028Var = "thunk from >" -var p4028 = &p4028Var -var p4058Var = "thunk from >" -var p4058 = &p4058Var -var p4088Var = "thunk from >" +var p3963Var = "object " +var p3963 = &p3963Var +var p3980Var = "thunk from >" +var p3980 = &p3980Var +var p3992Var = "object " +var p3992 = &p3992Var +var p4009Var = "thunk from >" +var p4009 = &p4009Var +var p4021Var = "object " +var p4021 = &p4021Var +var p4038Var = "thunk from >" +var p4038 = &p4038Var +var p4050Var = "object " +var p4050 = &p4050Var +var p4067Var = "thunk from >" +var p4067 = &p4067Var +var p4079Var = "object " +var p4079 = &p4079Var +var p4088Var = "object " var p4088 = &p4088Var -var p4118Var = "thunk from >" -var p4118 = &p4118Var -var p4148Var = "thunk from >" -var p4148 = &p4148Var -var p4178Var = "thunk from >" -var p4178 = &p4178Var -var p4208Var = "thunk from >" -var p4208 = &p4208Var -var p4238Var = "thunk from >" -var p4238 = &p4238Var -var p4268Var = "thunk from >" -var p4268 = &p4268Var -var p4290Var = "object " -var p4290 = &p4290Var -var p4304Var = "thunk from >" -var p4304 = &p4304Var -var p4314Var = "thunk from >" -var p4314 = &p4314Var -var p4320Var = "function " -var p4320 = &p4320Var -var p4333Var = "thunk from >" -var p4333 = &p4333Var -var p4340Var = "thunk from >" -var p4340 = &p4340Var -var p4361Var = "thunk from >" -var p4361 = &p4361Var -var p4375Var = "object " -var p4375 = &p4375Var -var p4387Var = "thunk from >" -var p4387 = &p4387Var -var p4393Var = "function " -var p4393 = &p4393Var -var p4406Var = "thunk from >" -var p4406 = &p4406Var -var p4413Var = "thunk from >" -var p4413 = &p4413Var -var p4458Var = "thunk from >" -var p4458 = &p4458Var -var p4464Var = "function " -var p4464 = &p4464Var -var p4477Var = "thunk from >" -var p4477 = &p4477Var -var p4484Var = "thunk from >" -var p4484 = &p4484Var -var p4518Var = "object " -var p4518 = &p4518Var -var p4541Var = "object " -var p4541 = &p4541Var -var p4564Var = "object " -var p4564 = &p4564Var -var p4587Var = "object " -var p4587 = &p4587Var +var p4112Var = "thunk from >" +var p4112 = &p4112Var +var p4117Var = "function " +var p4117 = &p4117Var +var p4121Var = "thunk from >" +var p4121 = &p4121Var +var p4129Var = "object " +var p4129 = &p4129Var +var p4142Var = "thunk from >" +var p4142 = &p4142Var +var p4151Var = "function " +var p4151 = &p4151Var +var p4168Var = "thunk from >" +var p4168 = &p4168Var +var p4180Var = "object " +var p4180 = &p4180Var +var p4198Var = "function " +var p4198 = &p4198Var +var p4202Var = "thunk from >" +var p4202 = &p4202Var +var p4212Var = "thunk from >" +var p4212 = &p4212Var +var p4229Var = "thunk from >" +var p4229 = &p4229Var +var p4257Var = "thunk from >" +var p4257 = &p4257Var +var p4285Var = "thunk from >" +var p4285 = &p4285Var +var p4313Var = "thunk from >" +var p4313 = &p4313Var +var p4341Var = "thunk from >" +var p4341 = &p4341Var +var p4369Var = "thunk from >" +var p4369 = &p4369Var +var p4397Var = "thunk from >" +var p4397 = &p4397Var +var p4425Var = "thunk from >" +var p4425 = &p4425Var +var p4453Var = "thunk from >" +var p4453 = &p4453Var +var p4481Var = "thunk from >" +var p4481 = &p4481Var +var p4501Var = "object " +var p4501 = &p4501Var +var p4535Var = "thunk from >" +var p4535 = &p4535Var +var p4543Var = "thunk from >" +var p4543 = &p4543Var +var p4555Var = "thunk from >" +var p4555 = &p4555Var +var p4567Var = "function " +var p4567 = &p4567Var +var p4571Var = "thunk from >" +var p4571 = &p4571Var +var p4581Var = "thunk from >" +var p4581 = &p4581Var +var p4598Var = "thunk from >" +var p4598 = &p4598Var var p4610Var = "object " var p4610 = &p4610Var -var p4633Var = "object " -var p4633 = &p4633Var -var p4656Var = "object " -var p4656 = &p4656Var -var p4679Var = "object " -var p4679 = &p4679Var -var p4702Var = "object " -var p4702 = &p4702Var -var p4725Var = "object " -var p4725 = &p4725Var -var p4748Var = "object " -var p4748 = &p4748Var +var p4625Var = "thunk from >" +var p4625 = &p4625Var +var p4637Var = "function " +var p4637 = &p4637Var +var p4641Var = "thunk from >" +var p4641 = &p4641Var +var p4651Var = "thunk from >" +var p4651 = &p4651Var +var p4694Var = "thunk from >" +var p4694 = &p4694Var +var p4706Var = "function " +var p4706 = &p4706Var +var p4710Var = "thunk from >" +var p4710 = &p4710Var +var p4720Var = "thunk from >" +var p4720 = &p4720Var +var p4750Var = "object " +var p4750 = &p4750Var var p4771Var = "object " var p4771 = &p4771Var -var p4794Var = "object " -var p4794 = &p4794Var -var p4820Var = "thunk from >" -var p4820 = &p4820Var -var p4826Var = "function " -var p4826 = &p4826Var -var p4839Var = "thunk from >" -var p4839 = &p4839Var -var p4846Var = "thunk from >" -var p4846 = &p4846Var -var p4852Var = "thunk from from >>" -var p4852 = &p4852Var -var p4861Var = "thunk from >" -var p4861 = &p4861Var -var p4867Var = "thunk from from >>" -var p4867 = &p4867Var -var p4879Var = "thunk from >" -var p4879 = &p4879Var -var p4885Var = "thunk from from >>" -var p4885 = &p4885Var -var p4897Var = "thunk from >" +var p4792Var = "object " +var p4792 = &p4792Var +var p4813Var = "object " +var p4813 = &p4813Var +var p4834Var = "object " +var p4834 = &p4834Var +var p4855Var = "object " +var p4855 = &p4855Var +var p4876Var = "object " +var p4876 = &p4876Var +var p4897Var = "object " var p4897 = &p4897Var -var p4903Var = "thunk from from >>" -var p4903 = &p4903Var -var p4915Var = "thunk from >" -var p4915 = &p4915Var -var p4921Var = "thunk from from >>" -var p4921 = &p4921Var -var p4933Var = "thunk from >" -var p4933 = &p4933Var -var p4939Var = "thunk from from >>" +var p4918Var = "object " +var p4918 = &p4918Var +var p4939Var = "object " var p4939 = &p4939Var -var p4949Var = "object " -var p4949 = &p4949Var var p4960Var = "object " var p4960 = &p4960Var -var p5003Var = "thunk from >" -var p5003 = &p5003Var -var p5008Var = "function " -var p5008 = &p5008Var -var p5023Var = "thunk from >" -var p5023 = &p5023Var -var p5034Var = "thunk from >" -var p5034 = &p5034Var -var p5042Var = "thunk from >" -var p5042 = &p5042Var -var p5061Var = "thunk from >" -var p5061 = &p5061Var -var p5067Var = "thunk from from >>" -var p5067 = &p5067Var -var p5081Var = "thunk from >" -var p5081 = &p5081Var -var p5096Var = "thunk from >>" +var p4981Var = "object " +var p4981 = &p4981Var +var p5002Var = "object " +var p5002 = &p5002Var +var p5053Var = "thunk from >" +var p5053 = &p5053Var +var p5065Var = "function " +var p5065 = &p5065Var +var p5069Var = "thunk from >" +var p5069 = &p5069Var +var p5079Var = "thunk from >" +var p5079 = &p5079Var +var p5083Var = "thunk from from >>" +var p5083 = &p5083Var +var p5092Var = "thunk from >" +var p5092 = &p5092Var +var p5096Var = "thunk from from >>" var p5096 = &p5096Var -var p5112Var = "thunk from >" +var p5108Var = "thunk from >" +var p5108 = &p5108Var +var p5112Var = "thunk from from >>" var p5112 = &p5112Var -var p5132Var = "thunk from >" -var p5132 = &p5132Var -var p5138Var = "thunk from from >>" -var p5138 = &p5138Var -var p5152Var = "thunk from >" -var p5152 = &p5152Var -var p5156Var = "function " +var p5124Var = "thunk from >" +var p5124 = &p5124Var +var p5128Var = "thunk from from >>" +var p5128 = &p5128Var +var p5140Var = "thunk from >" +var p5140 = &p5140Var +var p5144Var = "thunk from from >>" +var p5144 = &p5144Var +var p5156Var = "thunk from >" var p5156 = &p5156Var -var p5160Var = "thunk from >" +var p5160Var = "thunk from from >>" var p5160 = &p5160Var -var p5165Var = "function " -var p5165 = &p5165Var -var p5183Var = "thunk from >" -var p5183 = &p5183Var -var p5201Var = "thunk from >" -var p5201 = &p5201Var -var p5210Var = "thunk from >" -var p5210 = &p5210Var -var p5214Var = "function " -var p5214 = &p5214Var -var p5223Var = "thunk from >" -var p5223 = &p5223Var -var p5236Var = "thunk from >>" -var p5236 = &p5236Var -var p5248Var = "thunk from >" -var p5248 = &p5248Var -var p5252Var = "function " -var p5252 = &p5252Var -var p5263Var = "thunk from >" -var p5263 = &p5263Var -var p5276Var = "thunk from >>" -var p5276 = &p5276Var -var p5298Var = "thunk from >" -var p5298 = &p5298Var -var p5304Var = "function " -var p5304 = &p5304Var -var p5309Var = "thunk from >" -var p5309 = &p5309Var -var p5324Var = "thunk from from >>" -var p5324 = &p5324Var -var p5329Var = "function " -var p5329 = &p5329Var -var p5349Var = "thunk from >" -var p5349 = &p5349Var -var p5358Var = "thunk from >>" -var p5358 = &p5358Var -var p5383Var = "thunk from from >>" -var p5383 = &p5383Var -var p5390Var = "thunk from >" -var p5390 = &p5390Var -var p5413Var = "thunk from >" -var p5413 = &p5413Var -var p5422Var = "thunk from from >>" -var p5422 = &p5422Var -var p5431Var = "thunk from >" -var p5431 = &p5431Var -var p5437Var = "thunk from from >>" -var p5437 = &p5437Var -var p5468Var = "thunk from >" -var p5468 = &p5468Var -var p5473Var = "function " -var p5473 = &p5473Var -var p5477Var = "thunk from >" -var p5477 = &p5477Var -var p5482Var = "thunk from from >>" -var p5482 = &p5482Var -var p5500Var = "thunk from from >>" -var p5500 = &p5500Var -var p5510Var = "thunk from from >>" -var p5510 = &p5510Var -var p5521Var = "thunk from >" +var p5172Var = "object " +var p5172 = &p5172Var +var p5182Var = "object " +var p5182 = &p5182Var +var p5233Var = "thunk from >" +var p5233 = &p5233Var +var p5245Var = "function " +var p5245 = &p5245Var +var p5249Var = "thunk from >" +var p5249 = &p5249Var +var p5259Var = "thunk from >" +var p5259 = &p5259Var +var p5270Var = "thunk from >" +var p5270 = &p5270Var +var p5285Var = "thunk from >" +var p5285 = &p5285Var +var p5289Var = "thunk from from >>" +var p5289 = &p5289Var +var p5303Var = "thunk from >" +var p5303 = &p5303Var +var p5314Var = "thunk from >>" +var p5314 = &p5314Var +var p5335Var = "thunk from >" +var p5335 = &p5335Var +var p5360Var = "thunk from >" +var p5360 = &p5360Var +var p5366Var = "thunk from >" +var p5366 = &p5366Var +var p5370Var = "thunk from from >>" +var p5370 = &p5370Var +var p5385Var = "function " +var p5385 = &p5385Var +var p5399Var = "thunk from >" +var p5399 = &p5399Var +var p5414Var = "thunk from >" +var p5414 = &p5414Var +var p5419Var = "function " +var p5419 = &p5419Var +var p5423Var = "thunk from >" +var p5423 = &p5423Var +var p5430Var = "thunk from >" +var p5430 = &p5430Var +var p5436Var = "function " +var p5436 = &p5436Var +var p5449Var = "thunk from >" +var p5449 = &p5449Var +var p5453Var = "thunk from >>" +var p5453 = &p5453Var +var p5464Var = "thunk from >" +var p5464 = &p5464Var +var p5472Var = "function " +var p5472 = &p5472Var +var p5481Var = "thunk from >" +var p5481 = &p5481Var +var p5485Var = "thunk from >>" +var p5485 = &p5485Var +var p5499Var = "thunk from >" +var p5499 = &p5499Var +var p5509Var = "thunk from >" +var p5509 = &p5509Var +var p5521Var = "function " var p5521 = &p5521Var -var p5530Var = "thunk from from >>" -var p5530 = &p5530Var -var p5537Var = "thunk from >" -var p5537 = &p5537Var -var p5542Var = "function " -var p5542 = &p5542Var -var p5561Var = "thunk from >" -var p5561 = &p5561Var -var p5570Var = "thunk from >>" -var p5570 = &p5570Var -var p5595Var = "thunk from >" -var p5595 = &p5595Var -var p5608Var = "thunk from from >>" -var p5608 = &p5608Var -var p5618Var = "thunk from from >>" -var p5618 = &p5618Var -var p5627Var = "thunk from from >>>" -var p5627 = &p5627Var -var p5634Var = "thunk from >" -var p5634 = &p5634Var -var p5644Var = "thunk from >" -var p5644 = &p5644Var -var p5676Var = "thunk from >" +var p5551Var = "thunk from >" +var p5551 = &p5551Var +var p5556Var = "thunk from >>" +var p5556 = &p5556Var +var p5568Var = "thunk from from >>" +var p5568 = &p5568Var +var p5576Var = "thunk from from >>" +var p5576 = &p5576Var +var p5590Var = "thunk from >" +var p5590 = &p5590Var +var p5612Var = "thunk from >" +var p5612 = &p5612Var +var p5616Var = "thunk from from >>" +var p5616 = &p5616Var +var p5625Var = "thunk from >" +var p5625 = &p5625Var +var p5629Var = "thunk from from >>" +var p5629 = &p5629Var +var p5637Var = "function " +var p5637 = &p5637Var +var p5666Var = "thunk from >" +var p5666 = &p5666Var +var p5676Var = "thunk from >" var p5676 = &p5676Var -var p5685Var = "thunk from from >>" -var p5685 = &p5685Var -var p5694Var = "thunk from >" -var p5694 = &p5694Var -var p5714Var = "thunk from from >>" -var p5714 = &p5714Var -var p5744Var = "thunk from >" -var p5744 = &p5744Var -var p5749Var = "function " -var p5749 = &p5749Var -var p5753Var = "thunk from >" -var p5753 = &p5753Var -var p5758Var = "function " -var p5758 = &p5758Var -var p5787Var = "thunk from >" -var p5787 = &p5787Var -var p5805Var = "thunk from >" -var p5805 = &p5805Var -var p5820Var = "thunk from >" -var p5820 = &p5820Var -var p5833Var = "thunk from >>" +var p5681Var = "thunk from from >>" +var p5681 = &p5681Var +var p5690Var = "thunk from from >>" +var p5690 = &p5690Var +var p5701Var = "thunk from from >>" +var p5701 = &p5701Var +var p5720Var = "thunk from >" +var p5720 = &p5720Var +var p5724Var = "thunk from from >>" +var p5724 = &p5724Var +var p5733Var = "function " +var p5733 = &p5733Var +var p5765Var = "thunk from >" +var p5765 = &p5765Var +var p5770Var = "thunk from >>" +var p5770 = &p5770Var +var p5781Var = "thunk from >" +var p5781 = &p5781Var +var p5788Var = "thunk from >" +var p5788 = &p5788Var +var p5797Var = "thunk from from >>" +var p5797 = &p5797Var +var p5811Var = "thunk from from >>" +var p5811 = &p5811Var +var p5815Var = "thunk from from >>>" +var p5815 = &p5815Var +var p5824Var = "thunk from >" +var p5824 = &p5824Var +var p5833Var = "thunk from >" var p5833 = &p5833Var -var p5842Var = "thunk from >" -var p5842 = &p5842Var -var p5847Var = "function " -var p5847 = &p5847Var -var p5851Var = "thunk from >" -var p5851 = &p5851Var -var p5860Var = "thunk from from >>" -var p5860 = &p5860Var -var p5867Var = "thunk from >" -var p5867 = &p5867Var -var p5876Var = "thunk from from >>" -var p5876 = &p5876Var -var p5887Var = "thunk from >" -var p5887 = &p5887Var -var p5896Var = "thunk from from >>" -var p5896 = &p5896Var -var p5904Var = "thunk from >" +var p5865Var = "thunk from >" +var p5865 = &p5865Var +var p5869Var = "thunk from from >>" +var p5869 = &p5869Var +var p5879Var = "thunk from >" +var p5879 = &p5879Var +var p5883Var = "thunk from from >>" +var p5883 = &p5883Var +var p5904Var = "function " var p5904 = &p5904Var -var p5917Var = "thunk from from >>" -var p5917 = &p5917Var -var p5927Var = "thunk from >" -var p5927 = &p5927Var -var p5938Var = "thunk from from >>" -var p5938 = &p5938Var -var p5949Var = "thunk from from >>" -var p5949 = &p5949Var -var p5968Var = "thunk from >" -var p5968 = &p5968Var -var p5977Var = "thunk from from >>" -var p5977 = &p5977Var -var p5986Var = "thunk from >" -var p5986 = &p5986Var -var p6006Var = "thunk from >" +var p5940Var = "thunk from >" +var p5940 = &p5940Var +var p5951Var = "function " +var p5951 = &p5951Var +var p5973Var = "thunk from >" +var p5973 = &p5973Var +var p5990Var = "thunk from >" +var p5990 = &p5990Var +var p6006Var = "thunk from >" var p6006 = &p6006Var -var p6021Var = "thunk from >" -var p6021 = &p6021Var -var p6027Var = "thunk from from >>" +var p6011Var = "function " +var p6011 = &p6011Var +var p6015Var = "thunk from >" +var p6015 = &p6015Var +var p6027Var = "thunk from >>" var p6027 = &p6027Var -var p6080Var = "thunk from >" -var p6080 = &p6080Var -var p6086Var = "thunk from from >>" -var p6086 = &p6086Var -var p6116Var = "thunk from >" -var p6116 = &p6116Var -var p6130Var = "thunk from >" -var p6130 = &p6130Var -var p6135Var = "function " -var p6135 = &p6135Var -var p6139Var = "thunk from >" -var p6139 = &p6139Var -var p6156Var = "thunk from from >>" -var p6156 = &p6156Var -var p6167Var = "thunk from from >>>" -var p6167 = &p6167Var -var p6176Var = "thunk from from >>>>" -var p6176 = &p6176Var -var p6187Var = "thunk from from >>>" -var p6187 = &p6187Var -var p6193Var = "thunk from >" -var p6193 = &p6193Var -var p6208Var = "thunk from from >>" -var p6208 = &p6208Var -var p6222Var = "thunk from from >>>" -var p6222 = &p6222Var -var p6235Var = "thunk from >" -var p6235 = &p6235Var -var p6262Var = "thunk from from >>" -var p6262 = &p6262Var -var p6283Var = "thunk from from >>" -var p6283 = &p6283Var -var p6291Var = "thunk from >" -var p6291 = &p6291Var -var p6304Var = "thunk from from >>" -var p6304 = &p6304Var -var p6315Var = "thunk from >" -var p6315 = &p6315Var -var p6337Var = "thunk from >" -var p6337 = &p6337Var -var p6342Var = "function " -var p6342 = &p6342Var -var p6346Var = "thunk from >" -var p6346 = &p6346Var -var p6356Var = "thunk from >" -var p6356 = &p6356Var -var p6371Var = "thunk from >" -var p6371 = &p6371Var -var p6386Var = "thunk from >" -var p6386 = &p6386Var -var p6426Var = "thunk from >" -var p6426 = &p6426Var -var p6453Var = "thunk from >" -var p6453 = &p6453Var -var p6479Var = "thunk from >" +var p6035Var = "thunk from >" +var p6035 = &p6035Var +var p6047Var = "thunk from >" +var p6047 = &p6047Var +var p6051Var = "thunk from from >>" +var p6051 = &p6051Var +var p6061Var = "thunk from >" +var p6061 = &p6061Var +var p6065Var = "thunk from from >>" +var p6065 = &p6065Var +var p6075Var = "thunk from >" +var p6075 = &p6075Var +var p6079Var = "thunk from from >>" +var p6079 = &p6079Var +var p6087Var = "thunk from >" +var p6087 = &p6087Var +var p6099Var = "thunk from from >>" +var p6099 = &p6099Var +var p6112Var = "thunk from >" +var p6112 = &p6112Var +var p6117Var = "thunk from from >>" +var p6117 = &p6117Var +var p6131Var = "thunk from from >>" +var p6131 = &p6131Var +var p6149Var = "thunk from >" +var p6149 = &p6149Var +var p6153Var = "thunk from from >>" +var p6153 = &p6153Var +var p6165Var = "thunk from >" +var p6165 = &p6165Var +var p6181Var = "thunk from >" +var p6181 = &p6181Var +var p6194Var = "thunk from >" +var p6194 = &p6194Var +var p6199Var = "thunk from from >>" +var p6199 = &p6199Var +var p6218Var = "function " +var p6218 = &p6218Var +var p6247Var = "thunk from >" +var p6247 = &p6247Var +var p6251Var = "thunk from from >>" +var p6251 = &p6251Var +var p6273Var = "thunk from >" +var p6273 = &p6273Var +var p6320Var = "thunk from >" +var p6320 = &p6320Var +var p6330Var = "thunk from >" +var p6330 = &p6330Var +var p6348Var = "thunk from from >>" +var p6348 = &p6348Var +var p6352Var = "thunk from from >>>" +var p6352 = &p6352Var +var p6366Var = "thunk from from >>>" +var p6366 = &p6366Var +var p6370Var = "thunk from from >>>>" +var p6370 = &p6370Var +var p6382Var = "thunk from >" +var p6382 = &p6382Var +var p6387Var = "thunk from from >>" +var p6387 = &p6387Var +var p6399Var = "thunk from from >>>" +var p6399 = &p6399Var +var p6423Var = "thunk from >" +var p6423 = &p6423Var +var p6436Var = "thunk from from >>" +var p6436 = &p6436Var +var p6461Var = "thunk from from >>" +var p6461 = &p6461Var +var p6479Var = "thunk from >" var p6479 = &p6479Var -var p6489Var = "thunk from >" -var p6489 = &p6489Var -var p6504Var = "thunk from >>" -var p6504 = &p6504Var -var p6513Var = "thunk from >>>" -var p6513 = &p6513Var -var p6556Var = "thunk from >" -var p6556 = &p6556Var -var p6582Var = "thunk from >" -var p6582 = &p6582Var -var p6590Var = "thunk from >" -var p6590 = &p6590Var -var p6606Var = "thunk from >" -var p6606 = &p6606Var -var p6621Var = "thunk from >>" -var p6621 = &p6621Var -var p6630Var = "thunk from >>>" -var p6630 = &p6630Var -var p6674Var = "thunk from >" -var p6674 = &p6674Var -var p6700Var = "thunk from >" -var p6700 = &p6700Var -var p6710Var = "thunk from >" -var p6710 = &p6710Var -var p6719Var = "thunk from >>" -var p6719 = &p6719Var -var p6776Var = "thunk from >" -var p6776 = &p6776Var -var p6802Var = "thunk from >" -var p6802 = &p6802Var -var p6812Var = "thunk from >" -var p6812 = &p6812Var -var p6865Var = "thunk from >" -var p6865 = &p6865Var -var p6891Var = "thunk from >" -var p6891 = &p6891Var -var p6901Var = "thunk from >" -var p6901 = &p6901Var -var p6960Var = "thunk from >" -var p6960 = &p6960Var -var p6986Var = "thunk from >" -var p6986 = &p6986Var -var p6994Var = "thunk from >" -var p6994 = &p6994Var -var p7003Var = "thunk from from >>" -var p7003 = &p7003Var -var p7014Var = "thunk from from >>>" -var p7014 = &p7014Var -var p7023Var = "thunk from from >>>>" -var p7023 = &p7023Var -var p7034Var = "thunk from from >>>" -var p7034 = &p7034Var -var p7059Var = "thunk from >" -var p7059 = &p7059Var -var p7106Var = "thunk from >" -var p7106 = &p7106Var -var p7115Var = "thunk from from >>" -var p7115 = &p7115Var -var p7128Var = "thunk from >" -var p7128 = &p7128Var -var p7189Var = "thunk from >" -var p7189 = &p7189Var -var p7202Var = "thunk from >" -var p7202 = &p7202Var +var p6483Var = "thunk from from >>" +var p6483 = &p6483Var +var p6491Var = "function " +var p6491 = &p6491Var +var p6499Var = "thunk from >" +var p6499 = &p6499Var +var p6524Var = "thunk from >" +var p6524 = &p6524Var +var p6535Var = "thunk from >" +var p6535 = &p6535Var +var p6542Var = "thunk from >" +var p6542 = &p6542Var +var p6555Var = "thunk from >" +var p6555 = &p6555Var +var p6572Var = "thunk from >" +var p6572 = &p6572Var +var p6588Var = "function " +var p6588 = &p6588Var +var p6604Var = "thunk from >" +var p6604 = &p6604Var +var p6627Var = "thunk from >" +var p6627 = &p6627Var +var p6641Var = "thunk from >" +var p6641 = &p6641Var +var p6664Var = "thunk from >" +var p6664 = &p6664Var +var p6680Var = "thunk from >>" +var p6680 = &p6680Var +var p6684Var = "thunk from >>>" +var p6684 = &p6684Var +var p6728Var = "thunk from >" +var p6728 = &p6728Var +var p6742Var = "thunk from >" +var p6742 = &p6742Var +var p6764Var = "thunk from >" +var p6764 = &p6764Var +var p6777Var = "thunk from >" +var p6777 = &p6777Var +var p6793Var = "thunk from >>" +var p6793 = &p6793Var +var p6797Var = "thunk from >>>" +var p6797 = &p6797Var +var p6844Var = "thunk from >" +var p6844 = &p6844Var +var p6858Var = "thunk from >" +var p6858 = &p6858Var +var p6883Var = "thunk from >" +var p6883 = &p6883Var +var p6887Var = "thunk from >>" +var p6887 = &p6887Var +var p6944Var = "thunk from >" +var p6944 = &p6944Var +var p6958Var = "thunk from >" +var p6958 = &p6958Var +var p6979Var = "thunk from >" +var p6979 = &p6979Var +var p7031Var = "thunk from >" +var p7031 = &p7031Var +var p7045Var = "thunk from >" +var p7045 = &p7045Var +var p7066Var = "thunk from >" +var p7066 = &p7066Var +var p7124Var = "thunk from >" +var p7124 = &p7124Var +var p7138Var = "thunk from >" +var p7138 = &p7138Var +var p7160Var = "thunk from >" +var p7160 = &p7160Var +var p7169Var = "thunk from from >>" +var p7169 = &p7169Var +var p7173Var = "thunk from from >>>" +var p7173 = &p7173Var +var p7187Var = "thunk from from >>>" +var p7187 = &p7187Var +var p7191Var = "thunk from from >>>>" +var p7191 = &p7191Var var p7218Var = "thunk from >" var p7218 = &p7218Var -var p7235Var = "thunk from >" -var p7235 = &p7235Var -var p7257Var = "thunk from >" -var p7257 = &p7257Var -var p7275Var = "thunk from >" -var p7275 = &p7275Var -var p7295Var = "thunk from >" -var p7295 = &p7295Var -var p7300Var = "function " -var p7300 = &p7300Var -var p7315Var = "thunk from >" -var p7315 = &p7315Var -var p7333Var = "thunk from >" -var p7333 = &p7333Var -var p7354Var = "thunk from >" -var p7354 = &p7354Var -var p7369Var = "thunk from >" -var p7369 = &p7369Var -var p7389Var = "thunk from >" -var p7389 = &p7389Var -var p7399Var = "thunk from >" -var p7399 = &p7399Var -var p7422Var = "thunk from >" -var p7422 = &p7422Var -var p7437Var = "object " -var p7437 = &p7437Var -var p7458Var = "thunk from >" -var p7458 = &p7458Var -var p7479Var = "thunk from >" +var p7267Var = "thunk from >" +var p7267 = &p7267Var +var p7271Var = "thunk from from >>" +var p7271 = &p7271Var +var p7284Var = "thunk from >" +var p7284 = &p7284Var +var p7351Var = "thunk from >" +var p7351 = &p7351Var +var p7364Var = "thunk from >" +var p7364 = &p7364Var +var p7378Var = "thunk from >" +var p7378 = &p7378Var +var p7393Var = "thunk from >" +var p7393 = &p7393Var +var p7410Var = "thunk from >" +var p7410 = &p7410Var +var p7430Var = "thunk from >" +var p7430 = &p7430Var +var p7479Var = "thunk from >" var p7479 = &p7479Var -var p7497Var = "object " -var p7497 = &p7497Var -var p7510Var = "thunk from >" -var p7510 = &p7510Var -var p7525Var = "object " -var p7525 = &p7525Var -var p7552Var = "thunk from >" -var p7552 = &p7552Var -var p7573Var = "thunk from >" -var p7573 = &p7573Var -var p7597Var = "object " -var p7597 = &p7597Var -var p7613Var = "thunk from >" -var p7613 = &p7613Var -var p7624Var = "thunk from >" -var p7624 = &p7624Var -var p7639Var = "thunk from from >>" -var p7639 = &p7639Var -var p7668Var = "thunk from from >>" -var p7668 = &p7668Var -var p7679Var = "thunk from >" -var p7679 = &p7679Var -var p7699Var = "thunk from from >>" -var p7699 = &p7699Var -var p7721Var = "thunk from >" -var p7721 = &p7721Var -var p7738Var = "thunk from from >>" -var p7738 = &p7738Var -var p7754Var = "thunk from from >>" -var p7754 = &p7754Var -var p7768Var = "thunk from >" -var p7768 = &p7768Var -var p7795Var = "thunk from >" -var p7795 = &p7795Var -var p7818Var = "thunk from >" -var p7818 = &p7818Var -var p7823Var = "function " -var p7823 = &p7823Var -var p7838Var = "thunk from >" -var p7838 = &p7838Var -var p7849Var = "thunk from >" -var p7849 = &p7849Var -var p7869Var = "thunk from >" -var p7869 = &p7869Var -var p7879Var = "thunk from >" -var p7879 = &p7879Var -var p7901Var = "thunk from >" +var p7491Var = "function " +var p7491 = &p7491Var +var p7495Var = "thunk from >" +var p7495 = &p7495Var +var p7511Var = "thunk from >" +var p7511 = &p7511Var +var p7532Var = "thunk from >" +var p7532 = &p7532Var +var p7551Var = "thunk from >" +var p7551 = &p7551Var +var p7567Var = "thunk from >" +var p7567 = &p7567Var +var p7577Var = "thunk from >" +var p7577 = &p7577Var +var p7600Var = "thunk from >" +var p7600 = &p7600Var +var p7612Var = "object " +var p7612 = &p7612Var +var p7627Var = "thunk from >" +var p7627 = &p7627Var +var p7648Var = "thunk from >" +var p7648 = &p7648Var +var p7671Var = "object " +var p7671 = &p7671Var +var p7686Var = "thunk from >" +var p7686 = &p7686Var +var p7698Var = "object " +var p7698 = &p7698Var +var p7716Var = "thunk from >" +var p7716 = &p7716Var +var p7743Var = "thunk from >" +var p7743 = &p7743Var +var p7772Var = "object " +var p7772 = &p7772Var +var p7788Var = "thunk from >" +var p7788 = &p7788Var +var p7799Var = "thunk from >" +var p7799 = &p7799Var +var p7803Var = "thunk from from >>" +var p7803 = &p7803Var +var p7831Var = "thunk from from >>" +var p7831 = &p7831Var +var p7848Var = "thunk from >" +var p7848 = &p7848Var +var p7863Var = "thunk from from >>" +var p7863 = &p7863Var +var p7893Var = "thunk from >" +var p7893 = &p7893Var +var p7901Var = "thunk from from >>" var p7901 = &p7901Var -var p7927Var = "thunk from >" -var p7927 = &p7927Var -var p7953Var = "thunk from >" -var p7953 = &p7953Var -var p7979Var = "thunk from >" -var p7979 = &p7979Var -var p7990Var = "thunk from from >>" -var p7990 = &p7990Var -var p8016Var = "thunk from >" -var p8016 = &p8016Var -var p8036Var = "thunk from from >>" -var p8036 = &p8036Var -var p8052Var = "thunk from >" -var p8052 = &p8052Var -var p8069Var = "thunk from from >>" -var p8069 = &p8069Var -var p8082Var = "thunk from from >>" -var p8082 = &p8082Var -var p8094Var = "thunk from >" -var p8094 = &p8094Var -var p8121Var = "thunk from >" -var p8121 = &p8121Var -var p8130Var = "thunk from >" -var p8130 = &p8130Var -var p8149Var = "thunk from >" -var p8149 = &p8149Var -var p8158Var = "thunk from >" -var p8158 = &p8158Var -var p8172Var = "thunk from >" -var p8172 = &p8172Var -var p8178Var = "thunk from >>" -var p8178 = &p8178Var -var p8189Var = "function " -var p8189 = &p8189Var -var p8193Var = "thunk from >" -var p8193 = &p8193Var -var p8198Var = "function " -var p8198 = &p8198Var -var p8216Var = "thunk from >" -var p8216 = &p8216Var -var p8226Var = "thunk from >>" -var p8226 = &p8226Var -var p8246Var = "thunk from >" -var p8246 = &p8246Var -var p8263Var = "thunk from >>" -var p8263 = &p8263Var -var p8272Var = "function " -var p8272 = &p8272Var -var p8276Var = "thunk from >" -var p8276 = &p8276Var -var p8281Var = "function " -var p8281 = &p8281Var -var p8296Var = "thunk from >" -var p8296 = &p8296Var -var p8309Var = "thunk from >" -var p8309 = &p8309Var -var p8319Var = "thunk from >>" -var p8319 = &p8319Var -var p8339Var = "thunk from >" -var p8339 = &p8339Var -var p8352Var = "function " -var p8352 = &p8352Var -var p8365Var = "thunk from >" -var p8365 = &p8365Var -var p8382Var = "thunk from >" -var p8382 = &p8382Var -var p8398Var = "thunk from >" -var p8398 = &p8398Var -var p8415Var = "thunk from >" -var p8415 = &p8415Var -var p8431Var = "thunk from >" -var p8431 = &p8431Var -var p8448Var = "thunk from >" -var p8448 = &p8448Var -var p8461Var = "thunk from >" -var p8461 = &p8461Var -var p8472Var = "thunk from >>" -var p8472 = &p8472Var -var p8481Var = "function " -var p8481 = &p8481Var -var p8513Var = "function " -var p8513 = &p8513Var -var p8526Var = "thunk from >" -var p8526 = &p8526Var -var p8543Var = "thunk from >" -var p8543 = &p8543Var -var p8566Var = "function " +var p7916Var = "thunk from from >>" +var p7916 = &p7916Var +var p7933Var = "thunk from >" +var p7933 = &p7933Var +var p7958Var = "thunk from >" +var p7958 = &p7958Var +var p7999Var = "thunk from >" +var p7999 = &p7999Var +var p8011Var = "function " +var p8011 = &p8011Var +var p8015Var = "thunk from >" +var p8015 = &p8015Var +var p8028Var = "thunk from >" +var p8028 = &p8028Var +var p8044Var = "thunk from >" +var p8044 = &p8044Var +var p8054Var = "thunk from >" +var p8054 = &p8054Var +var p8075Var = "thunk from >" +var p8075 = &p8075Var +var p8099Var = "thunk from >" +var p8099 = &p8099Var +var p8123Var = "thunk from >" +var p8123 = &p8123Var +var p8150Var = "thunk from >" +var p8150 = &p8150Var +var p8154Var = "thunk from from >>" +var p8154 = &p8154Var +var p8182Var = "thunk from >" +var p8182 = &p8182Var +var p8197Var = "thunk from from >>" +var p8197 = &p8197Var +var p8221Var = "thunk from >" +var p8221 = &p8221Var +var p8229Var = "thunk from from >>" +var p8229 = &p8229Var +var p8241Var = "thunk from from >>" +var p8241 = &p8241Var +var p8256Var = "thunk from >" +var p8256 = &p8256Var +var p8293Var = "thunk from >" +var p8293 = &p8293Var +var p8301Var = "function " +var p8301 = &p8301Var +var p8305Var = "thunk from >" +var p8305 = &p8305Var +var p8314Var = "thunk from >" +var p8314 = &p8314Var +var p8331Var = "thunk from >" +var p8331 = &p8331Var +var p8340Var = "thunk from >" +var p8340 = &p8340Var +var p8353Var = "thunk from >" +var p8353 = &p8353Var +var p8358Var = "thunk from >>" +var p8358 = &p8358Var +var p8451Var = "function " +var p8451 = &p8451Var +var p8464Var = "thunk from >" +var p8464 = &p8464Var +var p8474Var = "thunk from >>" +var p8474 = &p8474Var +var p8492Var = "thunk from >" +var p8492 = &p8492Var +var p8497Var = "function " +var p8497 = &p8497Var +var p8501Var = "thunk from >" +var p8501 = &p8501Var +var p8517Var = "thunk from >>" +var p8517 = &p8517Var +var p8538Var = "function " +var p8538 = &p8538Var +var p8542Var = "thunk from >" +var p8542 = &p8542Var +var p8557Var = "thunk from >" +var p8557 = &p8557Var +var p8566Var = "thunk from >>" var p8566 = &p8566Var -var p8579Var = "thunk from >" -var p8579 = &p8579Var -var p8596Var = "thunk from >" -var p8596 = &p8596Var -var p8628Var = "function " -var p8628 = &p8628Var -var p8641Var = "thunk from >" -var p8641 = &p8641Var -var p8658Var = "thunk from >" -var p8658 = &p8658Var -var p8674Var = "thunk from >" -var p8674 = &p8674Var -var p8691Var = "thunk from >" -var p8691 = &p8691Var -var p8713Var = "function " -var p8713 = &p8713Var -var p8726Var = "thunk from >" -var p8726 = &p8726Var -var p8743Var = "thunk from >" -var p8743 = &p8743Var -var p8759Var = "thunk from >" -var p8759 = &p8759Var -var p8776Var = "thunk from >" +var p8585Var = "thunk from >" +var p8585 = &p8585Var +var p8590Var = "function " +var p8590 = &p8590Var +var p8594Var = "thunk from >" +var p8594 = &p8594Var +var p8615Var = "function " +var p8615 = &p8615Var +var p8619Var = "thunk from >" +var p8619 = &p8619Var +var p8633Var = "thunk from >" +var p8633 = &p8633Var +var p8650Var = "thunk from >" +var p8650 = &p8650Var +var p8664Var = "thunk from >" +var p8664 = &p8664Var +var p8681Var = "thunk from >" +var p8681 = &p8681Var +var p8695Var = "thunk from >" +var p8695 = &p8695Var +var p8711Var = "thunk from >" +var p8711 = &p8711Var +var p8721Var = "thunk from >>" +var p8721 = &p8721Var +var p8741Var = "function " +var p8741 = &p8741Var +var p8776Var = "function " var p8776 = &p8776Var -var p8797Var = "function " -var p8797 = &p8797Var -var p8826Var = "function " -var p8826 = &p8826Var -var p8836Var = "thunk from >" -var p8836 = &p8836Var -var p8839Var = "function " -var p8839 = &p8839Var -var p8854Var = "function " -var p8854 = &p8854Var -var p8858Var = "thunk from >" -var p8858 = &p8858Var -var p8862Var = "function " -var p8862 = &p8862Var -var p8872Var = "thunk from >" -var p8872 = &p8872Var -var p8889Var = "thunk from >>" -var p8889 = &p8889Var -var p8893Var = "thunk from >>>" -var p8893 = &p8893Var -var p8911Var = "thunk from >>>" -var p8911 = &p8911Var -var p8936Var = "thunk from >>>" -var p8936 = &p8936Var -var p8941Var = "thunk from >>>>" -var p8941 = &p8941Var -var p8961Var = "thunk from >>>" -var p8961 = &p8961Var -var p8966Var = "thunk from >>>>" -var p8966 = &p8966Var -var p8979Var = "thunk from >>" -var p8979 = &p8979Var -var p8986Var = "thunk from >" -var p8986 = &p8986Var -var p8990Var = "function " -var p8990 = &p8990Var -var p9004Var = "thunk from >" -var p9004 = &p9004Var -var p9009Var = "thunk from >>" -var p9009 = &p9009Var -var p9017Var = "thunk from >" -var p9017 = &p9017Var -var p9021Var = "thunk from >" -var p9021 = &p9021Var -var p9032Var = "thunk from from >>" -var p9032 = &p9032Var -var p9041Var = "thunk from from >>" -var p9041 = &p9041Var -var p9063Var = "thunk from from >>" -var p9063 = &p9063Var -var p9070Var = "thunk from from >>>" -var p9070 = &p9070Var -var p9082Var = "thunk from >" -var p9082 = &p9082Var -var p9091Var = "thunk from from >>" -var p9091 = &p9091Var -var p9106Var = "thunk from >" -var p9106 = &p9106Var -var p9122Var = "thunk from >>" -var p9122 = &p9122Var -var p9127Var = "thunk from >>" -var p9127 = &p9127Var -var p9133Var = "function " -var p9133 = &p9133Var -var p9142Var = "thunk from >" -var p9142 = &p9142Var -var p9151Var = "function " -var p9151 = &p9151Var -var p9156Var = "thunk from >" -var p9156 = &p9156Var -var p9162Var = "thunk from >" -var p9162 = &p9162Var -var p9167Var = "function " -var p9167 = &p9167Var -var p9171Var = "thunk from >" -var p9171 = &p9171Var -var p9180Var = "thunk from from >>" -var p9180 = &p9180Var -var p9189Var = "thunk from from >>>" -var p9189 = &p9189Var -var p9204Var = "thunk from >" +var p8780Var = "thunk from >" +var p8780 = &p8780Var +var p8794Var = "thunk from >" +var p8794 = &p8794Var +var p8829Var = "function " +var p8829 = &p8829Var +var p8833Var = "thunk from >" +var p8833 = &p8833Var +var p8847Var = "thunk from >" +var p8847 = &p8847Var +var p8891Var = "function " +var p8891 = &p8891Var +var p8895Var = "thunk from >" +var p8895 = &p8895Var +var p8909Var = "thunk from >" +var p8909 = &p8909Var +var p8926Var = "thunk from >" +var p8926 = &p8926Var +var p8940Var = "thunk from >" +var p8940 = &p8940Var +var p8976Var = "function " +var p8976 = &p8976Var +var p8980Var = "thunk from >" +var p8980 = &p8980Var +var p8994Var = "thunk from >" +var p8994 = &p8994Var +var p9011Var = "thunk from >" +var p9011 = &p9011Var +var p9025Var = "thunk from >" +var p9025 = &p9025Var +var p9057Var = "function " +var p9057 = &p9057Var +var p9089Var = "function " +var p9089 = &p9089Var +var p9095Var = "function " +var p9095 = &p9095Var +var p9101Var = "thunk from >" +var p9101 = &p9101Var +var p9119Var = "function " +var p9119 = &p9119Var +var p9123Var = "thunk from >" +var p9123 = &p9123Var +var p9138Var = "thunk from >>>" +var p9138 = &p9138Var +var p9149Var = "thunk from >>" +var p9149 = &p9149Var +var p9153Var = "thunk from >>>" +var p9153 = &p9153Var +var p9174Var = "thunk from >>>" +var p9174 = &p9174Var +var p9178Var = "thunk from >>>>" +var p9178 = &p9178Var +var p9200Var = "thunk from >>>" +var p9200 = &p9200Var +var p9204Var = "thunk from >>>>" var p9204 = &p9204Var -var p9213Var = "thunk from >>" -var p9213 = &p9213Var -var p9222Var = "thunk from >>>" -var p9222 = &p9222Var -var p9236Var = "thunk from >" -var p9236 = &p9236Var -var p9239Var = "thunk from >" -var p9239 = &p9239Var -var p9243Var = "function " -var p9243 = &p9243Var -var p9256Var = "thunk from >" -var p9256 = &p9256Var -var p9269Var = "thunk from >" -var p9269 = &p9269Var -var p9281Var = "thunk from >" -var p9281 = &p9281Var -var p9285Var = "function " -var p9285 = &p9285Var -var p9298Var = "thunk from >" -var p9298 = &p9298Var -var p9304Var = "thunk from >" -var p9304 = &p9304Var -var p9308Var = "function " -var p9308 = &p9308Var -var p9319Var = "thunk from >" -var p9319 = &p9319Var -var p9327Var = "thunk from >" -var p9327 = &p9327Var -var p9330Var = "thunk from >" -var p9330 = &p9330Var -var p9335Var = "function " -var p9335 = &p9335Var -var p9382Var = "thunk from >" -var p9382 = &p9382Var -var p9402Var = "thunk from >" -var p9402 = &p9402Var -var p9411Var = "thunk from >" -var p9411 = &p9411Var -var p9425Var = "thunk from >" -var p9425 = &p9425Var -var p9447Var = "thunk from >" -var p9447 = &p9447Var -var p9463Var = "thunk from >" -var p9463 = &p9463Var -var p9474Var = "thunk from >" -var p9474 = &p9474Var -var p9483Var = "thunk from from >>" +var p9228Var = "thunk from >>" +var p9228 = &p9228Var +var p9234Var = "thunk from >" +var p9234 = &p9234Var +var p9242Var = "function " +var p9242 = &p9242Var +var p9246Var = "thunk from >" +var p9246 = &p9246Var +var p9259Var = "thunk from >" +var p9259 = &p9259Var +var p9263Var = "thunk from >>" +var p9263 = &p9263Var +var p9270Var = "thunk from >" +var p9270 = &p9270Var +var p9279Var = "thunk from >" +var p9279 = &p9279Var +var p9283Var = "thunk from from >>" +var p9283 = &p9283Var +var p9295Var = "thunk from from >>" +var p9295 = &p9295Var +var p9314Var = "thunk from from >>" +var p9314 = &p9314Var +var p9318Var = "thunk from from >>>" +var p9318 = &p9318Var +var p9338Var = "thunk from >" +var p9338 = &p9338Var +var p9345Var = "thunk from from >>" +var p9345 = &p9345Var +var p9355Var = "function " +var p9355 = &p9355Var +var p9359Var = "thunk from >" +var p9359 = &p9359Var +var p9364Var = "thunk from >>" +var p9364 = &p9364Var +var p9374Var = "thunk from >>" +var p9374 = &p9374Var +var p9395Var = "function " +var p9395 = &p9395Var +var p9399Var = "thunk from >" +var p9399 = &p9399Var +var p9414Var = "thunk from >" +var p9414 = &p9414Var +var p9424Var = "thunk from >" +var p9424 = &p9424Var +var p9432Var = "thunk from from >>" +var p9432 = &p9432Var +var p9436Var = "thunk from from >>>" +var p9436 = &p9436Var +var p9442Var = "function " +var p9442 = &p9442Var +var p9456Var = "thunk from >" +var p9456 = &p9456Var +var p9464Var = "thunk from >>" +var p9464 = &p9464Var +var p9468Var = "thunk from >>>" +var p9468 = &p9468Var +var p9483Var = "thunk from >" var p9483 = &p9483Var -var p9495Var = "thunk from from >>>" -var p9495 = &p9495Var -var p9503Var = "thunk from >" -var p9503 = &p9503Var -var p9519Var = "thunk from >" -var p9519 = &p9519Var -var p9530Var = "thunk from >" -var p9530 = &p9530Var -var p9538Var = "thunk from from >>" -var p9538 = &p9538Var -var p9553Var = "thunk from from >>" -var p9553 = &p9553Var -var p9557Var = "thunk from from >>>" -var p9557 = &p9557Var -var p9578Var = "thunk from from >>>" -var p9578 = &p9578Var -var p9582Var = "thunk from from >>>>" +var p9491Var = "thunk from >" +var p9491 = &p9491Var +var p9500Var = "function " +var p9500 = &p9500Var +var p9508Var = "thunk from >" +var p9508 = &p9508Var +var p9515Var = "thunk from >>" +var p9515 = &p9515Var +var p9532Var = "thunk from >" +var p9532 = &p9532Var +var p9544Var = "thunk from >" +var p9544 = &p9544Var +var p9550Var = "thunk from >" +var p9550 = &p9550Var +var p9556Var = "function " +var p9556 = &p9556Var +var p9560Var = "thunk from >" +var p9560 = &p9560Var +var p9571Var = "thunk from >" +var p9571 = &p9571Var +var p9576Var = "thunk from >" +var p9576 = &p9576Var +var p9582Var = "function " var p9582 = &p9582Var -var p9592Var = "thunk from from >>>>>" -var p9592 = &p9592Var -var p9606Var = "thunk from from >>>>>>" -var p9606 = &p9606Var -var p9617Var = "thunk from from >>" -var p9617 = &p9617Var -var p9641Var = "thunk from >" -var p9641 = &p9641Var -var p9656Var = "thunk from >" -var p9656 = &p9656Var -var p9663Var = "thunk from >" -var p9663 = &p9663Var -var p9670Var = "thunk from from >>" -var p9670 = &p9670Var -var p9681Var = "thunk from from >>" -var p9681 = &p9681Var -var p9684Var = "thunk from from >>>" -var p9684 = &p9684Var -var p9701Var = "thunk from from >>>" -var p9701 = &p9701Var -var p9705Var = "thunk from from >>>>" +var p9619Var = "thunk from >" +var p9619 = &p9619Var +var p9637Var = "thunk from >" +var p9637 = &p9637Var +var p9646Var = "thunk from >" +var p9646 = &p9646Var +var p9658Var = "thunk from >" +var p9658 = &p9658Var +var p9678Var = "thunk from >" +var p9678 = &p9678Var +var p9692Var = "thunk from >" +var p9692 = &p9692Var +var p9705Var = "thunk from >" var p9705 = &p9705Var -var p9715Var = "thunk from from >>>>>" -var p9715 = &p9715Var -var p9724Var = "thunk from from >>>>>" -var p9724 = &p9724Var -var p9738Var = "thunk from from >>>>>>" -var p9738 = &p9738Var -var p9751Var = "thunk from from >>>" -var p9751 = &p9751Var -var p9757Var = "thunk from from >>" -var p9757 = &p9757Var -var p9768Var = "thunk from >" +var p9709Var = "thunk from from >>" +var p9709 = &p9709Var +var p9720Var = "thunk from from >>>" +var p9720 = &p9720Var +var p9729Var = "thunk from >" +var p9729 = &p9729Var +var p9743Var = "thunk from >" +var p9743 = &p9743Var +var p9755Var = "thunk from from >>" +var p9755 = &p9755Var +var p9768Var = "thunk from >" var p9768 = &p9768Var -var p9773Var = "thunk from >" -var p9773 = &p9773Var -var p9778Var = "function " -var p9778 = &p9778Var -var p9782Var = "thunk from >" +var p9782Var = "thunk from from >>>" var p9782 = &p9782Var -var p9804Var = "thunk from from >>" -var p9804 = &p9804Var -var p9812Var = "thunk from from >>>" -var p9812 = &p9812Var -var p9823Var = "thunk from from >>>" -var p9823 = &p9823Var -var p9827Var = "thunk from from >>>>" -var p9827 = &p9827Var -var p9841Var = "thunk from from >>>>>" -var p9841 = &p9841Var -var p9850Var = "thunk from from >>>>>" -var p9850 = &p9850Var -var p9864Var = "thunk from from >>>>>>" -var p9864 = &p9864Var -var p9879Var = "thunk from from >>>" -var p9879 = &p9879Var -var p9886Var = "thunk from >" -var p9886 = &p9886Var -var p9892Var = "thunk from from >>" -var p9892 = &p9892Var -var p9901Var = "thunk from from >>>" -var p9901 = &p9901Var -var p9923Var = "thunk from from >>" -var p9923 = &p9923Var -var p9933Var = "thunk from from >>" -var p9933 = &p9933Var -var p9944Var = "thunk from from >>>" -var p9944 = &p9944Var -var p9957Var = "thunk from from >>>" -var p9957 = &p9957Var -var p9971Var = "thunk from from >>>>" -var p9971 = &p9971Var -var p9981Var = "thunk from from >>>>" +var p9786Var = "thunk from from >>" +var p9786 = &p9786Var +var p9803Var = "thunk from from >>>>" +var p9803 = &p9803Var +var p9808Var = "thunk from from >>>>>" +var p9808 = &p9808Var +var p9817Var = "thunk from from >>>>>>" +var p9817 = &p9817Var +var p9830Var = "thunk from from >>>" +var p9830 = &p9830Var +var p9843Var = "thunk from from >>" +var p9843 = &p9843Var +var p9861Var = "thunk from >" +var p9861 = &p9861Var +var p9885Var = "thunk from >" +var p9885 = &p9885Var +var p9894Var = "thunk from from >>" +var p9894 = &p9894Var +var p9895Var = "thunk from >" +var p9895 = &p9895Var +var p9907Var = "thunk from from >>>" +var p9907 = &p9907Var +var p9908Var = "thunk from from >>" +var p9908 = &p9908Var +var p9924Var = "thunk from from >>>>" +var p9924 = &p9924Var +var p9929Var = "thunk from from >>>>>" +var p9929 = &p9929Var +var p9938Var = "thunk from from >>>>>>" +var p9938 = &p9938Var +var p9954Var = "thunk from from >>>>>" +var p9954 = &p9954Var +var p9960Var = "thunk from from >>>" +var p9960 = &p9960Var +var p9973Var = "thunk from from >>>" +var p9973 = &p9973Var +var p9981Var = "thunk from from >>" var p9981 = &p9981Var -var p9993Var = "thunk from from >>>" -var p9993 = &p9993Var -var p10007Var = "thunk from from >>>>" -var p10007 = &p10007Var -var p10017Var = "thunk from from >>>>" -var p10017 = &p10017Var -var p10031Var = "thunk from from >>" -var p10031 = &p10031Var -var p10043Var = "thunk from >" -var p10043 = &p10043Var -var p10047Var = "thunk from >" -var p10047 = &p10047Var -var p10051Var = "function " -var p10051 = &p10051Var -var p10074Var = "thunk from >" -var p10074 = &p10074Var -var p10084Var = "thunk from >>" -var p10084 = &p10084Var -var p10106Var = "thunk from >" -var p10106 = &p10106Var -var p10119Var = "thunk from >" +var p9995Var = "thunk from >" +var p9995 = &p9995Var +var p10019Var = "thunk from >" +var p10019 = &p10019Var +var p10029Var = "thunk from >" +var p10029 = &p10029Var +var p10044Var = "thunk from from >>" +var p10044 = &p10044Var +var p10049Var = "thunk from from >>>" +var p10049 = &p10049Var +var p10063Var = "thunk from from >>>>" +var p10063 = &p10063Var +var p10068Var = "thunk from from >>>>>" +var p10068 = &p10068Var +var p10077Var = "thunk from from >>>>>>" +var p10077 = &p10077Var +var p10095Var = "thunk from from >>>>>" +var p10095 = &p10095Var +var p10104Var = "thunk from from >>>" +var p10104 = &p10104Var +var p10119Var = "thunk from from >>>" var p10119 = &p10119Var -var p10124Var = "function " -var p10124 = &p10124Var -var p10128Var = "thunk from >" -var p10128 = &p10128Var -var p10137Var = "thunk from from >>" -var p10137 = &p10137Var -var p10149Var = "thunk from from >>>" -var p10149 = &p10149Var -var p10171Var = "thunk from from >>" -var p10171 = &p10171Var -var p10193Var = "thunk from from >>>" -var p10193 = &p10193Var -var p10203Var = "thunk from from >>>>" -var p10203 = &p10203Var -var p10229Var = "thunk from from >>>" +var p10138Var = "thunk from >" +var p10138 = &p10138Var +var p10143Var = "thunk from from >>" +var p10143 = &p10143Var +var p10157Var = "thunk from from >>" +var p10157 = &p10157Var +var p10162Var = "thunk from from >>>" +var p10162 = &p10162Var +var p10175Var = "thunk from from >>>" +var p10175 = &p10175Var +var p10184Var = "thunk from from >>>>" +var p10184 = &p10184Var +var p10194Var = "thunk from from >>>>" +var p10194 = &p10194Var +var p10210Var = "thunk from from >>>" +var p10210 = &p10210Var +var p10219Var = "thunk from from >>>>" +var p10219 = &p10219Var +var p10229Var = "thunk from from >>>>" var p10229 = &p10229Var -var p10245Var = "thunk from from >>>>" -var p10245 = &p10245Var -var p10254Var = "thunk from >" -var p10254 = &p10254Var -var p10266Var = "thunk from >" -var p10266 = &p10266Var -var p10281Var = "thunk from >" -var p10281 = &p10281Var -var p10290Var = "thunk from >" -var p10290 = &p10290Var -var p10311Var = "thunk from >" -var p10311 = &p10311Var -var p10319Var = "function " -var p10319 = &p10319Var -var p10323Var = "thunk from >" -var p10323 = &p10323Var -var p10332Var = "thunk from from >>" -var p10332 = &p10332Var -var p10339Var = "thunk from >" -var p10339 = &p10339Var -var p10344Var = "function " -var p10344 = &p10344Var -var p10419Var = "thunk from >" -var p10419 = &p10419Var -var p10428Var = "thunk from from >>" -var p10428 = &p10428Var -var p10466Var = "thunk from >" -var p10466 = &p10466Var -var p10491Var = "thunk from >" -var p10491 = &p10491Var -var p10507Var = "thunk from >>" +var p10253Var = "thunk from from >>" +var p10253 = &p10253Var +var p10264Var = "thunk from from >>" +var p10264 = &p10264Var +var p10268Var = "thunk from from >>>" +var p10268 = &p10268Var +var p10280Var = "function " +var p10280 = &p10280Var +var p10284Var = "thunk from >" +var p10284 = &p10284Var +var p10293Var = "thunk from >" +var p10293 = &p10293Var +var p10299Var = "function " +var p10299 = &p10299Var +var p10303Var = "thunk from >" +var p10303 = &p10303Var +var p10337Var = "thunk from >" +var p10337 = &p10337Var +var p10346Var = "thunk from >>" +var p10346 = &p10346Var +var p10365Var = "thunk from >" +var p10365 = &p10365Var +var p10375Var = "thunk from >" +var p10375 = &p10375Var +var p10379Var = "thunk from from >>" +var p10379 = &p10379Var +var p10390Var = "thunk from from >>>" +var p10390 = &p10390Var +var p10410Var = "thunk from from >>" +var p10410 = &p10410Var +var p10415Var = "thunk from from >>>" +var p10415 = &p10415Var +var p10426Var = "thunk from from >>>>" +var p10426 = &p10426Var +var p10464Var = "thunk from from >>>" +var p10464 = &p10464Var +var p10473Var = "thunk from from >>>>" +var p10473 = &p10473Var +var p10494Var = "thunk from >" +var p10494 = &p10494Var +var p10503Var = "function " +var p10503 = &p10503Var +var p10507Var = "thunk from >" var p10507 = &p10507Var -var p10513Var = "thunk from >>>" -var p10513 = &p10513Var -var p10524Var = "thunk from >>" +var p10516Var = "thunk from >" +var p10516 = &p10516Var +var p10524Var = "function " var p10524 = &p10524Var -var p10531Var = "function " -var p10531 = &p10531Var -var p10541Var = "thunk from >" -var p10541 = &p10541Var -var p10549Var = "function " -var p10549 = &p10549Var -var p10553Var = "thunk from >" +var p10528Var = "thunk from >" +var p10528 = &p10528Var +var p10537Var = "thunk from >" +var p10537 = &p10537Var +var p10553Var = "thunk from >" var p10553 = &p10553Var -var p10562Var = "thunk from from >>" -var p10562 = &p10562Var -var p10569Var = "thunk from >" -var p10569 = &p10569Var -var p10573Var = "function " -var p10573 = &p10573Var -var p10605Var = "thunk from >" -var p10605 = &p10605Var -var p10621Var = "thunk from >>" -var p10621 = &p10621Var -var p10627Var = "thunk from >>>" -var p10627 = &p10627Var -var p10638Var = "thunk from >>" -var p10638 = &p10638Var -var p10646Var = "function " -var p10646 = &p10646Var -var p10650Var = "thunk from >" +var p10576Var = "thunk from >" +var p10576 = &p10576Var +var p10580Var = "thunk from from >>" +var p10580 = &p10580Var +var p10589Var = "function " +var p10589 = &p10589Var +var p10650Var = "thunk from >" var p10650 = &p10650Var -var p10659Var = "thunk from from >>" -var p10659 = &p10659Var -var p10666Var = "thunk from >" -var p10666 = &p10666Var -var p10670Var = "function " -var p10670 = &p10670Var -var p10693Var = "thunk from >" -var p10693 = &p10693Var -var p10697Var = "function " -var p10697 = &p10697Var -var p10707Var = "thunk from >" -var p10707 = &p10707Var -var p10718Var = "thunk from >>" -var p10718 = &p10718Var -var p10726Var = "function " -var p10726 = &p10726Var -var p10735Var = "thunk from >" -var p10735 = &p10735Var -var p10743Var = "function " -var p10743 = &p10743Var -var p10752Var = "thunk from >" -var p10752 = &p10752Var -var p10762Var = "function " -var p10762 = &p10762Var -var p10769Var = "thunk from >" -var p10769 = &p10769Var -var p10774Var = "function " -var p10774 = &p10774Var -var p10815Var = "thunk from >" -var p10815 = &p10815Var -var p10835Var = "thunk from >" -var p10835 = &p10835Var -var p10847Var = "thunk from >" -var p10847 = &p10847Var -var p10861Var = "thunk from >" -var p10861 = &p10861Var -var p10883Var = "thunk from >" -var p10883 = &p10883Var -var p10890Var = "thunk from >" -var p10890 = &p10890Var -var p10899Var = "thunk from from >>" -var p10899 = &p10899Var -var p10911Var = "thunk from from >>>" -var p10911 = &p10911Var -var p10919Var = "thunk from >" -var p10919 = &p10919Var -var p10930Var = "thunk from >" -var p10930 = &p10930Var -var p10938Var = "thunk from from >>" -var p10938 = &p10938Var -var p10953Var = "thunk from from >>" -var p10953 = &p10953Var -var p10957Var = "thunk from from >>>" -var p10957 = &p10957Var -var p10978Var = "thunk from from >>>" -var p10978 = &p10978Var -var p10982Var = "thunk from from >>>>" +var p10654Var = "thunk from from >>" +var p10654 = &p10654Var +var p10689Var = "thunk from >" +var p10689 = &p10689Var +var p10717Var = "thunk from >" +var p10717 = &p10717Var +var p10728Var = "function " +var p10728 = &p10728Var +var p10737Var = "thunk from >" +var p10737 = &p10737Var +var p10750Var = "thunk from >>" +var p10750 = &p10750Var +var p10754Var = "thunk from >>>" +var p10754 = &p10754Var +var p10768Var = "thunk from >>" +var p10768 = &p10768Var +var p10788Var = "function " +var p10788 = &p10788Var +var p10792Var = "thunk from >" +var p10792 = &p10792Var +var p10806Var = "thunk from >" +var p10806 = &p10806Var +var p10810Var = "thunk from from >>" +var p10810 = &p10810Var +var p10819Var = "function " +var p10819 = &p10819Var +var p10832Var = "thunk from >" +var p10832 = &p10832Var +var p10842Var = "function " +var p10842 = &p10842Var +var p10851Var = "thunk from >" +var p10851 = &p10851Var +var p10864Var = "thunk from >>" +var p10864 = &p10864Var +var p10868Var = "thunk from >>>" +var p10868 = &p10868Var +var p10882Var = "thunk from >>" +var p10882 = &p10882Var +var p10903Var = "thunk from >" +var p10903 = &p10903Var +var p10907Var = "thunk from from >>" +var p10907 = &p10907Var +var p10916Var = "function " +var p10916 = &p10916Var +var p10929Var = "thunk from >" +var p10929 = &p10929Var +var p10936Var = "function " +var p10936 = &p10936Var +var p10943Var = "function " +var p10943 = &p10943Var +var p10947Var = "thunk from >" +var p10947 = &p10947Var +var p10954Var = "thunk from >" +var p10954 = &p10954Var +var p10964Var = "thunk from >>" +var p10964 = &p10964Var +var p10982Var = "function " var p10982 = &p10982Var -var p10992Var = "thunk from from >>>>>" -var p10992 = &p10992Var -var p11006Var = "thunk from from >>>>>>" -var p11006 = &p11006Var -var p11017Var = "thunk from from >>" -var p11017 = &p11017Var -var p11036Var = "thunk from >" -var p11036 = &p11036Var -var p11051Var = "thunk from >" -var p11051 = &p11051Var -var p11058Var = "thunk from >" -var p11058 = &p11058Var -var p11066Var = "thunk from from >>" -var p11066 = &p11066Var -var p11081Var = "thunk from from >>" -var p11081 = &p11081Var -var p11085Var = "thunk from from >>>" -var p11085 = &p11085Var -var p11106Var = "thunk from from >>>" -var p11106 = &p11106Var -var p11110Var = "thunk from from >>>>" -var p11110 = &p11110Var -var p11131Var = "thunk from from >>>>>" -var p11131 = &p11131Var -var p11142Var = "thunk from from >>>>>" -var p11142 = &p11142Var -var p11156Var = "thunk from from >>>>>>" -var p11156 = &p11156Var -var p11173Var = "thunk from from >>>" -var p11173 = &p11173Var -var p11180Var = "thunk from from >>" +var p10986Var = "thunk from >" +var p10986 = &p10986Var +var p10999Var = "function " +var p10999 = &p10999Var +var p11003Var = "thunk from >" +var p11003 = &p11003Var +var p11019Var = "function " +var p11019 = &p11019Var +var p11050Var = "thunk from >" +var p11050 = &p11050Var +var p11068Var = "thunk from >" +var p11068 = &p11068Var +var p11080Var = "thunk from >" +var p11080 = &p11080Var +var p11092Var = "thunk from >" +var p11092 = &p11092Var +var p11112Var = "thunk from >" +var p11112 = &p11112Var +var p11122Var = "thunk from >" +var p11122 = &p11122Var +var p11126Var = "thunk from from >>" +var p11126 = &p11126Var +var p11137Var = "thunk from from >>>" +var p11137 = &p11137Var +var p11146Var = "thunk from >" +var p11146 = &p11146Var +var p11158Var = "thunk from from >>" +var p11158 = &p11158Var +var p11166Var = "thunk from >" +var p11166 = &p11166Var +var p11180Var = "thunk from from >>>" var p11180 = &p11180Var -var p11199Var = "thunk from >" -var p11199 = &p11199Var -var p11210Var = "thunk from >" -var p11210 = &p11210Var -var p11219Var = "function " -var p11219 = &p11219Var -var p11226Var = "thunk from >" -var p11226 = &p11226Var -var p11231Var = "function " -var p11231 = &p11231Var -var p11244Var = "thunk from >" -var p11244 = &p11244Var -var p11253Var = "thunk from >>" -var p11253 = &p11253Var -var p11266Var = "thunk from >" -var p11266 = &p11266Var -var p11277Var = "thunk from >" -var p11277 = &p11277Var -var p11285Var = "function " -var p11285 = &p11285Var -var p11289Var = "thunk from >" -var p11289 = &p11289Var -var p11294Var = "thunk from from >>" -var p11294 = &p11294Var -var p11333Var = "thunk from >" -var p11333 = &p11333Var -var p11346Var = "thunk from from >>" -var p11346 = &p11346Var -var p11352Var = "thunk from from >>" -var p11352 = &p11352Var -var p11371Var = "thunk from >" -var p11371 = &p11371Var -var p11383Var = "thunk from >" -var p11383 = &p11383Var -var p11389Var = "function " -var p11389 = &p11389Var -var p11404Var = "thunk from >" -var p11404 = &p11404Var -var p11421Var = "thunk from >" -var p11421 = &p11421Var -var p11439Var = "thunk from >" -var p11439 = &p11439Var -var p11445Var = "function " -var p11445 = &p11445Var -var p11449Var = "thunk from >" -var p11449 = &p11449Var -var p11458Var = "thunk from from >>" -var p11458 = &p11458Var -var p11467Var = "thunk from from >>>" -var p11467 = &p11467Var -var p11473Var = "thunk from >" -var p11473 = &p11473Var -var p11482Var = "thunk from from >>" -var p11482 = &p11482Var -var p11491Var = "thunk from from >>>" -var p11491 = &p11491Var -var p11497Var = "thunk from >" -var p11497 = &p11497Var -var p11506Var = "thunk from from >>" -var p11506 = &p11506Var -var p11519Var = "thunk from from >>>" -var p11519 = &p11519Var -var p11525Var = "thunk from >" -var p11525 = &p11525Var -var p11534Var = "thunk from from >>" -var p11534 = &p11534Var -var p11547Var = "thunk from from >>>" -var p11547 = &p11547Var -var p11553Var = "thunk from >" -var p11553 = &p11553Var -var p11562Var = "thunk from from >>" -var p11562 = &p11562Var -var p11575Var = "thunk from from >>>" -var p11575 = &p11575Var -var p11581Var = "thunk from >" +var p11184Var = "thunk from from >>" +var p11184 = &p11184Var +var p11201Var = "thunk from from >>>>" +var p11201 = &p11201Var +var p11206Var = "thunk from from >>>>>" +var p11206 = &p11206Var +var p11215Var = "thunk from from >>>>>>" +var p11215 = &p11215Var +var p11228Var = "thunk from from >>>" +var p11228 = &p11228Var +var p11241Var = "thunk from from >>" +var p11241 = &p11241Var +var p11259Var = "thunk from >" +var p11259 = &p11259Var +var p11278Var = "thunk from >" +var p11278 = &p11278Var +var p11288Var = "thunk from from >>" +var p11288 = &p11288Var +var p11296Var = "thunk from >" +var p11296 = &p11296Var +var p11310Var = "thunk from from >>>" +var p11310 = &p11310Var +var p11314Var = "thunk from from >>" +var p11314 = &p11314Var +var p11331Var = "thunk from from >>>>" +var p11331 = &p11331Var +var p11336Var = "thunk from from >>>>>" +var p11336 = &p11336Var +var p11345Var = "thunk from from >>>>>>" +var p11345 = &p11345Var +var p11370Var = "thunk from from >>>>>" +var p11370 = &p11370Var +var p11384Var = "thunk from from >>>" +var p11384 = &p11384Var +var p11397Var = "thunk from from >>>" +var p11397 = &p11397Var +var p11406Var = "thunk from from >>" +var p11406 = &p11406Var +var p11424Var = "thunk from >" +var p11424 = &p11424Var +var p11448Var = "thunk from >" +var p11448 = &p11448Var +var p11453Var = "function " +var p11453 = &p11453Var +var p11457Var = "thunk from >" +var p11457 = &p11457Var +var p11480Var = "function " +var p11480 = &p11480Var +var p11484Var = "thunk from >" +var p11484 = &p11484Var +var p11499Var = "thunk from >" +var p11499 = &p11499Var +var p11503Var = "thunk from >>" +var p11503 = &p11503Var +var p11517Var = "thunk from >" +var p11517 = &p11517Var +var p11529Var = "thunk from from >>" +var p11529 = &p11529Var +var p11550Var = "thunk from >" +var p11550 = &p11550Var +var p11568Var = "thunk from >" +var p11568 = &p11568Var +var p11572Var = "thunk from from >>" +var p11572 = &p11572Var +var p11581Var = "thunk from from >>" var p11581 = &p11581Var -var p11590Var = "thunk from from >>" -var p11590 = &p11590Var -var p11603Var = "thunk from from >>>" +var p11594Var = "function " +var p11594 = &p11594Var +var p11603Var = "thunk from >" var p11603 = &p11603Var -var p11609Var = "thunk from >" -var p11609 = &p11609Var -var p11618Var = "thunk from from >>" -var p11618 = &p11618Var -var p11631Var = "thunk from from >>>" +var p11621Var = "thunk from >" +var p11621 = &p11621Var +var p11631Var = "function " var p11631 = &p11631Var -var p11637Var = "thunk from >" -var p11637 = &p11637Var -var p11646Var = "thunk from from >>" -var p11646 = &p11646Var -var p11657Var = "thunk from >" -var p11657 = &p11657Var -var p11666Var = "thunk from from >>" -var p11666 = &p11666Var -var p11673Var = "thunk from >" -var p11673 = &p11673Var -var p11682Var = "thunk from from >>" -var p11682 = &p11682Var -var p11689Var = "thunk from >" -var p11689 = &p11689Var -var p11698Var = "thunk from from >>" -var p11698 = &p11698Var -var p11705Var = "thunk from >" -var p11705 = &p11705Var -var p11714Var = "thunk from from >>" -var p11714 = &p11714Var -var p11723Var = "thunk from from >>>" -var p11723 = &p11723Var -var p11737Var = "thunk from >" -var p11737 = &p11737Var -var p11753Var = "thunk from >" -var p11753 = &p11753Var -var p11769Var = "thunk from >" -var p11769 = &p11769Var -var p11785Var = "thunk from >" -var p11785 = &p11785Var -var p11794Var = "thunk from >>" -var p11794 = &p11794Var -var p11812Var = "thunk from >" -var p11812 = &p11812Var -var p11828Var = "thunk from >" -var p11828 = &p11828Var -var p11837Var = "thunk from >>" -var p11837 = &p11837Var -var p11857Var = "thunk from >" -var p11857 = &p11857Var -var p11873Var = "thunk from >" -var p11873 = &p11873Var -var p11883Var = "thunk from >" +var p11643Var = "thunk from >" +var p11643 = &p11643Var +var p11660Var = "thunk from >" +var p11660 = &p11660Var +var p11675Var = "thunk from >" +var p11675 = &p11675Var +var p11687Var = "thunk from >" +var p11687 = &p11687Var +var p11695Var = "thunk from from >>" +var p11695 = &p11695Var +var p11699Var = "thunk from from >>>" +var p11699 = &p11699Var +var p11709Var = "thunk from >" +var p11709 = &p11709Var +var p11717Var = "thunk from from >>" +var p11717 = &p11717Var +var p11721Var = "thunk from from >>>" +var p11721 = &p11721Var +var p11731Var = "thunk from >" +var p11731 = &p11731Var +var p11740Var = "thunk from from >>" +var p11740 = &p11740Var +var p11744Var = "thunk from from >>>" +var p11744 = &p11744Var +var p11757Var = "thunk from >" +var p11757 = &p11757Var +var p11766Var = "thunk from from >>" +var p11766 = &p11766Var +var p11770Var = "thunk from from >>>" +var p11770 = &p11770Var +var p11783Var = "thunk from >" +var p11783 = &p11783Var +var p11792Var = "thunk from from >>" +var p11792 = &p11792Var +var p11796Var = "thunk from from >>>" +var p11796 = &p11796Var +var p11809Var = "thunk from >" +var p11809 = &p11809Var +var p11818Var = "thunk from from >>" +var p11818 = &p11818Var +var p11822Var = "thunk from from >>>" +var p11822 = &p11822Var +var p11835Var = "thunk from >" +var p11835 = &p11835Var +var p11844Var = "thunk from from >>" +var p11844 = &p11844Var +var p11848Var = "thunk from from >>>" +var p11848 = &p11848Var +var p11861Var = "thunk from >" +var p11861 = &p11861Var +var p11866Var = "thunk from from >>" +var p11866 = &p11866Var +var p11879Var = "thunk from >" +var p11879 = &p11879Var +var p11883Var = "thunk from from >>" var p11883 = &p11883Var -var p11904Var = "thunk from >" -var p11904 = &p11904Var -var p11920Var = "thunk from >" -var p11920 = &p11920Var -var p11929Var = "thunk from >>" +var p11893Var = "thunk from >" +var p11893 = &p11893Var +var p11897Var = "thunk from from >>" +var p11897 = &p11897Var +var p11907Var = "thunk from >" +var p11907 = &p11907Var +var p11911Var = "thunk from from >>" +var p11911 = &p11911Var +var p11921Var = "thunk from >" +var p11921 = &p11921Var +var p11929Var = "thunk from from >>" var p11929 = &p11929Var +var p11933Var = "thunk from from >>>" +var p11933 = &p11933Var +var p11941Var = "function " +var p11941 = &p11941Var var p11945Var = "thunk from >" var p11945 = &p11945Var -var p11954Var = "thunk from >>" -var p11954 = &p11954Var -var p11970Var = "thunk from >" -var p11970 = &p11970Var -var p11979Var = "thunk from >>" -var p11979 = &p11979Var -var p12001Var = "thunk from >" -var p12001 = &p12001Var -var p12017Var = "thunk from >" -var p12017 = &p12017Var -var p12026Var = "thunk from >>" -var p12026 = &p12026Var -var p12042Var = "thunk from >" -var p12042 = &p12042Var -var p12052Var = "thunk from >" -var p12052 = &p12052Var -var p12065Var = "thunk from >" -var p12065 = &p12065Var -var p12070Var = "function " -var p12070 = &p12070Var -var p12078Var = "thunk from >" -var p12078 = &p12078Var -var p12091Var = "thunk from >" -var p12091 = &p12091Var -var p12098Var = "thunk from >" -var p12098 = &p12098Var -var p12103Var = "function " -var p12103 = &p12103Var -var p12144Var = "thunk from >" -var p12144 = &p12144Var -var p12164Var = "thunk from >" -var p12164 = &p12164Var -var p12171Var = "thunk from >" -var p12171 = &p12171Var -var p12180Var = "thunk from from >>" -var p12180 = &p12180Var -var p12212Var = "thunk from >" -var p12212 = &p12212Var -var p12221Var = "thunk from from >>" +var p11959Var = "thunk from >" +var p11959 = &p11959Var +var p11980Var = "thunk from >" +var p11980 = &p11980Var +var p11984Var = "thunk from >>" +var p11984 = &p11984Var +var p11995Var = "thunk from >" +var p11995 = &p11995Var +var p12020Var = "thunk from >" +var p12020 = &p12020Var +var p12024Var = "thunk from >>" +var p12024 = &p12024Var +var p12035Var = "thunk from >" +var p12035 = &p12035Var +var p12051Var = "thunk from >" +var p12051 = &p12051Var +var p12066Var = "thunk from >" +var p12066 = &p12066Var +var p12075Var = "thunk from >" +var p12075 = &p12075Var +var p12102Var = "thunk from >" +var p12102 = &p12102Var +var p12106Var = "thunk from >>" +var p12106 = &p12106Var +var p12127Var = "thunk from >" +var p12127 = &p12127Var +var p12131Var = "thunk from >>" +var p12131 = &p12131Var +var p12152Var = "thunk from >" +var p12152 = &p12152Var +var p12156Var = "thunk from >>" +var p12156 = &p12156Var +var p12167Var = "thunk from >" +var p12167 = &p12167Var +var p12187Var = "thunk from >" +var p12187 = &p12187Var +var p12202Var = "thunk from >" +var p12202 = &p12202Var +var p12221Var = "thunk from >" var p12221 = &p12221Var -var p12234Var = "thunk from >" -var p12234 = &p12234Var -var p12247Var = "thunk from >>" -var p12247 = &p12247Var -var p12270Var = "thunk from >>" -var p12270 = &p12270Var -var p12285Var = "thunk from >" -var p12285 = &p12285Var -var p12299Var = "thunk from >" +var p12225Var = "thunk from >>" +var p12225 = &p12225Var +var p12236Var = "thunk from >" +var p12236 = &p12236Var +var p12299Var = "thunk from >" var p12299 = &p12299Var -var p12321Var = "thunk from >" -var p12321 = &p12321Var -var p12337Var = "thunk from >" -var p12337 = &p12337Var -var p12348Var = "thunk from >" -var p12348 = &p12348Var -var p12353Var = "function " -var p12353 = &p12353Var -var p12366Var = "thunk from >" -var p12366 = &p12366Var -var p12379Var = "thunk from >" -var p12379 = &p12379Var -var p12387Var = "object " +var p12307Var = "function " +var p12307 = &p12307Var +var p12311Var = "thunk from >" +var p12311 = &p12311Var +var p12324Var = "thunk from >" +var p12324 = &p12324Var +var p12330Var = "thunk from >" +var p12330 = &p12330Var +var p12338Var = "function " +var p12338 = &p12338Var +var p12369Var = "thunk from >" +var p12369 = &p12369Var +var p12387Var = "thunk from >" var p12387 = &p12387Var -var p12411Var = "thunk from >" -var p12411 = &p12411Var -var p12424Var = "thunk from >" -var p12424 = &p12424Var -var p12432Var = "object " +var p12397Var = "thunk from >" +var p12397 = &p12397Var +var p12401Var = "thunk from from >>" +var p12401 = &p12401Var +var p12432Var = "thunk from >" var p12432 = &p12432Var -var p12444Var = "object " -var p12444 = &p12444Var -var p12453Var = "thunk from >" -var p12453 = &p12453Var -var p12462Var = "thunk from from >>" -var p12462 = &p12462Var -var p12474Var = "thunk from from >>>" -var p12474 = &p12474Var -var p12507Var = "thunk from from >>" -var p12507 = &p12507Var -var p12524Var = "thunk from from >>>" -var p12524 = &p12524Var -var p12538Var = "thunk from from >>>>" -var p12538 = &p12538Var -var p12546Var = "thunk from >" -var p12546 = &p12546Var -var p12550Var = "thunk from from >>" -var p12550 = &p12550Var -var p12556Var = "thunk from from >>>" -var p12556 = &p12556Var -var p12574Var = "thunk from >" -var p12574 = &p12574Var -var p12593Var = "thunk from >" -var p12593 = &p12593Var -var p12609Var = "thunk from >" -var p12609 = &p12609Var -var p12620Var = "thunk from >" +var p12436Var = "thunk from from >>" +var p12436 = &p12436Var +var p12450Var = "thunk from >" +var p12450 = &p12450Var +var p12478Var = "thunk from >>" +var p12478 = &p12478Var +var p12487Var = "thunk from >>" +var p12487 = &p12487Var +var p12501Var = "thunk from >" +var p12501 = &p12501Var +var p12520Var = "thunk from >" +var p12520 = &p12520Var +var p12540Var = "thunk from >" +var p12540 = &p12540Var +var p12554Var = "thunk from >" +var p12554 = &p12554Var +var p12567Var = "function " +var p12567 = &p12567Var +var p12576Var = "thunk from >" +var p12576 = &p12576Var +var p12588Var = "thunk from >" +var p12588 = &p12588Var +var p12597Var = "object " +var p12597 = &p12597Var +var p12620Var = "thunk from >" var p12620 = &p12620Var -var p12625Var = "function " -var p12625 = &p12625Var -var p12638Var = "thunk from >" -var p12638 = &p12638Var -var p12651Var = "thunk from >" -var p12651 = &p12651Var -var p12659Var = "object " -var p12659 = &p12659Var -var p12689Var = "thunk from >" -var p12689 = &p12689Var -var p12702Var = "thunk from >" -var p12702 = &p12702Var -var p12710Var = "object " -var p12710 = &p12710Var -var p12726Var = "object " -var p12726 = &p12726Var -var p12760Var = "thunk from from >>" -var p12760 = &p12760Var -var p12779Var = "thunk from from >>>" -var p12779 = &p12779Var -var p12787Var = "thunk from from >>>" -var p12787 = &p12787Var -var p12801Var = "thunk from from >>>" -var p12801 = &p12801Var -var p12815Var = "thunk from from >>>>" -var p12815 = &p12815Var -var p12823Var = "thunk from >" -var p12823 = &p12823Var -var p12827Var = "thunk from from >>" -var p12827 = &p12827Var -var p12833Var = "thunk from from >>>" -var p12833 = &p12833Var -var p12848Var = "thunk from from >>" -var p12848 = &p12848Var -var p12860Var = "thunk from >" -var p12860 = &p12860Var -var p12875Var = "thunk from >" -var p12875 = &p12875Var -var p12884Var = "function " -var p12884 = &p12884Var -var p12901Var = "thunk from >" -var p12901 = &p12901Var -var p12918Var = "thunk from >" -var p12918 = &p12918Var -var p12937Var = "thunk from >" -var p12937 = &p12937Var -var p12953Var = "thunk from >>" -var p12953 = &p12953Var -var p12962Var = "thunk from >>>" -var p12962 = &p12962Var -var p12983Var = "function " -var p12983 = &p12983Var -var p12994Var = "thunk from >" -var p12994 = &p12994Var -var p13024Var = "thunk from from >>" -var p13024 = &p13024Var -var p13029Var = "thunk from from >>>" -var p13029 = &p13029Var -var p13038Var = "thunk from from >>>>" +var p12632Var = "thunk from >" +var p12632 = &p12632Var +var p12641Var = "object " +var p12641 = &p12641Var +var p12652Var = "object " +var p12652 = &p12652Var +var p12661Var = "thunk from >" +var p12661 = &p12661Var +var p12670Var = "thunk from >" +var p12670 = &p12670Var +var p12674Var = "thunk from from >>" +var p12674 = &p12674Var +var p12685Var = "thunk from from >>>" +var p12685 = &p12685Var +var p12713Var = "thunk from from >>" +var p12713 = &p12713Var +var p12718Var = "thunk from from >>>" +var p12718 = &p12718Var +var p12727Var = "thunk from from >>>>" +var p12727 = &p12727Var +var p12756Var = "thunk from from >>" +var p12756 = &p12756Var +var p12761Var = "thunk from from >>>" +var p12761 = &p12761Var +var p12767Var = "thunk from >" +var p12767 = &p12767Var +var p12785Var = "thunk from >" +var p12785 = &p12785Var +var p12810Var = "thunk from >" +var p12810 = &p12810Var +var p12824Var = "thunk from >" +var p12824 = &p12824Var +var p12837Var = "function " +var p12837 = &p12837Var +var p12846Var = "thunk from >" +var p12846 = &p12846Var +var p12858Var = "thunk from >" +var p12858 = &p12858Var +var p12867Var = "object " +var p12867 = &p12867Var +var p12896Var = "thunk from >" +var p12896 = &p12896Var +var p12908Var = "thunk from >" +var p12908 = &p12908Var +var p12917Var = "object " +var p12917 = &p12917Var +var p12932Var = "object " +var p12932 = &p12932Var +var p12941Var = "thunk from >" +var p12941 = &p12941Var +var p12966Var = "thunk from from >>" +var p12966 = &p12966Var +var p12971Var = "thunk from from >>>" +var p12971 = &p12971Var +var p12980Var = "thunk from from >>>>" +var p12980 = &p12980Var +var p13011Var = "thunk from from >>>" +var p13011 = &p13011Var +var p13019Var = "thunk from from >>>" +var p13019 = &p13019Var +var p13033Var = "thunk from from >>" +var p13033 = &p13033Var +var p13038Var = "thunk from from >>>" var p13038 = &p13038Var -var p13049Var = "thunk from from >>>>" -var p13049 = &p13049Var -var p13056Var = "thunk from >" -var p13056 = &p13056Var -var p13065Var = "thunk from from >>" -var p13065 = &p13065Var -var p13081Var = "thunk from >" -var p13081 = &p13081Var -var p13090Var = "thunk from >>" -var p13090 = &p13090Var -var p13105Var = "thunk from >" -var p13105 = &p13105Var -var p13121Var = "thunk from >" -var p13121 = &p13121Var -var p13130Var = "thunk from >>" -var p13130 = &p13130Var -var p13146Var = "thunk from >>>" +var p13044Var = "thunk from >" +var p13044 = &p13044Var +var p13057Var = "thunk from from >>" +var p13057 = &p13057Var +var p13071Var = "thunk from >" +var p13071 = &p13071Var +var p13103Var = "thunk from >" +var p13103 = &p13103Var +var p13108Var = "function " +var p13108 = &p13108Var +var p13112Var = "thunk from >" +var p13112 = &p13112Var +var p13142Var = "function " +var p13142 = &p13142Var +var p13146Var = "thunk from >" var p13146 = &p13146Var -var p13155Var = "thunk from >>>>" -var p13155 = &p13155Var -var p13171Var = "thunk from >" -var p13171 = &p13171Var -var p13187Var = "thunk from >" -var p13187 = &p13187Var -var p13196Var = "thunk from >>" -var p13196 = &p13196Var -var p13210Var = "thunk from >" -var p13210 = &p13210Var -var p13227Var = "thunk from >" -var p13227 = &p13227Var -var p13239Var = "thunk from >" +var p13160Var = "thunk from >" +var p13160 = &p13160Var +var p13184Var = "thunk from >" +var p13184 = &p13184Var +var p13200Var = "thunk from >>" +var p13200 = &p13200Var +var p13204Var = "thunk from >>>" +var p13204 = &p13204Var +var p13239Var = "function " var p13239 = &p13239Var -var p13278Var = "function " -var p13278 = &p13278Var -var p13304Var = "thunk from from >>" -var p13304 = &p13304Var -var p13309Var = "thunk from from >>>" -var p13309 = &p13309Var -var p13320Var = "thunk from from >>>>" -var p13320 = &p13320Var -var p13327Var = "thunk from >" -var p13327 = &p13327Var -var p13336Var = "thunk from from >>" -var p13336 = &p13336Var -var p13348Var = "thunk from >" -var p13348 = &p13348Var -var p13356Var = "thunk from >>" -var p13356 = &p13356Var -var p13363Var = "function " -var p13363 = &p13363Var -var p13376Var = "thunk from >" -var p13376 = &p13376Var -var p13399Var = "thunk from >" -var p13399 = &p13399Var -var p13407Var = "thunk from >" -var p13407 = &p13407Var -var p13412Var = "function " -var p13412 = &p13412Var -var p13423Var = "thunk from >" -var p13423 = &p13423Var -var p13434Var = "thunk from >" -var p13434 = &p13434Var -var p13444Var = "thunk from >" -var p13444 = &p13444Var -var p13457Var = "thunk from from >>" -var p13457 = &p13457Var -var p13469Var = "thunk from from >>" -var p13469 = &p13469Var -var p13479Var = "thunk from >" -var p13479 = &p13479Var -var p13494Var = "thunk from >" -var p13494 = &p13494Var -var p13529Var = "thunk from >" -var p13529 = &p13529Var -var p13539Var = "thunk from from >>" -var p13539 = &p13539Var -var p13563Var = "thunk from from >>>" +var p13243Var = "thunk from >" +var p13243 = &p13243Var +var p13267Var = "thunk from from >>" +var p13267 = &p13267Var +var p13275Var = "thunk from from >>>" +var p13275 = &p13275Var +var p13279Var = "thunk from from >>>>" +var p13279 = &p13279Var +var p13291Var = "thunk from from >>>>" +var p13291 = &p13291Var +var p13307Var = "thunk from >" +var p13307 = &p13307Var +var p13311Var = "thunk from from >>" +var p13311 = &p13311Var +var p13331Var = "thunk from >" +var p13331 = &p13331Var +var p13335Var = "thunk from >>" +var p13335 = &p13335Var +var p13352Var = "thunk from >" +var p13352 = &p13352Var +var p13371Var = "thunk from >" +var p13371 = &p13371Var +var p13375Var = "thunk from >>" +var p13375 = &p13375Var +var p13391Var = "thunk from >>>" +var p13391 = &p13391Var +var p13395Var = "thunk from >>>>" +var p13395 = &p13395Var +var p13416Var = "thunk from >" +var p13416 = &p13416Var +var p13435Var = "thunk from >" +var p13435 = &p13435Var +var p13439Var = "thunk from >>" +var p13439 = &p13439Var +var p13453Var = "thunk from >" +var p13453 = &p13453Var +var p13468Var = "thunk from >" +var p13468 = &p13468Var +var p13480Var = "thunk from >" +var p13480 = &p13480Var +var p13548Var = "thunk from from >>" +var p13548 = &p13548Var +var p13552Var = "thunk from from >>>" +var p13552 = &p13552Var +var p13563Var = "thunk from from >>>>" var p13563 = &p13563Var -var p13568Var = "thunk from from >>>>" -var p13568 = &p13568Var -var p13585Var = "thunk from from >>>" -var p13585 = &p13585Var -var p13597Var = "thunk from >" +var p13579Var = "thunk from >" +var p13579 = &p13579Var +var p13583Var = "thunk from from >>" +var p13583 = &p13583Var +var p13593Var = "function " +var p13593 = &p13593Var +var p13597Var = "thunk from >" var p13597 = &p13597Var -var p13601Var = "thunk from >>" -var p13601 = &p13601Var -var p13622Var = "thunk from >>>" -var p13622 = &p13622Var -var p13628Var = "thunk from >>>>" -var p13628 = &p13628Var -var p13643Var = "thunk from >" -var p13643 = &p13643Var -var p13651Var = "function " -var p13651 = &p13651Var -var p13656Var = "thunk from >" -var p13656 = &p13656Var -var p13667Var = "thunk from from >>" -var p13667 = &p13667Var -var p13679Var = "thunk from from >>" -var p13679 = &p13679Var -var p13683Var = "function " -var p13683 = &p13683Var -var p13692Var = "thunk from >" -var p13692 = &p13692Var -var p13705Var = "thunk from >" -var p13705 = &p13705Var -var p13710Var = "function " -var p13710 = &p13710Var -var p13725Var = "thunk from >" -var p13725 = &p13725Var -var p13749Var = "thunk from >" -var p13749 = &p13749Var -var p13756Var = "thunk from >" -var p13756 = &p13756Var -var p13805Var = "thunk from >" -var p13805 = &p13805Var -var p13837Var = "thunk from >" -var p13837 = &p13837Var -var p13844Var = "thunk from >" -var p13844 = &p13844Var -var p13933Var = "thunk from >" -var p13933 = &p13933Var -var p13952Var = "thunk from >" -var p13952 = &p13952Var -var p14074Var = "thunk from >" -var p14074 = &p14074Var -var p14092Var = "thunk from >" -var p14092 = &p14092Var -var p14101Var = "thunk from from >>" -var p14101 = &p14101Var -var p14104Var = "function " -var p14104 = &p14104Var -var p14134Var = "thunk from >" -var p14134 = &p14134Var -var p14144Var = "function " -var p14144 = &p14144Var -var p14165Var = "thunk from >" -var p14165 = &p14165Var -var p14189Var = "thunk from >" -var p14189 = &p14189Var -var p14194Var = "function " -var p14194 = &p14194Var -var p14209Var = "thunk from >" -var p14209 = &p14209Var -var p14221Var = "thunk from >" -var p14221 = &p14221Var -var p14225Var = "thunk from from >>" -var p14225 = &p14225Var -var p14263Var = "thunk from >" -var p14263 = &p14263Var -var p14283Var = "thunk from from >>" -var p14283 = &p14283Var -var p14327Var = "thunk from >" -var p14327 = &p14327Var -var p14347Var = "thunk from from >>" -var p14347 = &p14347Var -var p14388Var = "thunk from >" -var p14388 = &p14388Var -var p14416Var = "thunk from >" -var p14416 = &p14416Var -var p14426Var = "function " -var p14426 = &p14426Var -var p14430Var = "thunk from >" -var p14430 = &p14430Var -var p14439Var = "thunk from from >>" +var p13602Var = "thunk from >>" +var p13602 = &p13602Var +var p13620Var = "function " +var p13620 = &p13620Var +var p13624Var = "thunk from >" +var p13624 = &p13624Var +var p13645Var = "thunk from >" +var p13645 = &p13645Var +var p13660Var = "function " +var p13660 = &p13660Var +var p13664Var = "thunk from >" +var p13664 = &p13664Var +var p13674Var = "thunk from >" +var p13674 = &p13674Var +var p13686Var = "thunk from >" +var p13686 = &p13686Var +var p13691Var = "thunk from from >>" +var p13691 = &p13691Var +var p13706Var = "thunk from from >>" +var p13706 = &p13706Var +var p13715Var = "thunk from >" +var p13715 = &p13715Var +var p13728Var = "thunk from >" +var p13728 = &p13728Var +var p13765Var = "thunk from >" +var p13765 = &p13765Var +var p13769Var = "thunk from from >>" +var p13769 = &p13769Var +var p13788Var = "thunk from from >>>" +var p13788 = &p13788Var +var p13792Var = "thunk from from >>>>" +var p13792 = &p13792Var +var p13813Var = "thunk from from >>>" +var p13813 = &p13813Var +var p13829Var = "thunk from >>" +var p13829 = &p13829Var +var p13847Var = "thunk from >>>" +var p13847 = &p13847Var +var p13851Var = "thunk from >>>>" +var p13851 = &p13851Var +var p13864Var = "thunk from >" +var p13864 = &p13864Var +var p13881Var = "thunk from >" +var p13881 = &p13881Var +var p13889Var = "thunk from >" +var p13889 = &p13889Var +var p13909Var = "thunk from >" +var p13909 = &p13909Var +var p13913Var = "thunk from from >>" +var p13913 = &p13913Var +var p13928Var = "thunk from from >>" +var p13928 = &p13928Var +var p13949Var = "function " +var p13949 = &p13949Var +var p13953Var = "thunk from >" +var p13953 = &p13953Var +var p13972Var = "thunk from >" +var p13972 = &p13972Var +var p13986Var = "thunk from >" +var p13986 = &p13986Var +var p14032Var = "thunk from >" +var p14032 = &p14032Var +var p14058Var = "thunk from >" +var p14058 = &p14058Var +var p14072Var = "thunk from >" +var p14072 = &p14072Var +var p14158Var = "thunk from >" +var p14158 = &p14158Var +var p14181Var = "thunk from >" +var p14181 = &p14181Var +var p14298Var = "thunk from >" +var p14298 = &p14298Var +var p14322Var = "thunk from >" +var p14322 = &p14322Var +var p14331Var = "thunk from >" +var p14331 = &p14331Var +var p14346Var = "thunk from from >>>" +var p14346 = &p14346Var +var p14353Var = "thunk from from >>" +var p14353 = &p14353Var +var p14360Var = "function " +var p14360 = &p14360Var +var p14372Var = "thunk from >" +var p14372 = &p14372Var +var p14393Var = "function " +var p14393 = &p14393Var +var p14409Var = "thunk from >" +var p14409 = &p14409Var +var p14439Var = "function " var p14439 = &p14439Var -var p14451Var = "thunk from >" -var p14451 = &p14451Var -var p14461Var = "thunk from >>" -var p14461 = &p14461Var -var p14465Var = "function " -var p14465 = &p14465Var -var p14474Var = "thunk from >" -var p14474 = &p14474Var -var p14484Var = "function " -var p14484 = &p14484Var -var p14488Var = "thunk from >" +var p14443Var = "thunk from >" +var p14443 = &p14443Var +var p14459Var = "thunk from from >>" +var p14459 = &p14459Var +var p14488Var = "thunk from >" var p14488 = &p14488Var -var p14497Var = "thunk from from >>" -var p14497 = &p14497Var -var p14509Var = "thunk from >" -var p14509 = &p14509Var -var p14515Var = "function " -var p14515 = &p14515Var -var p14533Var = "function " -var p14533 = &p14533Var -var p14540Var = "thunk from >" -var p14540 = &p14540Var -var p14544Var = "function " -var p14544 = &p14544Var -var p14551Var = "thunk from >" -var p14551 = &p14551Var -var p14560Var = "thunk from from >>" -var p14560 = &p14560Var -var p14576Var = "thunk from >" -var p14576 = &p14576Var -var p14588Var = "thunk from >" -var p14588 = &p14588Var -var p14594Var = "thunk from >" -var p14594 = &p14594Var -var p14600Var = "thunk from from >>" -var p14600 = &p14600Var -var p14611Var = "thunk from >" -var p14611 = &p14611Var -var p14620Var = "thunk from from >>" -var p14620 = &p14620Var -var p14629Var = "function " -var p14629 = &p14629Var -var p14657Var = "thunk from >" -var p14657 = &p14657Var -var p14666Var = "thunk from from >>" -var p14666 = &p14666Var -var p14670Var = "function " -var p14670 = &p14670Var -var p14678Var = "thunk from >" -var p14678 = &p14678Var -var p14689Var = "thunk from >" -var p14689 = &p14689Var -var p14698Var = "thunk from from >>" -var p14698 = &p14698Var -var p14702Var = "function " -var p14702 = &p14702Var -var p14710Var = "thunk from >" -var p14710 = &p14710Var -var p14727Var = "thunk from >" +var p14495Var = "thunk from >" +var p14495 = &p14495Var +var p14512Var = "thunk from from >>" +var p14512 = &p14512Var +var p14556Var = "thunk from >" +var p14556 = &p14556Var +var p14573Var = "thunk from from >>" +var p14573 = &p14573Var +var p14615Var = "thunk from >" +var p14615 = &p14615Var +var p14650Var = "thunk from >" +var p14650 = &p14650Var +var p14658Var = "thunk from >" +var p14658 = &p14658Var +var p14679Var = "thunk from >" +var p14679 = &p14679Var +var p14683Var = "thunk from from >>" +var p14683 = &p14683Var +var p14692Var = "function " +var p14692 = &p14692Var +var p14696Var = "thunk from >" +var p14696 = &p14696Var +var p14708Var = "thunk from >>" +var p14708 = &p14708Var +var p14727Var = "thunk from >" var p14727 = &p14727Var -var p14735Var = "thunk from >" -var p14735 = &p14735Var -var p14747Var = "thunk from >" -var p14747 = &p14747Var -var p14756Var = "thunk from >" -var p14756 = &p14756Var -var p14761Var = "function " -var p14761 = &p14761Var -var p14765Var = "thunk from >" -var p14765 = &p14765Var -var p14774Var = "thunk from from >>" -var p14774 = &p14774Var -var p14777Var = "thunk from >" -var p14777 = &p14777Var -var p14786Var = "thunk from from >>" -var p14786 = &p14786Var -var p14793Var = "thunk from >" -var p14793 = &p14793Var -var p14798Var = "function " -var p14798 = &p14798Var -var p14865Var = "thunk from >" -var p14865 = &p14865Var -var p14877Var = "thunk from >" -var p14877 = &p14877Var -var p14890Var = "thunk from >" -var p14890 = &p14890Var -var p14905Var = "thunk from >>" -var p14905 = &p14905Var -var p14919Var = "thunk from >" +var p14731Var = "thunk from from >>" +var p14731 = &p14731Var +var p14740Var = "function " +var p14740 = &p14740Var +var p14744Var = "thunk from >" +var p14744 = &p14744Var +var p14749Var = "function " +var p14749 = &p14749Var +var p14780Var = "thunk from >" +var p14780 = &p14780Var +var p14784Var = "thunk from from >>" +var p14784 = &p14784Var +var p14790Var = "function " +var p14790 = &p14790Var +var p14799Var = "thunk from >" +var p14799 = &p14799Var +var p14809Var = "thunk from >" +var p14809 = &p14809Var +var p14814Var = "thunk from >" +var p14814 = &p14814Var +var p14819Var = "thunk from from >>" +var p14819 = &p14819Var +var p14832Var = "thunk from >" +var p14832 = &p14832Var +var p14837Var = "thunk from from >>" +var p14837 = &p14837Var +var p14845Var = "function " +var p14845 = &p14845Var +var p14876Var = "thunk from >" +var p14876 = &p14876Var +var p14882Var = "function " +var p14882 = &p14882Var +var p14889Var = "thunk from >" +var p14889 = &p14889Var +var p14894Var = "thunk from from >>" +var p14894 = &p14894Var +var p14906Var = "thunk from >" +var p14906 = &p14906Var +var p14912Var = "function " +var p14912 = &p14912Var +var p14919Var = "thunk from >" var p14919 = &p14919Var -var p14934Var = "thunk from >>" -var p14934 = &p14934Var -var p14947Var = "thunk from >" -var p14947 = &p14947Var -var p14955Var = "thunk from >" -var p14955 = &p14955Var -var p14964Var = "thunk from from >>" -var p14964 = &p14964Var -var p14980Var = "thunk from >" -var p14980 = &p14980Var -var p14990Var = "thunk from >" -var p14990 = &p14990Var -var p15001Var = "thunk from >" -var p15001 = &p15001Var -var p15010Var = "thunk from from >>" +var p14924Var = "thunk from from >>" +var p14924 = &p14924Var +var p14935Var = "thunk from >" +var p14935 = &p14935Var +var p14945Var = "thunk from >" +var p14945 = &p14945Var +var p14957Var = "thunk from >" +var p14957 = &p14957Var +var p14982Var = "thunk from >" +var p14982 = &p14982Var +var p14994Var = "thunk from >" +var p14994 = &p14994Var +var p14998Var = "thunk from from >>" +var p14998 = &p14998Var +var p15006Var = "thunk from >" +var p15006 = &p15006Var +var p15010Var = "thunk from from >>" var p15010 = &p15010Var -var p15028Var = "thunk from >" -var p15028 = &p15028Var -var p15043Var = "thunk from >" -var p15043 = &p15043Var -var p15056Var = "thunk from >" -var p15056 = &p15056Var -var p15065Var = "thunk from >>" -var p15065 = &p15065Var -var p15079Var = "thunk from >>" -var p15079 = &p15079Var -var p15089Var = "function " +var p15019Var = "function " +var p15019 = &p15019Var +var p15077Var = "thunk from >" +var p15077 = &p15077Var +var p15089Var = "thunk from >" var p15089 = &p15089Var -var p15096Var = "thunk from >" -var p15096 = &p15096Var -var p15101Var = "function " -var p15101 = &p15101Var -var p15114Var = "thunk from >" +var p15103Var = "thunk from >" +var p15103 = &p15103Var +var p15114Var = "thunk from >>" var p15114 = &p15114Var -var p15122Var = "thunk from >" -var p15122 = &p15122Var -var p15135Var = "thunk from >" -var p15135 = &p15135Var -var p15150Var = "thunk from >>" -var p15150 = &p15150Var -var p15159Var = "thunk from >" -var p15159 = &p15159Var -var p15174Var = "thunk from >" -var p15174 = &p15174Var -var p15186Var = "thunk from >" -var p15186 = &p15186Var -var p15196Var = "function " -var p15196 = &p15196Var -var p15208Var = "thunk from >" -var p15208 = &p15208Var -var p15217Var = "thunk from >>" +var p15130Var = "thunk from >" +var p15130 = &p15130Var +var p15142Var = "thunk from >>" +var p15142 = &p15142Var +var p15161Var = "thunk from >" +var p15161 = &p15161Var +var p15166Var = "function " +var p15166 = &p15166Var +var p15170Var = "thunk from >" +var p15170 = &p15170Var +var p15179Var = "thunk from >" +var p15179 = &p15179Var +var p15188Var = "thunk from >" +var p15188 = &p15188Var +var p15192Var = "thunk from from >>" +var p15192 = &p15192Var +var p15198Var = "function " +var p15198 = &p15198Var +var p15207Var = "thunk from >" +var p15207 = &p15207Var +var p15217Var = "thunk from >" var p15217 = &p15217Var -var p15228Var = "function " -var p15228 = &p15228Var -var p15243Var = "thunk from >" -var p15243 = &p15243Var -var p15252Var = "thunk from >>" -var p15252 = &p15252Var -var p15256Var = "thunk from >>>" -var p15256 = &p15256Var -var p15268Var = "function " -var p15268 = &p15268Var -var p15276Var = "thunk from >" -var p15276 = &p15276Var -var p15281Var = "function " -var p15281 = &p15281Var -var p15296Var = "thunk from >" -var p15296 = &p15296Var -var p15333Var = "thunk from >" -var p15333 = &p15333Var -var p15360Var = "thunk from >" -var p15360 = &p15360Var -var p15366Var = "thunk from from >>" -var p15366 = &p15366Var -var p15377Var = "thunk from >" -var p15377 = &p15377Var -var p15383Var = "thunk from from >>" -var p15383 = &p15383Var -var p15405Var = "thunk from >" -var p15405 = &p15405Var -var p15427Var = "thunk from >>" -var p15427 = &p15427Var -var p15449Var = "thunk from >" -var p15449 = &p15449Var -var p15468Var = "thunk from >>" -var p15468 = &p15468Var -var p15482Var = "thunk from >" +var p15230Var = "thunk from >" +var p15230 = &p15230Var +var p15235Var = "thunk from from >>" +var p15235 = &p15235Var +var p15250Var = "thunk from >" +var p15250 = &p15250Var +var p15265Var = "thunk from >" +var p15265 = &p15265Var +var p15282Var = "thunk from >" +var p15282 = &p15282Var +var p15286Var = "thunk from >>" +var p15286 = &p15286Var +var p15300Var = "thunk from >>" +var p15300 = &p15300Var +var p15332Var = "function " +var p15332 = &p15332Var +var p15341Var = "thunk from >" +var p15341 = &p15341Var +var p15348Var = "thunk from >" +var p15348 = &p15348Var +var p15359Var = "thunk from >" +var p15359 = &p15359Var +var p15368Var = "thunk from >" +var p15368 = &p15368Var +var p15380Var = "thunk from >>" +var p15380 = &p15380Var +var p15394Var = "thunk from >" +var p15394 = &p15394Var +var p15407Var = "thunk from >" +var p15407 = &p15407Var +var p15415Var = "function " +var p15415 = &p15415Var +var p15419Var = "thunk from >" +var p15419 = &p15419Var +var p15439Var = "function " +var p15439 = &p15439Var +var p15447Var = "thunk from >" +var p15447 = &p15447Var +var p15451Var = "thunk from >>" +var p15451 = &p15451Var +var p15467Var = "function " +var p15467 = &p15467Var +var p15482Var = "thunk from >" var p15482 = &p15482Var -var p15501Var = "thunk from >>" -var p15501 = &p15501Var -var p15514Var = "thunk from >" -var p15514 = &p15514Var -var p15526Var = "function " -var p15526 = &p15526Var -var p15533Var = "thunk from >" -var p15533 = &p15533Var -var p15538Var = "function " -var p15538 = &p15538Var -var p15555Var = "thunk from >" -var p15555 = &p15555Var -var p15570Var = "thunk from >" -var p15570 = &p15570Var -var p15587Var = "thunk from >" -var p15587 = &p15587Var -var p15599Var = "thunk from >" -var p15599 = &p15599Var -var p15612Var = "thunk from >" -var p15612 = &p15612Var -var p15634Var = "thunk from >>" -var p15634 = &p15634Var -var p15651Var = "thunk from >" -var p15651 = &p15651Var -var p15663Var = "thunk from >" -var p15663 = &p15663Var -var p15676Var = "thunk from >" -var p15676 = &p15676Var -var p15697Var = "thunk from >" -var p15697 = &p15697Var -var p15717Var = "thunk from >" -var p15717 = &p15717Var -var p15729Var = "function " -var p15729 = &p15729Var -var p15736Var = "thunk from >" -var p15736 = &p15736Var -var p15741Var = "function " -var p15741 = &p15741Var -var p15756Var = "thunk from >" -var p15756 = &p15756Var -var p15777Var = "thunk from >" -var p15777 = &p15777Var -var p15810Var = "thunk from >" -var p15810 = &p15810Var -var p15822Var = "thunk from >" -var p15822 = &p15822Var -var p15835Var = "thunk from >" -var p15835 = &p15835Var -var p15862Var = "thunk from >" -var p15862 = &p15862Var -var p15874Var = "thunk from >" -var p15874 = &p15874Var -var p15887Var = "thunk from >" -var p15887 = &p15887Var -var p15906Var = "thunk from >>" -var p15906 = &p15906Var -var p15920Var = "thunk from >" -var p15920 = &p15920Var -var p15940Var = "thunk from >" -var p15940 = &p15940Var -var p15953Var = "function " -var p15953 = &p15953Var -var p15964Var = "thunk from >" -var p15964 = &p15964Var -var p15972Var = "thunk from >" -var p15972 = &p15972Var -var p15983Var = "thunk from from >>" -var p15983 = &p15983Var -var p15994Var = "thunk from >" -var p15994 = &p15994Var -var p16005Var = "thunk from from >>" -var p16005 = &p16005Var -var p16016Var = "thunk from from >>" -var p16016 = &p16016Var -var p16037Var = "thunk from >" -var p16037 = &p16037Var -var p16050Var = "thunk from from >>" -var p16050 = &p16050Var -var p16062Var = "thunk from from >>" -var p16062 = &p16062Var -var p16069Var = "thunk from >" -var p16069 = &p16069Var -var p16078Var = "thunk from from >>" -var p16078 = &p16078Var -var p16089Var = "thunk from from >>>" -var p16089 = &p16089Var -var p16121Var = "object " -var p16121 = &p16121Var -var p16134Var = "thunk from >" -var p16134 = &p16134Var -var p16159Var = "thunk from >" -var p16159 = &p16159Var -var p16173Var = "thunk from >" +var p15488Var = "thunk from >>>" +var p15488 = &p15488Var +var p15490Var = "thunk from >>" +var p15490 = &p15490Var +var p15515Var = "function " +var p15515 = &p15515Var +var p15519Var = "thunk from >" +var p15519 = &p15519Var +var p15554Var = "thunk from >" +var p15554 = &p15554Var +var p15583Var = "thunk from >" +var p15583 = &p15583Var +var p15588Var = "thunk from from >>" +var p15588 = &p15588Var +var p15598Var = "thunk from >" +var p15598 = &p15598Var +var p15603Var = "thunk from from >>" +var p15603 = &p15603Var +var p15622Var = "thunk from >" +var p15622 = &p15622Var +var p15641Var = "thunk from >>" +var p15641 = &p15641Var +var p15664Var = "thunk from >" +var p15664 = &p15664Var +var p15680Var = "thunk from >>" +var p15680 = &p15680Var +var p15696Var = "thunk from >" +var p15696 = &p15696Var +var p15712Var = "thunk from >>" +var p15712 = &p15712Var +var p15737Var = "thunk from >" +var p15737 = &p15737Var +var p15742Var = "function " +var p15742 = &p15742Var +var p15746Var = "thunk from >" +var p15746 = &p15746Var +var p15774Var = "function " +var p15774 = &p15774Var +var p15778Var = "thunk from >" +var p15778 = &p15778Var +var p15793Var = "thunk from >" +var p15793 = &p15793Var +var p15811Var = "thunk from >" +var p15811 = &p15811Var +var p15823Var = "thunk from >" +var p15823 = &p15823Var +var p15836Var = "thunk from >" +var p15836 = &p15836Var +var p15855Var = "thunk from >>" +var p15855 = &p15855Var +var p15873Var = "thunk from >" +var p15873 = &p15873Var +var p15885Var = "thunk from >" +var p15885 = &p15885Var +var p15898Var = "thunk from >" +var p15898 = &p15898Var +var p15918Var = "thunk from >" +var p15918 = &p15918Var +var p15941Var = "thunk from >" +var p15941 = &p15941Var +var p15946Var = "function " +var p15946 = &p15946Var +var p15950Var = "thunk from >" +var p15950 = &p15950Var +var p15976Var = "function " +var p15976 = &p15976Var +var p15980Var = "thunk from >" +var p15980 = &p15980Var +var p15999Var = "thunk from >" +var p15999 = &p15999Var +var p16032Var = "thunk from >" +var p16032 = &p16032Var +var p16044Var = "thunk from >" +var p16044 = &p16044Var +var p16057Var = "thunk from >" +var p16057 = &p16057Var +var p16082Var = "thunk from >" +var p16082 = &p16082Var +var p16094Var = "thunk from >" +var p16094 = &p16094Var +var p16107Var = "thunk from >" +var p16107 = &p16107Var +var p16123Var = "thunk from >>" +var p16123 = &p16123Var +var p16139Var = "thunk from >" +var p16139 = &p16139Var +var p16164Var = "thunk from >" +var p16164 = &p16164Var +var p16169Var = "function " +var p16169 = &p16169Var +var p16173Var = "thunk from >" var p16173 = &p16173Var -var p16191Var = "thunk from >" -var p16191 = &p16191Var -var p16212Var = "thunk from >" -var p16212 = &p16212Var -var p16225Var = "function " -var p16225 = &p16225Var -var p16239Var = "thunk from >" -var p16239 = &p16239Var -var p16258Var = "function " -var p16258 = &p16258Var -var p16268Var = "thunk from >" -var p16268 = &p16268Var -var p16276Var = "function " -var p16276 = &p16276Var -var p16286Var = "thunk from >" -var p16286 = &p16286Var -var p16294Var = "function " -var p16294 = &p16294Var -var p16304Var = "thunk from >" -var p16304 = &p16304Var -var p16314Var = "function " -var p16314 = &p16314Var -var p16324Var = "thunk from >" -var p16324 = &p16324Var -var p16348Var = "thunk from >" -var p16348 = &p16348Var -var p16355Var = "function " -var p16355 = &p16355Var -var p16364Var = "thunk from >" -var p16364 = &p16364Var -var p16385Var = "thunk from >" -var p16385 = &p16385Var -var p16392Var = "function " -var p16392 = &p16392Var -var p16401Var = "thunk from >" -var p16401 = &p16401Var -var p16409Var = "function " -var p16409 = &p16409Var -var p16413Var = "thunk from >" -var p16413 = &p16413Var -var p16422Var = "thunk from from >>" -var p16422 = &p16422Var -var p16429Var = "thunk from >" -var p16429 = &p16429Var -var p16438Var = "thunk from from >>" -var p16438 = &p16438Var -var p16454Var = "thunk from >" -var p16454 = &p16454Var -var p16473Var = "thunk from >" -var p16473 = &p16473Var -var p16481Var = "thunk from >" -var p16481 = &p16481Var -var p16490Var = "thunk from from >>" -var p16490 = &p16490Var -var p16506Var = "thunk from >" -var p16506 = &p16506Var -var p16517Var = "thunk from >>" -var p16517 = &p16517Var -var p16527Var = "thunk from >" -var p16527 = &p16527Var -var p16532Var = "function " -var p16532 = &p16532Var -var p16569Var = "thunk from >" -var p16569 = &p16569Var -var p16585Var = "thunk from >" -var p16585 = &p16585Var -var p16602Var = "thunk from >" -var p16602 = &p16602Var -var p16610Var = "thunk from >" -var p16610 = &p16610Var -var p16619Var = "thunk from from >>" -var p16619 = &p16619Var -var p16626Var = "thunk from >" -var p16626 = &p16626Var -var p16635Var = "thunk from from >>" -var p16635 = &p16635Var -var p16653Var = "thunk from >" -var p16653 = &p16653Var -var p16663Var = "thunk from >" -var p16663 = &p16663Var -var p16668Var = "function " -var p16668 = &p16668Var -var p16685Var = "thunk from >" -var p16685 = &p16685Var -var p16715Var = "thunk from >" -var p16715 = &p16715Var -var p16731Var = "thunk from >" -var p16731 = &p16731Var -var p16747Var = "thunk from >" -var p16747 = &p16747Var -var p16757Var = "function " -var p16757 = &p16757Var -var p16761Var = "thunk from >" -var p16761 = &p16761Var -var p16770Var = "thunk from from >>" -var p16770 = &p16770Var -var p16783Var = "thunk from >" -var p16783 = &p16783Var -var p16795Var = "thunk from >>" -var p16795 = &p16795Var -var p16806Var = "thunk from >>>" +var p16195Var = "function " +var p16195 = &p16195Var +var p16199Var = "thunk from >" +var p16199 = &p16199Var +var p16210Var = "thunk from >" +var p16210 = &p16210Var +var p16214Var = "thunk from from >>" +var p16214 = &p16214Var +var p16230Var = "thunk from >" +var p16230 = &p16230Var +var p16234Var = "thunk from from >>" +var p16234 = &p16234Var +var p16245Var = "thunk from from >>" +var p16245 = &p16245Var +var p16264Var = "thunk from >" +var p16264 = &p16264Var +var p16275Var = "thunk from from >>" +var p16275 = &p16275Var +var p16290Var = "thunk from from >>" +var p16290 = &p16290Var +var p16301Var = "thunk from >" +var p16301 = &p16301Var +var p16305Var = "thunk from from >>" +var p16305 = &p16305Var +var p16315Var = "thunk from from >>>" +var p16315 = &p16315Var +var p16347Var = "object " +var p16347 = &p16347Var +var p16351Var = "thunk from >" +var p16351 = &p16351Var +var p16374Var = "thunk from >" +var p16374 = &p16374Var +var p16389Var = "thunk from >" +var p16389 = &p16389Var +var p16407Var = "thunk from >" +var p16407 = &p16407Var +var p16437Var = "thunk from >" +var p16437 = &p16437Var +var p16468Var = "function " +var p16468 = &p16468Var +var p16472Var = "thunk from >" +var p16472 = &p16472Var +var p16501Var = "function " +var p16501 = &p16501Var +var p16505Var = "thunk from >" +var p16505 = &p16505Var +var p16519Var = "function " +var p16519 = &p16519Var +var p16523Var = "thunk from >" +var p16523 = &p16523Var +var p16537Var = "function " +var p16537 = &p16537Var +var p16541Var = "thunk from >" +var p16541 = &p16541Var +var p16557Var = "function " +var p16557 = &p16557Var +var p16561Var = "thunk from >" +var p16561 = &p16561Var +var p16583Var = "thunk from >" +var p16583 = &p16583Var +var p16596Var = "function " +var p16596 = &p16596Var +var p16600Var = "thunk from >" +var p16600 = &p16600Var +var p16620Var = "thunk from >" +var p16620 = &p16620Var +var p16633Var = "function " +var p16633 = &p16633Var +var p16637Var = "thunk from >" +var p16637 = &p16637Var +var p16652Var = "thunk from >" +var p16652 = &p16652Var +var p16656Var = "thunk from from >>" +var p16656 = &p16656Var +var p16666Var = "thunk from >" +var p16666 = &p16666Var +var p16670Var = "thunk from from >>" +var p16670 = &p16670Var +var p16680Var = "function " +var p16680 = &p16680Var +var p16684Var = "thunk from >" +var p16684 = &p16684Var +var p16701Var = "thunk from >" +var p16701 = &p16701Var +var p16712Var = "thunk from >" +var p16712 = &p16712Var +var p16716Var = "thunk from from >>" +var p16716 = &p16716Var +var p16729Var = "thunk from >" +var p16729 = &p16729Var +var p16739Var = "thunk from >>" +var p16739 = &p16739Var +var p16752Var = "function " +var p16752 = &p16752Var +var p16782Var = "thunk from >" +var p16782 = &p16782Var +var p16798Var = "thunk from >" +var p16798 = &p16798Var +var p16806Var = "thunk from >" var p16806 = &p16806Var -var p16813Var = "function " -var p16813 = &p16813Var -var p16823Var = "thunk from >>" -var p16823 = &p16823Var -var p16831Var = "function " -var p16831 = &p16831Var -var p16835Var = "thunk from >" -var p16835 = &p16835Var -var p16840Var = "function " -var p16840 = &p16840Var -var p16861Var = "thunk from >" -var p16861 = &p16861Var -var p16875Var = "thunk from >" -var p16875 = &p16875Var -var p16890Var = "thunk from >" -var p16890 = &p16890Var -var p16904Var = "thunk from >" -var p16904 = &p16904Var -var p16922Var = "thunk from >" -var p16922 = &p16922Var -var p16943Var = "thunk from >" -var p16943 = &p16943Var -var p16952Var = "thunk from >>" -var p16952 = &p16952Var -var p16958Var = "thunk from >" -var p16958 = &p16958Var -var p16967Var = "thunk from >>" -var p16967 = &p16967Var -var p16984Var = "thunk from >" -var p16984 = &p16984Var -var p17013Var = "thunk from >" -var p17013 = &p17013Var -var p17022Var = "thunk from >>" -var p17022 = &p17022Var -var p17037Var = "object " -var p17037 = &p17037Var -var p17046Var = "thunk from >" -var p17046 = &p17046Var -var p17062Var = "thunk from >" -var p17062 = &p17062Var -var p17073Var = "function " +var p16828Var = "thunk from >" +var p16828 = &p16828Var +var p16839Var = "thunk from >" +var p16839 = &p16839Var +var p16843Var = "thunk from from >>" +var p16843 = &p16843Var +var p16853Var = "thunk from >" +var p16853 = &p16853Var +var p16857Var = "thunk from from >>" +var p16857 = &p16857Var +var p16870Var = "thunk from >" +var p16870 = &p16870Var +var p16884Var = "function " +var p16884 = &p16884Var +var p16896Var = "thunk from >" +var p16896 = &p16896Var +var p16924Var = "thunk from >" +var p16924 = &p16924Var +var p16940Var = "thunk from >" +var p16940 = &p16940Var +var p16948Var = "thunk from >" +var p16948 = &p16948Var +var p16972Var = "thunk from >" +var p16972 = &p16972Var +var p17000Var = "thunk from >" +var p17000 = &p17000Var +var p17004Var = "thunk from from >>" +var p17004 = &p17004Var +var p17014Var = "function " +var p17014 = &p17014Var +var p17018Var = "thunk from >" +var p17018 = &p17018Var +var p17023Var = "thunk from >>" +var p17023 = &p17023Var +var p17035Var = "thunk from >>" +var p17035 = &p17035Var +var p17044Var = "thunk from >>>" +var p17044 = &p17044Var +var p17051Var = "function " +var p17051 = &p17051Var +var p17073Var = "function " var p17073 = &p17073Var -var p17086Var = "thunk from >" -var p17086 = &p17086Var -var p17103Var = "thunk from >" -var p17103 = &p17103Var -var p17119Var = "thunk from >" -var p17119 = &p17119Var -var p17136Var = "thunk from >" -var p17136 = &p17136Var -var p17144Var = "thunk from >" -var p17144 = &p17144Var -var p17153Var = "thunk from from >>" -var p17153 = &p17153Var -var p17160Var = "thunk from >" -var p17160 = &p17160Var -var p17169Var = "thunk from from >>" -var p17169 = &p17169Var -var p17207Var = "thunk from >" -var p17207 = &p17207Var -var p17211Var = "function " -var p17211 = &p17211Var -var p17243Var = "thunk from >>" +var p17088Var = "thunk from >" +var p17088 = &p17088Var +var p17102Var = "thunk from >" +var p17102 = &p17102Var +var p17115Var = "thunk from >" +var p17115 = &p17115Var +var p17129Var = "thunk from >" +var p17129 = &p17129Var +var p17143Var = "thunk from >" +var p17143 = &p17143Var +var p17151Var = "function " +var p17151 = &p17151Var +var p17155Var = "thunk from >" +var p17155 = &p17155Var +var p17176Var = "thunk from >" +var p17176 = &p17176Var +var p17180Var = "thunk from >>" +var p17180 = &p17180Var +var p17191Var = "thunk from >" +var p17191 = &p17191Var +var p17195Var = "thunk from >>" +var p17195 = &p17195Var +var p17215Var = "thunk from >" +var p17215 = &p17215Var +var p17243Var = "thunk from >" var p17243 = &p17243Var -var p17256Var = "function " -var p17256 = &p17256Var -var p17269Var = "thunk from >" -var p17269 = &p17269Var -var p17286Var = "thunk from >" -var p17286 = &p17286Var -var p17299Var = "thunk from >" -var p17299 = &p17299Var -var p17303Var = "function " -var p17303 = &p17303Var -var p17322Var = "thunk from >>" -var p17322 = &p17322Var -var p17334Var = "thunk from >>>" +var p17248Var = "thunk from >>" +var p17248 = &p17248Var +var p17266Var = "object " +var p17266 = &p17266Var +var p17271Var = "thunk from >" +var p17271 = &p17271Var +var p17291Var = "thunk from >" +var p17291 = &p17291Var +var p17316Var = "function " +var p17316 = &p17316Var +var p17320Var = "thunk from >" +var p17320 = &p17320Var +var p17334Var = "thunk from >" var p17334 = &p17334Var -var p17343Var = "function " -var p17343 = &p17343Var -var p17347Var = "thunk from >" -var p17347 = &p17347Var -var p17356Var = "thunk from from >>" -var p17356 = &p17356Var -var p17359Var = "thunk from >" -var p17359 = &p17359Var -var p17368Var = "thunk from from >>" -var p17368 = &p17368Var -var p17412Var = "thunk from >" -var p17412 = &p17412Var -var p17478Var = "function " -var p17478 = &p17478Var -var p17482Var = "thunk from >" -var p17482 = &p17482Var -var p17491Var = "thunk from from >>" -var p17491 = &p17491Var -var p17494Var = "thunk from >" -var p17494 = &p17494Var -var p17503Var = "thunk from from >>" +var p17351Var = "thunk from >" +var p17351 = &p17351Var +var p17365Var = "thunk from >" +var p17365 = &p17365Var +var p17379Var = "thunk from >" +var p17379 = &p17379Var +var p17383Var = "thunk from from >>" +var p17383 = &p17383Var +var p17393Var = "thunk from >" +var p17393 = &p17393Var +var p17397Var = "thunk from from >>" +var p17397 = &p17397Var +var p17434Var = "function " +var p17434 = &p17434Var +var p17457Var = "thunk from >" +var p17457 = &p17457Var +var p17467Var = "thunk from >>" +var p17467 = &p17467Var +var p17499Var = "function " +var p17499 = &p17499Var +var p17503Var = "thunk from >" var p17503 = &p17503Var -var p17510Var = "thunk from >" -var p17510 = &p17510Var -var p17519Var = "thunk from from >>" -var p17519 = &p17519Var -var p17528Var = "thunk from >" -var p17528 = &p17528Var -var p17533Var = "function " -var p17533 = &p17533Var -var p17546Var = "thunk from >" -var p17546 = &p17546Var -var p17555Var = "thunk from from >>" +var p17517Var = "thunk from >" +var p17517 = &p17517Var +var p17535Var = "function " +var p17535 = &p17535Var +var p17545Var = "thunk from >" +var p17545 = &p17545Var +var p17555Var = "thunk from >>" var p17555 = &p17555Var -var p17586Var = "thunk from >" -var p17586 = &p17586Var -var p17602Var = "thunk from >" -var p17602 = &p17602Var -var p17613Var = "thunk from >" -var p17613 = &p17613Var -var p17619Var = "function " -var p17619 = &p17619Var -var p17630Var = "thunk from >" -var p17630 = &p17630Var -var p17641Var = "function " -var p17641 = &p17641Var -var p17652Var = "thunk from >" -var p17652 = &p17652Var -var p17662Var = "function " -var p17662 = &p17662Var -var p17673Var = "thunk from >" -var p17673 = &p17673Var -var p17683Var = "function " -var p17683 = &p17683Var -var p17694Var = "thunk from >" +var p17566Var = "thunk from >>>" +var p17566 = &p17566Var +var p17585Var = "function " +var p17585 = &p17585Var +var p17589Var = "thunk from >" +var p17589 = &p17589Var +var p17599Var = "thunk from >" +var p17599 = &p17599Var +var p17603Var = "thunk from from >>" +var p17603 = &p17603Var +var p17612Var = "function " +var p17612 = &p17612Var +var p17623Var = "thunk from >" +var p17623 = &p17623Var +var p17637Var = "thunk from >" +var p17637 = &p17637Var +var p17654Var = "thunk from >" +var p17654 = &p17654Var +var p17671Var = "thunk from >" +var p17671 = &p17671Var +var p17682Var = "thunk from >>" +var p17682 = &p17682Var +var p17694Var = "thunk from >" var p17694 = &p17694Var -var p17701Var = "object " -var p17701 = &p17701Var -var p17703Var = "object " -var p17703 = &p17703Var -var p17706Var = "function " -var p17706 = &p17706Var -var p17709Var = "object " -var p17709 = &p17709Var -var p17715Var = "function " -var p17715 = &p17715Var -var p17718Var = "function " +var p17702Var = "thunk from >" +var p17702 = &p17702Var +var p17718Var = "thunk from >" var p17718 = &p17718Var -var p17721Var = "function " -var p17721 = &p17721Var -var p17724Var = "function " -var p17724 = &p17724Var -var p17726Var = "function " -var p17726 = &p17726Var -var p17729Var = "function " -var p17729 = &p17729Var -var p17732Var = "function " -var p17732 = &p17732Var -var p17736Var = "function " -var p17736 = &p17736Var -var p17740Var = "thunk from >" -var p17740 = &p17740Var -var p17743Var = "thunk from >" -var p17743 = &p17743Var -var p17750Var = "thunk from from >>" -var p17750 = &p17750Var -var p17753Var = "function " +var p17735Var = "function " +var p17735 = &p17735Var +var p17739Var = "thunk from >" +var p17739 = &p17739Var +var p17749Var = "thunk from >" +var p17749 = &p17749Var +var p17753Var = "thunk from from >>" var p17753 = &p17753Var -var p17757Var = "thunk from >" -var p17757 = &p17757Var -var p17760Var = "thunk from >" -var p17760 = &p17760Var -var p17767Var = "thunk from from >>" -var p17767 = &p17767Var -var p17770Var = "function " -var p17770 = &p17770Var -var p17774Var = "thunk from >" -var p17774 = &p17774Var -var p17777Var = "thunk from >" -var p17777 = &p17777Var -var p17784Var = "thunk from from >>" -var p17784 = &p17784Var -var p17787Var = "function " +var p17762Var = "function " +var p17762 = &p17762Var +var p17773Var = "thunk from >" +var p17773 = &p17773Var +var p17787Var = "thunk from >" var p17787 = &p17787Var -var p17791Var = "thunk from >" -var p17791 = &p17791Var -var p17796Var = "function " -var p17796 = &p17796Var -var p17800Var = "thunk from >" -var p17800 = &p17800Var -var p17803Var = "thunk from >" -var p17803 = &p17803Var -var p17810Var = "thunk from from >>" -var p17810 = &p17810Var -var p17814Var = "function " -var p17814 = &p17814Var -var p17818Var = "thunk from >" -var p17818 = &p17818Var -var p17821Var = "thunk from >" -var p17821 = &p17821Var -var p17824Var = "thunk from >" -var p17824 = &p17824Var -var p17827Var = "thunk from >" -var p17827 = &p17827Var -var p17830Var = "thunk from >" +var p17802Var = "thunk from >" +var p17802 = &p17802Var +var p17819Var = "thunk from >" +var p17819 = &p17819Var +var p17830Var = "thunk from >>" var p17830 = &p17830Var -var p17833Var = "thunk from >" -var p17833 = &p17833Var -var p17837Var = "thunk from >" -var p17837 = &p17837Var -var p17840Var = "thunk from >" -var p17840 = &p17840Var -var p17843Var = "thunk from >" -var p17843 = &p17843Var -var p17846Var = "thunk from >" -var p17846 = &p17846Var -var p17849Var = "thunk from >" -var p17849 = &p17849Var -var p17852Var = "thunk from >" -var p17852 = &p17852Var -var p17855Var = "thunk from >" -var p17855 = &p17855Var -var p17858Var = "thunk from >" -var p17858 = &p17858Var -var p17861Var = "thunk from >" -var p17861 = &p17861Var -var p17865Var = "thunk from >" -var p17865 = &p17865Var -var p17868Var = "thunk from >" -var p17868 = &p17868Var -var p17871Var = "thunk from >" -var p17871 = &p17871Var -var p17874Var = "thunk from >" -var p17874 = &p17874Var -var p17878Var = "thunk from >" -var p17878 = &p17878Var -var p17881Var = "thunk from >" -var p17881 = &p17881Var -var p17886Var = "function " -var p17886 = &p17886Var -var p17889Var = "function " -var p17889 = &p17889Var -var p17892Var = "function " -var p17892 = &p17892Var -var p17895Var = "function " -var p17895 = &p17895Var -var p17897Var = "function " -var p17897 = &p17897Var -var p17900Var = "function " +var p17842Var = "thunk from >" +var p17842 = &p17842Var +var p17850Var = "thunk from >" +var p17850 = &p17850Var +var p17866Var = "thunk from >" +var p17866 = &p17866Var +var p17884Var = "thunk from >" +var p17884 = &p17884Var +var p17888Var = "thunk from from >>" +var p17888 = &p17888Var +var p17896Var = "thunk from >" +var p17896 = &p17896Var +var p17900Var = "thunk from from >>" var p17900 = &p17900Var -var p17903Var = "function " -var p17903 = &p17903Var -var p17906Var = "function " +var p17906Var = "function " var p17906 = &p17906Var -var p17909Var = "function " -var p17909 = &p17909Var -var p17913Var = "function " -var p17913 = &p17913Var -var p17916Var = "function " -var p17916 = &p17916Var -var p17919Var = "function " -var p17919 = &p17919Var -var p17932Var = "function " -var p17932 = &p17932Var -var p17934Var = "function " -var p17934 = &p17934Var -var p17938Var = "thunk from >" -var p17938 = &p17938Var -var p17941Var = "thunk from >" +var p17941Var = "thunk from >" var p17941 = &p17941Var -var p17944Var = "function " -var p17944 = &p17944Var -var p17947Var = "function " -var p17947 = &p17947Var -var p17955Var = "thunk from >" -var p17955 = &p17955Var -var p17958Var = "thunk from >" -var p17958 = &p17958Var -var p17961Var = "thunk from >" -var p17961 = &p17961Var -var p17968Var = "thunk from >>" -var p17968 = &p17968Var -var p17971Var = "thunk from >" -var p17971 = &p17971Var -var p17983Var = "function " -var p17983 = &p17983Var -var p17985Var = "function " -var p17985 = &p17985Var -var p17988Var = "object " -var p17988 = &p17988Var -var p18012Var = "object " -var p18012 = &p18012Var -var p18016Var = "object " -var p18016 = &p18016Var -var p18019Var = "object " +var p18019Var = "thunk from >" var p18019 = &p18019Var -var p18022Var = "object " -var p18022 = &p18022Var -var p18025Var = "object " -var p18025 = &p18025Var -var p18028Var = "object " -var p18028 = &p18028Var -var p18031Var = "object " +var p18023Var = "thunk from from >>" +var p18023 = &p18023Var +var p18031Var = "thunk from >" var p18031 = &p18031Var -var p18038Var = "thunk from >" -var p18038 = &p18038Var -var p18040Var = "thunk from >" -var p18040 = &p18040Var -var p1 = &ast.Source{ +var p18035Var = "thunk from from >>" +var p18035 = &p18035Var +var p18045Var = "thunk from >" +var p18045 = &p18045Var +var p18049Var = "thunk from from >>" +var p18049 = &p18049Var +var p18060Var = "function " +var p18060 = &p18060Var +var p18072Var = "thunk from >" +var p18072 = &p18072Var +var p18077Var = "thunk from from >>" +var p18077 = &p18077Var +var p18105Var = "thunk from >" +var p18105 = &p18105Var +var p18124Var = "thunk from >" +var p18124 = &p18124Var +var p18133Var = "thunk from >" +var p18133 = &p18133Var +var p18138Var = "function " +var p18138 = &p18138Var +var p18142Var = "thunk from >" +var p18142 = &p18142Var +var p18157Var = "function " +var p18157 = &p18157Var +var p18166Var = "thunk from >" +var p18166 = &p18166Var +var p18178Var = "function " +var p18178 = &p18178Var +var p18187Var = "thunk from >" +var p18187 = &p18187Var +var p18199Var = "function " +var p18199 = &p18199Var +var p18208Var = "thunk from >" +var p18208 = &p18208Var +var p18220Var = "function " +var p18220 = &p18220Var +var p18229Var = "thunk from >" +var p18229 = &p18229Var +var p18239Var = "object " +var p18239 = &p18239Var +var p18242Var = "function " +var p18242 = &p18242Var +var p18245Var = "object " +var p18245 = &p18245Var +var p18251Var = "function " +var p18251 = &p18251Var +var p18253Var = "function " +var p18253 = &p18253Var +var p18255Var = "function " +var p18255 = &p18255Var +var p18259Var = "function " +var p18259 = &p18259Var +var p18261Var = "function " +var p18261 = &p18261Var +var p18263Var = "function " +var p18263 = &p18263Var +var p18265Var = "function " +var p18265 = &p18265Var +var p18274Var = "thunk from >" +var p18274 = &p18274Var +var p18278Var = "thunk from from >>" +var p18278 = &p18278Var +var p18279Var = "thunk from >" +var p18279 = &p18279Var +var p18288Var = "thunk from >" +var p18288 = &p18288Var +var p18292Var = "thunk from from >>" +var p18292 = &p18292Var +var p18293Var = "thunk from >" +var p18293 = &p18293Var +var p18302Var = "thunk from >" +var p18302 = &p18302Var +var p18306Var = "thunk from from >>" +var p18306 = &p18306Var +var p18307Var = "thunk from >" +var p18307 = &p18307Var +var p18319Var = "thunk from >" +var p18319 = &p18319Var +var p18323Var = "thunk from from >>" +var p18323 = &p18323Var +var p18325Var = "thunk from >" +var p18325 = &p18325Var +var p18332Var = "thunk from >" +var p18332 = &p18332Var +var p18335Var = "thunk from >" +var p18335 = &p18335Var +var p18337Var = "thunk from >" +var p18337 = &p18337Var +var p18341Var = "thunk from >" +var p18341 = &p18341Var +var p18344Var = "thunk from >" +var p18344 = &p18344Var +var p18348Var = "thunk from >" +var p18348 = &p18348Var +var p18350Var = "thunk from >" +var p18350 = &p18350Var +var p18352Var = "thunk from >" +var p18352 = &p18352Var +var p18357Var = "thunk from >" +var p18357 = &p18357Var +var p18360Var = "thunk from >" +var p18360 = &p18360Var +var p18362Var = "thunk from >" +var p18362 = &p18362Var +var p18366Var = "thunk from >" +var p18366 = &p18366Var +var p18369Var = "thunk from >" +var p18369 = &p18369Var +var p18373Var = "thunk from >" +var p18373 = &p18373Var +var p18375Var = "thunk from >" +var p18375 = &p18375Var +var p18377Var = "thunk from >" +var p18377 = &p18377Var +var p18381Var = "thunk from >" +var p18381 = &p18381Var +var p18385Var = "thunk from >" +var p18385 = &p18385Var +var p18387Var = "thunk from >" +var p18387 = &p18387Var +var p18390Var = "thunk from >" +var p18390 = &p18390Var +var p18393Var = "thunk from >" +var p18393 = &p18393Var +var p18399Var = "function " +var p18399 = &p18399Var +var p18402Var = "function " +var p18402 = &p18402Var +var p18404Var = "function " +var p18404 = &p18404Var +var p18408Var = "function " +var p18408 = &p18408Var +var p18410Var = "function " +var p18410 = &p18410Var +var p18412Var = "function " +var p18412 = &p18412Var +var p18414Var = "function " +var p18414 = &p18414Var +var p18418Var = "function " +var p18418 = &p18418Var +var p18422Var = "function " +var p18422 = &p18422Var +var p18426Var = "function " +var p18426 = &p18426Var +var p18428Var = "function " +var p18428 = &p18428Var +var p18430Var = "function " +var p18430 = &p18430Var +var p18441Var = "function " +var p18441 = &p18441Var +var p18445Var = "thunk from >" +var p18445 = &p18445Var +var p18448Var = "thunk from >" +var p18448 = &p18448Var +var p18450Var = "function " +var p18450 = &p18450Var +var p18456Var = "function " +var p18456 = &p18456Var +var p18459Var = "function " +var p18459 = &p18459Var +var p18462Var = "thunk from >" +var p18462 = &p18462Var +var p18470Var = "function " +var p18470 = &p18470Var +var p18474Var = "thunk from >" +var p18474 = &p18474Var +var p18481Var = "thunk from >" +var p18481 = &p18481Var +var p18485Var = "thunk from >>" +var p18485 = &p18485Var +var p18487Var = "thunk from >" +var p18487 = &p18487Var +var p18490Var = "thunk from >" +var p18490 = &p18490Var +var p18491Var = "function " +var p18491 = &p18491Var +var p18494Var = "function " +var p18494 = &p18494Var +var p18497Var = "function " +var p18497 = &p18497Var +var p18500Var = "function " +var p18500 = &p18500Var +var p18504Var = "function " +var p18504 = &p18504Var +var p18515Var = "function " +var p18515 = &p18515Var +var p18517Var = "function " +var p18517 = &p18517Var +var p18523Var = "object " +var p18523 = &p18523Var +var p18526Var = "object " +var p18526 = &p18526Var +var p18548Var = "object " +var p18548 = &p18548Var +var p18551Var = "object " +var p18551 = &p18551Var +var p18553Var = "object " +var p18553 = &p18553Var +var p18556Var = "object " +var p18556 = &p18556Var +var p18558Var = "object " +var p18558 = &p18558Var +var p18568Var = "object " +var p18568 = &p18568Var +var p18572Var = "thunk from >" +var p18572 = &p18572Var +var p18574Var = "thunk from >" +var p18574 = &p18574Var +var p18575Var = "object " +var p18575 = &p18575Var +var p18583Var = "$" +var p18583 = &p18583Var +var p8 = &ast.Source{ + DiagnosticFileName: "", Lines: []string{ "/*\n", "Copyright 2015 Google Inc. All rights reserved.\n", @@ -2879,26 +2968,38 @@ var p1 = &ast.Source{ " parse_nat(str, 16),\n", "\n", " split(str, c)::\n", - " assert std.isString(str) : 'std.split first parameter should be a string, got ' + std.type(str);\n", - " assert std.isString(c) : 'std.split second parameter should be a string, got ' + std.type(c);\n", - " assert std.length(c) == 1 : 'std.split second parameter should have length 1, got ' + std.length(c);\n", + " assert std.isString(str) : 'std.split first parameter must be a String, got ' + std.type(str);\n", + " assert std.isString(c) : 'std.split second parameter must be a String, got ' + std.type(c);\n", + " assert std.length(c) >= 1 : 'std.split second parameter must have length 1 or greater, got ' + std.length(c);\n", " std.splitLimit(str, c, -1),\n", "\n", " splitLimit(str, c, maxsplits)::\n", - " assert std.isString(str) : 'std.splitLimit first parameter should be a string, got ' + std.type(str);\n", - " assert std.isString(c) : 'std.splitLimit second parameter should be a string, got ' + std.type(c);\n", - " assert std.length(c) == 1 : 'std.splitLimit second parameter should have length 1, got ' + std.length(c);\n", - " assert std.isNumber(maxsplits) : 'std.splitLimit third parameter should be a number, got ' + std.type(maxsplits);\n", - " local aux(str, delim, i, arr, v) =\n", - " local c = str[i];\n", - " local i2 = i + 1;\n", - " if i >= std.length(str) then\n", - " arr + [v]\n", - " else if c == delim && (maxsplits == -1 || std.length(arr) < maxsplits) then\n", - " aux(str, delim, i2, arr + [v], '') tailstrict\n", + " assert std.isString(str) : 'str.splitLimit first parameter must be a String, got ' + std.type(str);\n", + " assert std.isString(c) : 'str.splitLimit second parameter must be a String, got ' + std.type(c);\n", + " assert std.length(c) >= 1 : 'std.splitLimit second parameter must have length 1 or greater, got ' + std.length(c);\n", + " assert std.isNumber(maxsplits) : 'str.splitLimit third parameter must be a Number, got ' + std.type(maxsplits);\n", + " local strLen = std.length(str);\n", + " local cLen = std.length(c);\n", + " local aux(idx, ret, val) =\n", + " if idx >= strLen then\n", + " ret + [val]\n", + " else if str[idx : idx + cLen : 1] == c &&\n", + " (maxsplits == -1 || std.length(ret) < maxsplits) then\n", + " aux(idx + cLen, ret + [val], '')\n", " else\n", - " aux(str, delim, i2, arr, v + c) tailstrict;\n", - " aux(str, c, 0, [], ''),\n", + " aux(idx + 1, ret, val + str[idx]);\n", + " aux(0, [], ''),\n", + "\n", + " splitLimitR(str, c, maxsplits)::\n", + " assert std.isString(str) : 'str.splitLimitR first parameter must be a String, got ' + std.type(str);\n", + " assert std.isString(c) : 'str.splitLimitR second parameter must be a String, got ' + std.type(c);\n", + " assert std.length(c) >= 1 : 'std.splitLimitR second parameter must have length 1 or greater, got ' + std.length(c);\n", + " assert std.isNumber(maxsplits) : 'str.splitLimitR third parameter must be a Number, got ' + std.type(maxsplits);\n", + " if maxsplits == -1 then\n", + " std.splitLimit(str, c, -1)\n", + " else\n", + " local revStr(str) = std.join('', std.reverse(std.stringChars(str)));\n", + " std.map(function(e) revStr(e), std.reverse(std.splitLimit(revStr(str), revStr(c), maxsplits))),\n", "\n", " strReplace(str, from, to)::\n", " assert std.isString(str);\n", @@ -3650,7 +3751,7 @@ var p1 = &ast.Source{ " escapeKeyToml(key) =\n", " local bare_allowed = std.set(std.stringChars(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-\"));\n", " if std.setUnion(std.set(std.stringChars(key)), bare_allowed) == bare_allowed then key else escapeStringToml(key),\n", - " isTableArray(v) = std.isArray(v) && std.length(v) > 0 && std.foldl(function(a, b) a && std.isObject(b), v, true),\n", + " isTableArray(v) = std.isArray(v) && std.length(v) > 0 && std.all(std.map(std.isObject, v)),\n", " isSection(v) = std.isObject(v) || isTableArray(v),\n", " renderValue(v, indexedPath, inline, cindent) =\n", " if v == true then\n", @@ -4067,7 +4168,7 @@ var p1 = &ast.Source{ " base64(input)::\n", " local bytes =\n", " if std.isString(input) then\n", - " std.map(function(c) std.codepoint(c), input)\n", + " std.map(std.codepoint, input)\n", " else\n", " input;\n", "\n", @@ -4104,7 +4205,7 @@ var p1 = &ast.Source{ " base64_table[(arr[i + 2] & 63)];\n", " aux(arr, i + 3, r + str) tailstrict;\n", "\n", - " local sanity = std.foldl(function(r, a) r && (a < 256), bytes, true);\n", + " local sanity = std.all([a < 256 for a in bytes]);\n", " if !sanity then\n", " error 'Can only base64 encode strings / arrays of single bytes.'\n", " else\n", @@ -4134,7 +4235,7 @@ var p1 = &ast.Source{ "\n", " base64Decode(str)::\n", " local bytes = std.base64DecodeBytes(str);\n", - " std.join('', std.map(function(b) std.char(b), bytes)),\n", + " std.join('', std.map(std.char, bytes)),\n", "\n", " reverse(arr)::\n", " local l = std.length(arr);\n", @@ -4363,19 +4464,49 @@ var p1 = &ast.Source{ " else\n", " std.filter(function(i) arr[i] == value, std.range(0, std.length(arr) - 1)),\n", "\n", + " all(arr)::\n", + " assert std.isArray(arr) : 'all() parameter should be an array, got ' + std.type(arr);\n", + " local arrLen = std.length(arr);\n", + " local aux(idx) =\n", + " if idx >= arrLen then\n", + " true\n", + " else\n", + " local e = arr[idx];\n", + " assert std.isBoolean(e) : std.format('element \"%s\" of type %s is not a boolean', e, std.type(e));\n", + " if !e then\n", + " false\n", + " else\n", + " aux(idx + 1) tailstrict;\n", + " aux(0),\n", + "\n", + " any(arr)::\n", + " assert std.isArray(arr) : 'any() parameter should be an array, got ' + std.type(arr);\n", + " local arrLen = std.length(arr);\n", + " local aux(idx) =\n", + " if idx >= arrLen then\n", + " false\n", + " else\n", + " local e = arr[idx];\n", + " assert std.isBoolean(e) : std.format('element \"%s\" of type %s is not a boolean', e, std.type(e));\n", + " if e then\n", + " true\n", + " else\n", + " aux(idx + 1) tailstrict;\n", + " aux(0),\n", + "\n", " // Three way comparison.\n", " // TODO(sbarzowski): consider exposing and documenting it properly\n", " __compare(v1, v2)::\n", - " local t1 = std.type(v1), t2 = std.type(v2);\n", - " if t1 != t2 then\n", - " error \"Comparison requires matching types. Got \" + t1 + \" and \" + t2\n", - " else if t1 == \"array\" then\n", - " std.__compare_array(v1, v2)\n", - " else if t1 == \"function\" || t1 == \"object\" || t1 == \"bool\" then\n", - " error \"Values of type \" + t1 + \" are not comparable.\"\n", - " else if v1 < v2 then -1\n", - " else if v1 > v2 then 1\n", - " else 0,\n", + " local t1 = std.type(v1), t2 = std.type(v2);\n", + " if t1 != t2 then\n", + " error 'Comparison requires matching types. Got ' + t1 + ' and ' + t2\n", + " else if t1 == 'array' then\n", + " std.__compare_array(v1, v2)\n", + " else if t1 == 'function' || t1 == 'object' || t1 == 'boolean' then\n", + " error 'Values of type ' + t1 + ' are not comparable.'\n", + " else if v1 < v2 then -1\n", + " else if v1 > v2 then 1\n", + " else 0,\n", "\n", " __compare_array(arr1, arr2)::\n", " local len1 = std.length(arr1), len2 = std.length(arr2);\n", @@ -4399,103 +4530,24 @@ var p1 = &ast.Source{ "}\n", "\n", }, - DiagnosticFileName: "", } // StdAst is the AST for the standard library. var StdAst = _StdAst var _StdAst = &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(23), - Column: int(1), - }, - End: ast.Location{ - Line: int(1630), - Column: int(2), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(0), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(1), - Indent: int(0), - Comment: []string{ - "/*", - "Copyright 2015 Google Inc. All rights reserved.", - "", - "Licensed under the Apache License, Version 2.0 (the \"License\");", - "you may not use this file except in compliance with the License.", - "You may obtain a copy of the License at", - "", - " http://www.apache.org/licenses/LICENSE-2.0", - "", - "Unless required by applicable law or agreed to in writing, software", - "distributed under the License is distributed on an \"AS IS\" BASIS,", - "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", - "See the License for the specific language governing permissions and", - "limitations under the License.", - "*/", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(0), - Comment: []string{ - "/* This is the Jsonnet standard library, at least the parts of it that are written in Jsonnet.", - " *", - " * There are some native methods as well, which are defined in the interpreter and added to this", - " * file. It is never necessary to import std.jsonnet, it is embedded into the interpreter at", - " * compile-time and automatically imported into all other Jsonnet programs.", - " */", - }, - }, - }, - Ctx: p7, - FreeVars: ast.Identifiers{ - "$std", - }, - }, Asserts: ast.Nodes{}, Fields: ast.DesugaredObjectFields{ ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, Value: "isString", - Kind: ast.LiteralStringKind(1), BlockIndent: "", BlockTermIndent: "", - }, - Body: &ast.Function{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -4505,214 +4557,230 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(12), - }, - End: ast.Location{ - Line: int(28), - Column: int(13), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(26), - }, - End: ast.Location{ - Line: int(28), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p27, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(32), - }, - End: ast.Location{ - Line: int(28), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16, - FreeVars: ast.Identifiers{}, - }, Value: "string", - Kind: ast.LiteralStringKind(1), BlockIndent: "", BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(32), + }, + End: ast.Location{ + Line: int(28), + Column: int(40), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(17), + }, + End: ast.Location{ + Line: int(28), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(17), + }, + End: ast.Location{ + Line: int(28), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(26), + }, + End: ast.Location{ + Line: int(28), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(17), + }, + End: ast.Location{ + Line: int(28), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(17), + }, + End: ast.Location{ + Line: int(28), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(12), + }, + End: ast.Location{ + Line: int(28), + Column: int(13), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(28), @@ -4722,37 +4790,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(28), Column: int(40), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "isNumber", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -4762,190 +4814,24 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(12), - }, - End: ast.Location{ - Line: int(29), - Column: int(13), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p35, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p35, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p35, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(26), - }, - End: ast.Location{ - Line: int(29), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p46, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p29, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(29), @@ -4955,21 +4841,203 @@ var _StdAst = &ast.DesugaredObject{ Line: int(29), Column: int(40), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p35, - FreeVars: ast.Identifiers{}, }, - Value: "number", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(29), + Column: int(17), + }, + End: ast.Location{ + Line: int(29), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p29, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(29), + Column: int(17), + }, + End: ast.Location{ + Line: int(29), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p38, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(29), + Column: int(26), + }, + End: ast.Location{ + Line: int(29), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p29, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(29), + Column: int(17), + }, + End: ast.Location{ + Line: int(29), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p29, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(29), + Column: int(17), + }, + End: ast.Location{ + Line: int(29), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(29), + Column: int(12), + }, + End: ast.Location{ + Line: int(29), + Column: int(13), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(29), @@ -4979,37 +5047,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(29), Column: int(40), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "isBoolean", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "isBoolean", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -5019,190 +5071,24 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(13), - }, - End: ast.Location{ - Line: int(30), - Column: int(14), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p54, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p54, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p54, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(27), - }, - End: ast.Location{ - Line: int(30), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p65, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "boolean", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p48, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(30), @@ -5212,21 +5098,203 @@ var _StdAst = &ast.DesugaredObject{ Line: int(30), Column: int(42), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p54, - FreeVars: ast.Identifiers{}, }, - Value: "boolean", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(30), + Column: int(18), + }, + End: ast.Location{ + Line: int(30), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p48, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(30), + Column: int(18), + }, + End: ast.Location{ + Line: int(30), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p57, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(30), + Column: int(27), + }, + End: ast.Location{ + Line: int(30), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p48, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(30), + Column: int(18), + }, + End: ast.Location{ + Line: int(30), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p48, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(30), + Column: int(18), + }, + End: ast.Location{ + Line: int(30), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(30), + Column: int(13), + }, + End: ast.Location{ + Line: int(30), + Column: int(14), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(30), @@ -5236,37 +5304,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(30), Column: int(42), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -5276,190 +5328,24 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(12), - }, - End: ast.Location{ - Line: int(31), - Column: int(13), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p73, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p73, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p73, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(26), - }, - End: ast.Location{ - Line: int(31), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p84, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "object", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p67, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(31), @@ -5469,21 +5355,203 @@ var _StdAst = &ast.DesugaredObject{ Line: int(31), Column: int(40), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p73, - FreeVars: ast.Identifiers{}, }, - Value: "object", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(31), + Column: int(17), + }, + End: ast.Location{ + Line: int(31), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p67, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(31), + Column: int(17), + }, + End: ast.Location{ + Line: int(31), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p76, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(31), + Column: int(26), + }, + End: ast.Location{ + Line: int(31), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p67, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(31), + Column: int(17), + }, + End: ast.Location{ + Line: int(31), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p67, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(31), + Column: int(17), + }, + End: ast.Location{ + Line: int(31), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(31), + Column: int(12), + }, + End: ast.Location{ + Line: int(31), + Column: int(13), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(31), @@ -5493,37 +5561,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(31), Column: int(40), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -5533,83 +5585,95 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(11), - }, - End: ast.Location{ - Line: int(32), - Column: int(12), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(16), - }, - End: ast.Location{ - Line: int(32), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p92, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ + Right: &ast.LiteralString{ + Value: "array", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p86, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(32), - Column: int(16), + Column: int(31), }, End: ast.Location{ Line: int(32), - Column: int(27), + Column: int(38), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p92, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(32), + Column: int(16), + }, + End: ast.Location{ + Line: int(32), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p86, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(32), @@ -5619,70 +5683,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(32), Column: int(24), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p92, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(16), - }, - End: ast.Location{ - Line: int(32), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p95, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(32), @@ -5692,55 +5709,106 @@ var _StdAst = &ast.DesugaredObject{ Line: int(32), Column: int(26), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p103, - FreeVars: ast.Identifiers{ - "v", }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p86, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(32), - Column: int(31), + Column: int(16), }, End: ast.Location{ Line: int(32), - Column: int(38), + Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p92, - FreeVars: ast.Identifiers{}, }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p86, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(32), + Column: int(16), + }, + End: ast.Location{ + Line: int(32), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(32), + Column: int(11), + }, + End: ast.Location{ + Line: int(32), + Column: int(12), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(32), @@ -5750,37 +5818,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(32), Column: int(38), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "isFunction", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -5790,190 +5842,24 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(14), - }, - End: ast.Location{ - Line: int(33), - Column: int(15), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p111, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p111, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p111, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(28), - }, - End: ast.Location{ - Line: int(33), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p122, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "function", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p105, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(33), @@ -5983,21 +5869,203 @@ var _StdAst = &ast.DesugaredObject{ Line: int(33), Column: int(44), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p111, - FreeVars: ast.Identifiers{}, }, - Value: "function", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(33), + Column: int(19), + }, + End: ast.Location{ + Line: int(33), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p105, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(33), + Column: int(19), + }, + End: ast.Location{ + Line: int(33), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p114, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(33), + Column: int(28), + }, + End: ast.Location{ + Line: int(33), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p105, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(33), + Column: int(19), + }, + End: ast.Location{ + Line: int(33), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p105, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(33), + Column: int(19), + }, + End: ast.Location{ + Line: int(33), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(33), + Column: int(14), + }, + End: ast.Location{ + Line: int(33), + Column: int(15), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(33), @@ -6007,37 +6075,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(33), Column: int(44), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "toString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "toString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -6047,111 +6099,96 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(35), - Column: int(12), - }, - End: ast.Location{ - Line: int(35), - Column: int(13), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(5), - }, - End: ast.Location{ - Line: int(36), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p131, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(8), - }, - End: ast.Location{ - Line: int(36), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Left: &ast.Apply{ + Right: &ast.LiteralString{ + Value: "string", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(36), - Column: int(8), + Column: int(23), }, End: ast.Location{ Line: int(36), - Column: int(19), + Column: int(31), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{ - "a", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(36), + Column: int(8), + }, + End: ast.Location{ + Line: int(36), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(36), @@ -6161,70 +6198,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(36), Column: int(16), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(8), - }, - End: ast.Location{ - Line: int(36), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p134, + FreeVars: ast.Identifiers{ + "a", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(36), @@ -6234,56 +6224,72 @@ var _StdAst = &ast.DesugaredObject{ Line: int(36), Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p144, - FreeVars: ast.Identifiers{ - "a", }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{ + "a", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(36), - Column: int(23), + Column: int(8), }, End: ast.Location{ Line: int(36), - Column: int(31), + Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{}, }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{ + "a", + "std", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(36), + Column: int(8), + }, + End: ast.Location{ + Line: int(36), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(36), @@ -6293,65 +6299,20 @@ var _StdAst = &ast.DesugaredObject{ Line: int(36), Column: int(38), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{ - "a", }, }, - Id: "a", }, - ElseFodder: ast.Fodder{}, BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(44), - }, - End: ast.Location{ - Line: int(36), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(44), - }, - End: ast.Location{ - Line: int(36), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{ + "a", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(36), @@ -6361,21 +6322,128 @@ var _StdAst = &ast.DesugaredObject{ Line: int(36), Column: int(50), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p131, - FreeVars: ast.Identifiers{ - "a", }, }, - Id: "a", + }, + Left: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(36), + Column: int(44), + }, + End: ast.Location{ + Line: int(36), + Column: int(46), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p125, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(36), + Column: int(44), + }, + End: ast.Location{ + Line: int(36), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p125, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(36), + Column: int(5), + }, + End: ast.Location{ + Line: int(36), + Column: int(50), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(35), + Column: int(12), + }, + End: ast.Location{ + Line: int(35), + Column: int(13), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(35), @@ -6385,37 +6453,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(36), Column: int(50), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "substr", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -6425,143 +6477,26 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(38), - Column: int(10), - }, - End: ast.Location{ - Line: int(38), - Column: int(13), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "from", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(38), - Column: int(15), - }, - End: ast.Location{ - Line: int(38), - Column: int(19), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "len", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(38), - Column: int(21), - }, - End: ast.Location{ - Line: int(38), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(12), - }, - End: ast.Location{ - Line: int(39), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(12), - }, - End: ast.Location{ - Line: int(39), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(39), @@ -6571,20 +6506,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(39), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -6594,27 +6528,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(12), + }, + End: ast.Location{ + Line: int(39), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p161, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(39), @@ -6624,94 +6578,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(39), Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p170, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p157, FreeVars: ast.Identifiers{ - "from", - "len", "std", "str", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(12), - }, - End: ast.Location{ - Line: int(40), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "from", - "std", + End: ast.Location{ + Line: int(39), + Column: int(29), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(12), - }, - End: ast.Location{ - Line: int(40), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(40), @@ -6721,20 +6633,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(40), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -6744,27 +6655,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(12), + }, + End: ast.Location{ + Line: int(40), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "from", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p173, + FreeVars: ast.Identifiers{ + "from", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(40), @@ -6774,53 +6705,152 @@ var _StdAst = &ast.DesugaredObject{ Line: int(40), Column: int(29), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p183, - FreeVars: ast.Identifiers{ - "from", }, }, - Id: "from", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p157, FreeVars: ast.Identifiers{ "from", - "len", "std", - "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(12), + }, + End: ast.Location{ + Line: int(40), + Column: int(30), + }, }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(12), + }, + End: ast.Location{ + Line: int(41), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(12), + }, + End: ast.Location{ + Line: int(41), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p185, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(25), + }, + End: ast.Location{ + Line: int(41), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "len", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(41), @@ -6830,147 +6860,64 @@ var _StdAst = &ast.DesugaredObject{ Line: int(41), Column: int(29), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(12), - }, - End: ast.Location{ - Line: int(41), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(12), - }, - End: ast.Location{ - Line: int(41), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isNumber", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(25), - }, - End: ast.Location{ - Line: int(41), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p196, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - ThenFodder: nil, BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(42), + Column: int(19), + }, + End: ast.Location{ + Line: int(42), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(42), + Column: int(12), + }, + End: ast.Location{ + Line: int(42), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "len", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(42), @@ -6980,106 +6927,29 @@ var _StdAst = &ast.DesugaredObject{ Line: int(42), Column: int(20), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "len", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(12), - }, - End: ast.Location{ - Line: int(42), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(19), - }, - End: ast.Location{ - Line: int(42), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, }, - ThenFodder: nil, BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7089,27 +6959,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(8), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -7119,27 +6981,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(5), + }, + End: ast.Location{ + Line: int(43), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p203, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7149,66 +7031,25 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(16), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p215, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(18), - }, - End: ast.Location{ - Line: int(43), - Column: int(108), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p215, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(18), - }, - End: ast.Location{ - Line: int(43), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p215, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7218,20 +7059,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(21), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -7241,70 +7081,49 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p203, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(18), + }, + End: ast.Location{ + Line: int(43), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(32), - }, - End: ast.Location{ - Line: int(43), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p225, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(32), - }, - End: ast.Location{ - Line: int(43), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p225, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7314,20 +7133,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(35), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "max", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -7337,27 +7155,45 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "max", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p216, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(32), + }, + End: ast.Location{ + Line: int(43), + Column: int(39), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p220, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7367,63 +7203,24 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p234, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(43), - }, - End: ast.Location{ - Line: int(43), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p234, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(43), - }, - End: ast.Location{ - Line: int(43), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p234, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7433,20 +7230,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(46), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "min", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -7456,27 +7252,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "min", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p220, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(43), + }, + End: ast.Location{ + Line: int(43), + Column: int(50), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "len", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p229, + FreeVars: ast.Identifiers{ + "len", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7486,172 +7302,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(54), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p244, - FreeVars: ast.Identifiers{ - "len", }, }, - Id: "len", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p244, - FreeVars: ast.Identifiers{ - "from", - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p244, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p244, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(67), - }, - End: ast.Location{ - Line: int(43), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p257, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), Right: &ast.Var{ + Id: "from", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p229, + FreeVars: ast.Identifiers{ + "from", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7661,110 +7328,240 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(78), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p244, - FreeVars: ast.Identifiers{ - "from", }, }, - Id: "from", }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(56), + }, + End: ast.Location{ + Line: int(43), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p229, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(56), + }, + End: ast.Location{ + Line: int(43), + Column: int(66), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p242, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(67), + }, + End: ast.Location{ + Line: int(43), + Column: int(70), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p229, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(56), + }, + End: ast.Location{ + Line: int(43), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p229, + FreeVars: ast.Identifiers{ + "from", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(56), + }, + End: ast.Location{ + Line: int(43), + Column: int(78), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p220, + FreeVars: ast.Identifiers{ + "from", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(43), + }, + End: ast.Location{ + Line: int(43), + Column: int(79), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p216, + FreeVars: ast.Identifiers{ + "from", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(32), + }, + End: ast.Location{ + Line: int(43), + Column: int(80), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(82), - }, - End: ast.Location{ - Line: int(43), - Column: int(107), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p225, - FreeVars: ast.Identifiers{ - "from", - "str", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(91), - }, - End: ast.Location{ - Line: int(43), - Column: int(92), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(94), - }, - End: ast.Location{ - Line: int(43), - Column: int(107), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p265, - FreeVars: ast.Identifiers{ - "from", - "i", - "str", - }, - }, Target: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p251, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7774,65 +7571,20 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(97), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p265, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(98), - }, - End: ast.Location{ - Line: int(43), - Column: int(106), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p265, - FreeVars: ast.Identifiers{ - "from", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(98), - }, - End: ast.Location{ - Line: int(43), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p265, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Var{ + Id: "from", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p251, + FreeVars: ast.Identifiers{ + "from", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(43), @@ -7842,110 +7594,198 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(106), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p265, - FreeVars: ast.Identifiers{ - "from", }, }, - Id: "from", }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p251, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(98), + }, + End: ast.Location{ + Line: int(43), + Column: int(99), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p251, + FreeVars: ast.Identifiers{ + "from", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(98), + }, + End: ast.Location{ + Line: int(43), + Column: int(106), + }, + }, + }, + Op: ast.BinaryOp(3), }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p251, + FreeVars: ast.Identifiers{ + "from", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(94), + }, + End: ast.Location{ + Line: int(43), + Column: int(107), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(91), + }, + End: ast.Location{ + Line: int(43), + Column: int(92), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p216, + FreeVars: ast.Identifiers{ + "from", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(82), + }, + End: ast.Location{ + Line: int(43), + Column: int(107), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p203, + FreeVars: ast.Identifiers{ + "from", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(18), + }, + End: ast.Location{ + Line: int(43), + Column: int(108), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "from", + "len", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(42), + Line: int(43), Column: int(5), }, End: ast.Location{ Line: int(43), Column: int(109), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "len", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(23), - }, - End: ast.Location{ - Line: int(42), - Column: int(87), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(23), - }, - End: ast.Location{ - Line: int(42), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{}, - }, - Value: "substr third parameter should be greater than zero, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Var{ + Id: "len", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "len", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(42), @@ -7955,131 +7795,113 @@ var _StdAst = &ast.DesugaredObject{ Line: int(42), Column: int(87), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "len", }, }, - Id: "len", + }, + Left: &ast.LiteralString{ + Value: "substr third parameter should be greater than zero, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(42), + Column: int(23), + }, + End: ast.Location{ + Line: int(42), + Column: int(81), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(42), + Column: int(23), + }, + End: ast.Location{ + Line: int(42), + Column: int(87), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(42), + Column: int(5), + }, + End: ast.Location{ + Line: int(43), + Column: int(109), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "from", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(32), - }, - End: ast.Location{ - Line: int(41), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(32), - }, - End: ast.Location{ - Line: int(41), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{}, - }, - Value: "substr third parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(84), - }, - End: ast.Location{ - Line: int(41), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(84), - }, - End: ast.Location{ - Line: int(41), - Column: int(92), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(41), @@ -8089,20 +7911,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(41), Column: int(87), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -8112,27 +7933,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(84), + }, + End: ast.Location{ + Line: int(41), + Column: int(92), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "len", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p282, + FreeVars: ast.Identifiers{ + "len", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(41), @@ -8142,141 +7983,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(41), Column: int(96), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p296, - FreeVars: ast.Identifiers{ - "len", }, }, - Id: "len", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "len", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(84), + }, + End: ast.Location{ + Line: int(41), + Column: int(97), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "substr third parameter should be a string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(32), + }, + End: ast.Location{ + Line: int(41), + Column: int(81), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "len", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(32), + }, + End: ast.Location{ + Line: int(41), + Column: int(97), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "len", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(5), + }, + End: ast.Location{ + Line: int(43), + Column: int(109), + }, }, }, }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ + ThenFodder: nil, + ElseFodder: nil, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - File: p1, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "from", + "len", "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(33), - }, - End: ast.Location{ - Line: int(40), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(33), - }, - End: ast.Location{ - Line: int(40), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{}, - }, - Value: "substr second parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(86), - }, - End: ast.Location{ - Line: int(40), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(86), - }, - End: ast.Location{ - Line: int(40), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(40), @@ -8286,20 +8131,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(40), Column: int(89), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -8309,27 +8153,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(86), + }, + End: ast.Location{ + Line: int(40), + Column: int(94), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "from", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p299, + FreeVars: ast.Identifiers{ + "from", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(40), @@ -8339,141 +8203,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(40), Column: int(99), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p312, - FreeVars: ast.Identifiers{ - "from", }, }, - Id: "from", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "from", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(86), + }, + End: ast.Location{ + Line: int(40), + Column: int(100), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "substr second parameter should be a string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(33), + }, + End: ast.Location{ + Line: int(40), + Column: int(83), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "from", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(33), + }, + End: ast.Location{ + Line: int(40), + Column: int(100), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "from", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(5), + }, + End: ast.Location{ + Line: int(43), + Column: int(109), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "from", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(32), - }, - End: ast.Location{ - Line: int(39), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(32), - }, - End: ast.Location{ - Line: int(39), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{}, - }, - Value: "substr first parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(84), - }, - End: ast.Location{ - Line: int(39), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(84), - }, - End: ast.Location{ - Line: int(39), - Column: int(92), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(39), @@ -8483,20 +8351,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(39), Column: int(87), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -8506,27 +8373,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(84), + }, + End: ast.Location{ + Line: int(39), + Column: int(92), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p316, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(39), @@ -8536,32 +8423,213 @@ var _StdAst = &ast.DesugaredObject{ Line: int(39), Column: int(96), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p328, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(84), + }, + End: ast.Location{ + Line: int(39), + Column: int(97), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "substr first parameter should be a string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(32), + }, + End: ast.Location{ + Line: int(39), + Column: int(81), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p157, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(32), + }, + End: ast.Location{ + Line: int(39), + Column: int(97), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(5), + }, + End: ast.Location{ + Line: int(43), + Column: int(109), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "from", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(38), + Column: int(10), + }, + End: ast.Location{ + Line: int(38), + Column: int(13), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "from", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(38), + Column: int(15), + }, + End: ast.Location{ + Line: int(38), + Column: int(19), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "len", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(38), + Column: int(21), + }, + End: ast.Location{ + Line: int(38), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(38), @@ -8571,37 +8639,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(43), Column: int(109), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "startsWith", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "startsWith", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -8611,280 +8663,27 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(45), - Column: int(14), - }, - End: ast.Location{ - Line: int(45), - Column: int(15), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(45), - Column: int(17), - }, - End: ast.Location{ - Line: int(45), - Column: int(18), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(5), - }, - End: ast.Location{ - Line: int(49), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p336, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(19), - }, - End: ast.Location{ - Line: int(46), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p349, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(24), - }, - End: ast.Location{ - Line: int(46), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(24), - }, - End: ast.Location{ - Line: int(46), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(46), @@ -8894,20 +8693,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(46), Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -8917,27 +8715,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(24), + }, + End: ast.Location{ + Line: int(46), + Column: int(34), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p338, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(46), @@ -8947,31 +8765,203 @@ var _StdAst = &ast.DesugaredObject{ Line: int(46), Column: int(36), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p360, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(24), + }, + End: ast.Location{ + Line: int(46), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(8), + }, + End: ast.Location{ + Line: int(46), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(8), + }, + End: ast.Location{ + Line: int(46), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p349, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(19), + }, + End: ast.Location{ + Line: int(46), + Column: int(20), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(8), + }, + End: ast.Location{ + Line: int(46), + Column: int(21), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(8), + }, + End: ast.Location{ + Line: int(46), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(9), }, - ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p334, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(47), @@ -8981,342 +8971,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(47), Column: int(12), }, - File: p1, }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p336, - FreeVars: ast.Identifiers{}, }, Value: false, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(18), - }, - End: ast.Location{ - Line: int(49), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p377, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(21), - }, - End: ast.Location{ - Line: int(49), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p377, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(24), - }, - End: ast.Location{ - Line: int(49), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p377, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(24), - }, - End: ast.Location{ - Line: int(49), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p377, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(24), - }, - End: ast.Location{ - Line: int(49), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(35), - }, - End: ast.Location{ - Line: int(49), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p389, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(49), @@ -9326,21 +8995,420 @@ var _StdAst = &ast.DesugaredObject{ Line: int(49), Column: int(43), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p336, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(7), + }, + End: ast.Location{ + Line: int(49), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "substr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(7), + }, + End: ast.Location{ + Line: int(49), + Column: int(17), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p367, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(18), + }, + End: ast.Location{ + Line: int(49), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p367, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(21), + }, + End: ast.Location{ + Line: int(49), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(24), + }, + End: ast.Location{ + Line: int(49), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p367, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(24), + }, + End: ast.Location{ + Line: int(49), + Column: int(34), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p378, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(35), + }, + End: ast.Location{ + Line: int(49), + Column: int(36), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p367, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(24), + }, + End: ast.Location{ + Line: int(49), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(7), + }, + End: ast.Location{ + Line: int(49), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p334, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(49), + Column: int(7), + }, + End: ast.Location{ + Line: int(49), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p334, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(5), + }, + End: ast.Location{ + Line: int(49), + Column: int(43), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(45), + Column: int(14), + }, + End: ast.Location{ + Line: int(45), + Column: int(15), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(45), + Column: int(17), + }, + End: ast.Location{ + Line: int(45), + Column: int(18), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(45), @@ -9350,37 +9418,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(49), Column: int(43), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "endsWith", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "endsWith", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -9390,280 +9442,27 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(12), - }, - End: ast.Location{ - Line: int(51), - Column: int(13), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(15), - }, - End: ast.Location{ - Line: int(51), - Column: int(16), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(5), - }, - End: ast.Location{ - Line: int(55), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p399, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(19), - }, - End: ast.Location{ - Line: int(52), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p412, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(24), - }, - End: ast.Location{ - Line: int(52), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(24), - }, - End: ast.Location{ - Line: int(52), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(52), @@ -9673,20 +9472,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(52), Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -9696,27 +9494,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(24), + }, + End: ast.Location{ + Line: int(52), + Column: int(34), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p401, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(52), @@ -9726,31 +9544,203 @@ var _StdAst = &ast.DesugaredObject{ Line: int(52), Column: int(36), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p423, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(24), + }, + End: ast.Location{ + Line: int(52), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(8), + }, + End: ast.Location{ + Line: int(52), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(8), + }, + End: ast.Location{ + Line: int(52), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p412, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(19), + }, + End: ast.Location{ + Line: int(52), + Column: int(20), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(8), + }, + End: ast.Location{ + Line: int(52), + Column: int(21), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(8), + }, + End: ast.Location{ + Line: int(52), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(9), }, - ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p397, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(53), @@ -9760,599 +9750,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(53), Column: int(12), }, - File: p1, }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p399, - FreeVars: ast.Identifiers{}, }, Value: false, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(18), - }, - End: ast.Location{ - Line: int(55), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(32), - }, - End: ast.Location{ - Line: int(55), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p453, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(37), - }, - End: ast.Location{ - Line: int(55), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(37), - }, - End: ast.Location{ - Line: int(55), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(37), - }, - End: ast.Location{ - Line: int(55), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(48), - }, - End: ast.Location{ - Line: int(55), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p464, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(52), - }, - End: ast.Location{ - Line: int(55), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(52), - }, - End: ast.Location{ - Line: int(55), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p440, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(52), - }, - End: ast.Location{ - Line: int(55), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(63), - }, - End: ast.Location{ - Line: int(55), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p475, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(55), @@ -10362,21 +9774,677 @@ var _StdAst = &ast.DesugaredObject{ Line: int(55), Column: int(71), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p399, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(7), + }, + End: ast.Location{ + Line: int(55), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "substr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(7), + }, + End: ast.Location{ + Line: int(55), + Column: int(17), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(18), + }, + End: ast.Location{ + Line: int(55), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(37), + }, + End: ast.Location{ + Line: int(55), + Column: int(40), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(37), + }, + End: ast.Location{ + Line: int(55), + Column: int(47), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p441, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(48), + }, + End: ast.Location{ + Line: int(55), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(37), + }, + End: ast.Location{ + Line: int(55), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(21), + }, + End: ast.Location{ + Line: int(55), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(21), + }, + End: ast.Location{ + Line: int(55), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p452, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(32), + }, + End: ast.Location{ + Line: int(55), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(21), + }, + End: ast.Location{ + Line: int(55), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(21), + }, + End: ast.Location{ + Line: int(55), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(52), + }, + End: ast.Location{ + Line: int(55), + Column: int(55), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(52), + }, + End: ast.Location{ + Line: int(55), + Column: int(62), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p464, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(63), + }, + End: ast.Location{ + Line: int(55), + Column: int(64), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p430, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(52), + }, + End: ast.Location{ + Line: int(55), + Column: int(65), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(7), + }, + End: ast.Location{ + Line: int(55), + Column: int(66), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p397, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(55), + Column: int(7), + }, + End: ast.Location{ + Line: int(55), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p397, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(52), + Column: int(5), + }, + End: ast.Location{ + Line: int(55), + Column: int(71), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(51), + Column: int(12), + }, + End: ast.Location{ + Line: int(51), + Column: int(13), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(51), + Column: int(15), + }, + End: ast.Location{ + Line: int(51), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(51), @@ -10386,37 +10454,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(55), Column: int(71), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "lstripChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "lstripChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -10426,307 +10478,73 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(15), - }, - End: ast.Location{ - Line: int(57), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "chars", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(20), - }, - End: ast.Location{ - Line: int(57), - Column: int(25), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(5), - }, - End: ast.Location{ - Line: int(61), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p485, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p485, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p485, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p485, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p485, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(11), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(31), }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(58), + Column: int(34), }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(19), - }, - End: ast.Location{ - Line: int(58), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p500, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", + Index: &ast.LiteralString{ + Value: "member", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - CommaFodder: nil, }, }, - Named: nil, + Kind: ast.LiteralStringKind(1), }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(26), - }, - End: ast.Location{ - Line: int(58), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p485, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(31), + Ctx: p483, + FreeVars: ast.Identifiers{ + "std", }, - End: ast.Location{ - Line: int(58), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p485, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(58), @@ -10736,70 +10554,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(58), Column: int(41), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p485, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(31), - }, - End: ast.Location{ - Line: int(58), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "member", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "chars", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p487, + FreeVars: ast.Identifiers{ + "chars", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(58), @@ -10809,42 +10580,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(58), Column: int(47), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p512, - FreeVars: ast.Identifiers{ - "chars", }, }, - Id: "chars", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(49), - }, - End: ast.Location{ - Line: int(58), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p512, - FreeVars: ast.Identifiers{ - "str", - }, - }, Target: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p487, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(58), @@ -10854,20 +10606,17 @@ var _StdAst = &ast.DesugaredObject{ Line: int(58), Column: int(52), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p512, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p487, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(58), @@ -10877,75 +10626,276 @@ var _StdAst = &ast.DesugaredObject{ Line: int(58), Column: int(54), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p512, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p487, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(49), + }, + End: ast.Location{ + Line: int(58), + Column: int(55), + }, + }, + }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p483, + FreeVars: ast.Identifiers{ + "chars", + "std", + "str", }, - End: ast.Location{ - Line: int(59), - Column: int(38), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(31), + }, + End: ast.Location{ + Line: int(58), + Column: int(56), + }, }, - File: p1, }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p483, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(26), + }, + End: ast.Location{ + Line: int(58), + Column: int(27), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(8), + }, + End: ast.Location{ + Line: int(58), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p483, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(8), + }, + End: ast.Location{ + Line: int(58), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p505, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(19), + }, + End: ast.Location{ + Line: int(58), + Column: int(22), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p483, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(8), + }, + End: ast.Location{ + Line: int(58), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p483, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(8), + }, + End: ast.Location{ + Line: int(58), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p485, + Ctx: p483, FreeVars: ast.Identifiers{ - "$std", "chars", "std", "str", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(7), - }, - End: ast.Location{ - Line: int(59), - Column: int(22), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(8), }, - Fodder: ast.Fodder{}, - Ctx: p485, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(58), + Column: int(56), }, }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(59), @@ -10955,27 +10905,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(59), Column: int(10), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "lstripChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -10985,48 +10927,95 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "lstripChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p483, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(59), + Column: int(7), + }, + End: ast.Location{ + Line: int(59), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(23), - }, - End: ast.Location{ - Line: int(59), - Column: int(30), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -11036,70 +11025,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p526, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(59), @@ -11109,22 +11051,20 @@ var _StdAst = &ast.DesugaredObject{ Line: int(59), Column: int(26), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p537, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p526, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(59), @@ -11134,20 +11074,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(59), Column: int(28), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p537, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -11157,11 +11096,7 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, }, CommaFodder: nil, @@ -11169,7 +11104,11 @@ var _StdAst = &ast.DesugaredObject{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -11179,11 +11118,7 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, }, CommaFodder: nil, @@ -11191,17 +11126,44 @@ var _StdAst = &ast.DesugaredObject{ }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(59), + Column: int(23), + }, + End: ast.Location{ + Line: int(59), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "chars", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p526, + FreeVars: ast.Identifiers{ + "chars", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(59), @@ -11211,37 +11173,58 @@ var _StdAst = &ast.DesugaredObject{ Line: int(59), Column: int(37), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p537, - FreeVars: ast.Identifiers{ - "chars", }, }, - Id: "chars", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: true, FodderRight: ast.Fodder{}, TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p483, + FreeVars: ast.Identifiers{ + "$std", + "chars", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(59), + Column: int(7), + }, + End: ast.Location{ + Line: int(59), + Column: int(38), + }, + }, }, + TrailingComma: false, + TailStrict: true, }, BranchFalse: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p483, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(61), @@ -11251,27 +11234,112 @@ var _StdAst = &ast.DesugaredObject{ Line: int(61), Column: int(10), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p485, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p483, + FreeVars: ast.Identifiers{ + "$std", + "chars", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(5), + }, + End: ast.Location{ + Line: int(61), + Column: int(10), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(57), + Column: int(15), + }, + End: ast.Location{ + Line: int(57), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "chars", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(57), + Column: int(20), + }, + End: ast.Location{ + Line: int(57), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(57), @@ -11281,37 +11349,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(61), Column: int(10), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "rstripChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "rstripChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -11321,117 +11373,75 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(15), - }, - End: ast.Location{ - Line: int(63), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "chars", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(20), - }, - End: ast.Location{ - Line: int(63), - Column: int(25), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(5), - }, - End: ast.Location{ - Line: int(68), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p554, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "std", - "str", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "len", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(17), - }, - End: ast.Location{ - Line: int(64), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p558, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(64), + Column: int(17), + }, + End: ast.Location{ + Line: int(64), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p552, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(64), @@ -11441,70 +11451,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(64), Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p558, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(17), - }, - End: ast.Location{ - Line: int(64), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p556, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(64), @@ -11514,29 +11477,45 @@ var _StdAst = &ast.DesugaredObject{ Line: int(64), Column: int(31), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p567, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p552, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(64), + Column: int(17), + }, + End: ast.Location{ + Line: int(64), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "len", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(64), @@ -11546,177 +11525,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(64), Column: int(32), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(5), - }, - End: ast.Location{ - Line: int(68), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p554, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "len", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(8), - }, - End: ast.Location{ - Line: int(65), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p554, - FreeVars: ast.Identifiers{ - "chars", - "len", - "std", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(8), - }, - End: ast.Location{ - Line: int(65), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p554, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(8), - }, - End: ast.Location{ - Line: int(65), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p554, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(14), - }, - End: ast.Location{ - Line: int(65), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p554, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(19), - }, - End: ast.Location{ - Line: int(65), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p554, - FreeVars: ast.Identifiers{ - "chars", - "len", - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(19), - }, - End: ast.Location{ - Line: int(65), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p554, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(65), @@ -11726,20 +11551,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(65), Column: int(22), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "member", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -11749,27 +11573,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "member", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(19), + }, + End: ast.Location{ + Line: int(65), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "chars", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p570, + FreeVars: ast.Identifiers{ + "chars", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(65), @@ -11779,43 +11623,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(65), Column: int(35), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p588, - FreeVars: ast.Identifiers{ - "chars", }, }, - Id: "chars", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(37), - }, - End: ast.Location{ - Line: int(65), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p588, - FreeVars: ast.Identifiers{ - "len", - "str", - }, - }, Target: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p570, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(65), @@ -11825,64 +11649,18 @@ var _StdAst = &ast.DesugaredObject{ Line: int(65), Column: int(40), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p588, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(41), - }, - End: ast.Location{ - Line: int(65), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p588, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(41), - }, - End: ast.Location{ - Line: int(65), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p588, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p570, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(65), @@ -11892,77 +11670,218 @@ var _StdAst = &ast.DesugaredObject{ Line: int(65), Column: int(48), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p588, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, + Left: &ast.Var{ + Id: "len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p570, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(41), + }, + End: ast.Location{ + Line: int(65), + Column: int(44), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p570, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(41), + }, + End: ast.Location{ + Line: int(65), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(4), }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p570, + FreeVars: ast.Identifiers{ + "len", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(37), + }, + End: ast.Location{ + Line: int(65), + Column: int(49), + }, + }, + }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{ + "chars", + "len", + "std", + "str", }, - End: ast.Location{ - Line: int(66), - Column: int(44), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(19), + }, + End: ast.Location{ + Line: int(65), + Column: int(50), + }, }, - File: p1, }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(14), + }, + End: ast.Location{ + Line: int(65), + Column: int(15), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(8), + }, + End: ast.Location{ + Line: int(65), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(8), + }, + End: ast.Location{ + Line: int(65), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p554, + Ctx: p566, FreeVars: ast.Identifiers{ - "$std", "chars", "len", "std", "str", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(7), - }, - End: ast.Location{ - Line: int(66), - Column: int(22), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(8), }, - Fodder: ast.Fodder{}, - Ctx: p554, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(65), + Column: int(50), }, }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(66), @@ -11972,27 +11891,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(66), Column: int(10), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "rstripChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12002,49 +11913,95 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "rstripChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(66), + Column: int(7), + }, + End: ast.Location{ + Line: int(66), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(23), - }, - End: ast.Location{ - Line: int(66), - Column: int(36), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "len", - "str", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12054,70 +12011,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p604, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(66), @@ -12127,22 +12037,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(66), Column: int(26), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p617, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12152,63 +12059,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(28), - }, - End: ast.Location{ - Line: int(66), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p617, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(28), - }, - End: ast.Location{ - Line: int(66), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p617, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p604, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(66), @@ -12218,21 +12083,63 @@ var _StdAst = &ast.DesugaredObject{ Line: int(66), Column: int(35), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p617, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, + Left: &ast.Var{ + Id: "len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p604, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(66), + Column: int(28), + }, + End: ast.Location{ + Line: int(66), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p604, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(66), + Column: int(28), + }, + End: ast.Location{ + Line: int(66), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12242,11 +12149,7 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, }, CommaFodder: nil, @@ -12254,17 +12157,45 @@ var _StdAst = &ast.DesugaredObject{ }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "len", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(66), + Column: int(23), + }, + End: ast.Location{ + Line: int(66), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "chars", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p604, + FreeVars: ast.Identifiers{ + "chars", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(66), @@ -12274,37 +12205,59 @@ var _StdAst = &ast.DesugaredObject{ Line: int(66), Column: int(43), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p617, - FreeVars: ast.Identifiers{ - "chars", }, }, - Id: "chars", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: true, FodderRight: ast.Fodder{}, TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{ + "$std", + "chars", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(66), + Column: int(7), + }, + End: ast.Location{ + Line: int(66), + Column: int(44), + }, + }, }, + TrailingComma: false, + TailStrict: true, }, BranchFalse: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p566, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(68), @@ -12314,28 +12267,143 @@ var _StdAst = &ast.DesugaredObject{ Line: int(68), Column: int(10), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p554, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p566, + FreeVars: ast.Identifiers{ + "$std", + "chars", + "len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(5), + }, + End: ast.Location{ + Line: int(68), + Column: int(10), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p566, + FreeVars: ast.Identifiers{ + "$std", + "chars", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(64), + Column: int(5), + }, + End: ast.Location{ + Line: int(68), + Column: int(10), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(63), + Column: int(15), + }, + End: ast.Location{ + Line: int(63), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "chars", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(63), + Column: int(20), + }, + End: ast.Location{ + Line: int(63), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(63), @@ -12345,37 +12413,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(68), Column: int(10), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "stripChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "stripChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12385,82 +12437,78 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(70), - Column: int(14), - }, - End: ast.Location{ - Line: int(70), - Column: int(17), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "chars", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(70), - Column: int(19), - }, - End: ast.Location{ - Line: int(70), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(5), - }, - End: ast.Location{ - Line: int(71), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p637, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(71), + Column: int(5), + }, + End: ast.Location{ + Line: int(71), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "lstripChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p635, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(71), @@ -12470,119 +12518,25 @@ var _StdAst = &ast.DesugaredObject{ Line: int(71), Column: int(20), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p637, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(5), - }, - End: ast.Location{ - Line: int(71), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "lstripChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(21), - }, - End: ast.Location{ - Line: int(71), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p647, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(21), - }, - End: ast.Location{ - Line: int(71), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p647, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(71), @@ -12592,20 +12546,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(71), Column: int(24), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "rstripChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12615,27 +12568,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "rstripChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p643, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(71), + Column: int(21), + }, + End: ast.Location{ + Line: int(71), + Column: int(36), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p647, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(71), @@ -12645,22 +12618,22 @@ var _StdAst = &ast.DesugaredObject{ Line: int(71), Column: int(40), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p656, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "chars", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p647, + FreeVars: ast.Identifiers{ + "chars", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(71), @@ -12670,32 +12643,53 @@ var _StdAst = &ast.DesugaredObject{ Line: int(71), Column: int(47), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p656, - FreeVars: ast.Identifiers{ - "chars", }, }, - Id: "chars", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p643, + FreeVars: ast.Identifiers{ + "chars", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(71), + Column: int(21), + }, + End: ast.Location{ + Line: int(71), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "chars", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p643, + FreeVars: ast.Identifiers{ + "chars", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(71), @@ -12705,29 +12699,103 @@ var _StdAst = &ast.DesugaredObject{ Line: int(71), Column: int(55), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p647, - FreeVars: ast.Identifiers{ - "chars", }, }, - Id: "chars", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p635, + FreeVars: ast.Identifiers{ + "chars", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(71), + Column: int(5), + }, + End: ast.Location{ + Line: int(71), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(70), + Column: int(14), + }, + End: ast.Location{ + Line: int(70), + Column: int(17), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "chars", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(70), + Column: int(19), + }, + End: ast.Location{ + Line: int(70), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(70), @@ -12737,37 +12805,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(71), Column: int(56), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12777,82 +12829,32 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(73), - Column: int(15), - }, - End: ast.Location{ - Line: int(73), - Column: int(18), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(5), - }, - End: ast.Location{ - Line: int(74), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p667, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(5), - }, - End: ast.Location{ - Line: int(74), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p667, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(74), @@ -12862,27 +12864,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(74), Column: int(8), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12892,68 +12886,49 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p665, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(5), + }, + End: ast.Location{ + Line: int(74), + Column: int(18), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(19), - }, - End: ast.Location{ - Line: int(74), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p677, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(19), - }, - End: ast.Location{ - Line: int(74), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p677, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(74), @@ -12963,20 +12938,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(74), Column: int(22), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -12986,27 +12960,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p673, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(19), + }, + End: ast.Location{ + Line: int(74), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p677, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(74), @@ -13016,97 +13010,56 @@ var _StdAst = &ast.DesugaredObject{ Line: int(74), Column: int(33), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p686, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p673, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(19), + }, + End: ast.Location{ + Line: int(74), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(36), - }, - End: ast.Location{ - Line: int(74), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p677, - FreeVars: ast.Identifiers{ - "str", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(45), - }, - End: ast.Location{ - Line: int(74), - Column: int(46), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(48), - }, - End: ast.Location{ - Line: int(74), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p692, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, Target: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p683, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(74), @@ -13116,20 +13069,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(74), Column: int(51), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p692, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ + Id: "i", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p683, + FreeVars: ast.Identifiers{ + "i", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(74), @@ -13139,33 +13091,149 @@ var _StdAst = &ast.DesugaredObject{ Line: int(74), Column: int(53), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p692, - FreeVars: ast.Identifiers{ - "i", }, }, - Id: "i", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p683, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(48), + }, + End: ast.Location{ + Line: int(74), + Column: int(54), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(45), + }, + End: ast.Location{ + Line: int(74), + Column: int(46), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p673, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(36), + }, + End: ast.Location{ + Line: int(74), + Column: int(54), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p665, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(5), + }, + End: ast.Location{ + Line: int(74), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(73), + Column: int(15), + }, + End: ast.Location{ + Line: int(73), + Column: int(18), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(73), @@ -13175,37 +13243,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(74), Column: int(55), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "parseInt", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "parseInt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -13215,107 +13267,26 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(94), - Column: int(12), - }, - End: ast.Location{ - Line: int(94), - Column: int(15), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "std", - "str", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(12), - }, - End: ast.Location{ - Line: int(95), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(12), - }, - End: ast.Location{ - Line: int(95), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(95), @@ -13325,20 +13296,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(95), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -13348,27 +13318,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(12), + }, + End: ast.Location{ + Line: int(95), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p705, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(95), @@ -13378,290 +13368,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(95), Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p714, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p701, FreeVars: ast.Identifiers{ - "$std", - "parse_nat", "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(12), + }, + End: ast.Location{ + Line: int(95), + Column: int(29), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(23), - }, - End: ast.Location{ - Line: int(96), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p731, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(30), - }, - End: ast.Location{ - Line: int(96), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(35), - }, - End: ast.Location{ - Line: int(96), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(35), - }, - End: ast.Location{ - Line: int(96), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), Right: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(96), @@ -13671,140 +13423,259 @@ var _StdAst = &ast.DesugaredObject{ Line: int(96), Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{}, }, - Value: "-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(5), - }, - End: ast.Location{ - Line: int(100), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p705, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(8), - }, - End: ast.Location{ - Line: int(97), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Left: &ast.Index{ + Left: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(8), - }, - End: ast.Location{ - Line: int(97), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p705, + Ctx: p701, FreeVars: ast.Identifiers{ "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(8), - }, - End: ast.Location{ - Line: int(97), - Column: int(11), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(35), }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(96), + Column: int(38), }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralNumber{ + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(35), + }, + End: ast.Location{ + Line: int(96), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(30), + }, + End: ast.Location{ + Line: int(96), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(12), + }, + End: ast.Location{ + Line: int(96), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(97), + Line: int(96), Column: int(12), }, End: ast.Location{ - Line: int(97), - Column: int(13), + Line: int(96), + Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p725, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(23), + }, + End: ast.Location{ + Line: int(96), + Column: int(26), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(12), + }, + End: ast.Location{ + Line: int(96), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(12), + }, + End: ast.Location{ + Line: int(96), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(12), + }, + End: ast.Location{ + Line: int(96), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(97), @@ -13814,74 +13685,110 @@ var _StdAst = &ast.DesugaredObject{ Line: int(97), Column: int(21), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{}, }, - Value: "-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(7), - }, - End: ast.Location{ - Line: int(98), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(97), + Column: int(8), + }, + End: ast.Location{ + Line: int(97), + Column: int(11), + }, + }, }, }, - Ctx: p705, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "str", + Index: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(97), + Column: int(12), + }, + End: ast.Location{ + Line: int(97), + Column: int(13), + }, + }, + }, }, - }, - Op: ast.UnaryOp(3), - Expr: &ast.Apply{ + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(98), + Line: int(97), Column: int(8), }, End: ast.Location{ - Line: int(98), - Column: int(30), + Line: int(97), + Column: int(14), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "str", }, }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(97), + Column: int(8), + }, + End: ast.Location{ + Line: int(97), + Column: int(21), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Unary{ + Expr: &ast.Apply{ Target: &ast.Var{ + Id: "parse_nat", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "parse_nat", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(98), @@ -13891,44 +13798,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(98), Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "parse_nat", }, }, - Id: "parse_nat", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(18), - }, - End: ast.Location{ - Line: int(98), - Column: int(25), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -13938,70 +13872,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p752, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(98), @@ -14011,22 +13898,20 @@ var _StdAst = &ast.DesugaredObject{ Line: int(98), Column: int(21), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p767, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p752, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(98), @@ -14036,20 +13921,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(98), Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p767, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -14059,11 +13943,7 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, }, CommaFodder: nil, @@ -14071,7 +13951,11 @@ var _StdAst = &ast.DesugaredObject{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -14081,11 +13965,7 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, }, CommaFodder: nil, @@ -14093,17 +13973,42 @@ var _StdAst = &ast.DesugaredObject{ }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(98), + Column: int(18), + }, + End: ast.Location{ + Line: int(98), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "10", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p752, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(98), @@ -14113,57 +14018,88 @@ var _StdAst = &ast.DesugaredObject{ Line: int(98), Column: int(29), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p767, - FreeVars: ast.Identifiers{}, }, - OriginalString: "10", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(100), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "$std", + "parse_nat", + "str", }, - End: ast.Location{ - Line: int(100), - Column: int(25), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(98), + Column: int(8), + }, + End: ast.Location{ + Line: int(98), + Column: int(30), + }, }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p705, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p701, FreeVars: ast.Identifiers{ + "$std", "parse_nat", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(98), + Column: int(7), + }, + End: ast.Location{ + Line: int(98), + Column: int(30), + }, + }, }, + Op: ast.UnaryOp(3), + }, + BranchFalse: &ast.Apply{ Target: &ast.Var{ + Id: "parse_nat", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p701, + FreeVars: ast.Identifiers{ + "parse_nat", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(100), @@ -14173,30 +14109,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(100), Column: int(16), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p705, - FreeVars: ast.Identifiers{ - "parse_nat", }, }, - Id: "parse_nat", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p768, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(100), @@ -14206,22 +14135,20 @@ var _StdAst = &ast.DesugaredObject{ Line: int(100), Column: int(20), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p781, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "10", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p768, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(100), @@ -14231,71 +14158,136 @@ var _StdAst = &ast.DesugaredObject{ Line: int(100), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p781, - FreeVars: ast.Identifiers{}, }, - OriginalString: "10", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "parse_nat", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(100), + Column: int(7), + }, + End: ast.Location{ + Line: int(100), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p701, + FreeVars: ast.Identifiers{ + "$std", + "parse_nat", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(96), + Line: int(97), Column: int(5), }, End: ast.Location{ Line: int(100), Column: int(25), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", }, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(48), - }, - End: ast.Location{ - Line: int(96), - Column: int(78), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -14305,70 +14297,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "Not an integer: \"%s\"", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(96), @@ -14378,45 +14323,26 @@ var _StdAst = &ast.DesugaredObject{ Line: int(96), Column: int(70), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{}, }, - Value: "Not an integer: \"%s\"", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(73), - }, - End: ast.Location{ - Line: int(96), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "str", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p787, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(96), @@ -14426,38 +14352,293 @@ var _StdAst = &ast.DesugaredObject{ Line: int(96), Column: int(77), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p799, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(73), + }, + End: ast.Location{ + Line: int(96), + Column: int(78), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(48), + }, + End: ast.Location{ + Line: int(96), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(5), + }, + End: ast.Location{ + Line: int(100), + Column: int(25), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "parse_nat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(58), + }, + End: ast.Location{ + Line: int(95), + Column: int(61), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(58), + }, + End: ast.Location{ + Line: int(95), + Column: int(66), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p803, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(67), + }, + End: ast.Location{ + Line: int(95), + Column: int(70), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(58), + }, + End: ast.Location{ + Line: int(95), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "Expected string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(32), + }, + End: ast.Location{ + Line: int(95), + Column: int(55), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p701, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(32), + }, + End: ast.Location{ + Line: int(95), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(95), @@ -14467,193 +14648,80 @@ var _StdAst = &ast.DesugaredObject{ Line: int(100), Column: int(25), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", }, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(32), - }, - End: ast.Location{ - Line: int(95), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "parse_nat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(32), - }, - End: ast.Location{ - Line: int(95), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{}, - }, - Value: "Expected string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(58), - }, - End: ast.Location{ - Line: int(95), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(58), - }, - End: ast.Location{ - Line: int(95), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(58), - }, - End: ast.Location{ - Line: int(95), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(67), - }, - End: ast.Location{ - Line: int(95), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p815, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(94), + Column: int(12), + }, + End: ast.Location{ + Line: int(94), + Column: int(15), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "parse_nat", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(94), @@ -14663,37 +14731,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(100), Column: int(25), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "parseOctal", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "parseOctal", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -14703,105 +14755,26 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(102), - Column: int(14), - }, - End: ast.Location{ - Line: int(102), - Column: int(17), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(12), - }, - End: ast.Location{ - Line: int(103), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(12), - }, - End: ast.Location{ - Line: int(103), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(103), @@ -14811,20 +14784,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(103), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -14834,27 +14806,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(12), + }, + End: ast.Location{ + Line: int(103), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p824, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(103), @@ -14864,201 +14856,49 @@ var _StdAst = &ast.DesugaredObject{ Line: int(103), Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p833, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p820, FreeVars: ast.Identifiers{ - "parse_nat", "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(12), + }, + End: ast.Location{ + Line: int(103), + Column: int(29), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(23), - }, - End: ast.Location{ - Line: int(104), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p848, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(104), @@ -15068,40 +14908,176 @@ var _StdAst = &ast.DesugaredObject{ Line: int(104), Column: int(31), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - }, - ThenFodder: nil, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(105), - Column: int(5), + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(104), + Column: int(12), + }, + End: ast.Location{ + Line: int(104), + Column: int(15), + }, + }, + }, }, - End: ast.Location{ - Line: int(105), - Column: int(22), + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(104), + Column: int(12), + }, + End: ast.Location{ + Line: int(104), + Column: int(22), + }, + }, }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p838, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(104), + Column: int(23), + }, + End: ast.Location{ + Line: int(104), + Column: int(26), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(104), + Column: int(12), + }, + End: ast.Location{ + Line: int(104), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p824, + Ctx: p820, FreeVars: ast.Identifiers{ - "parse_nat", + "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(104), + Column: int(12), + }, + End: ast.Location{ + Line: int(104), + Column: int(31), + }, + }, }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "parse_nat", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p820, + FreeVars: ast.Identifiers{ + "parse_nat", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(105), @@ -15111,30 +15087,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(105), Column: int(14), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p824, - FreeVars: ast.Identifiers{ - "parse_nat", }, }, - Id: "parse_nat", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p848, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(105), @@ -15144,22 +15113,20 @@ var _StdAst = &ast.DesugaredObject{ Line: int(105), Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p858, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "8", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p848, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(105), @@ -15169,46 +15136,50 @@ var _StdAst = &ast.DesugaredObject{ Line: int(105), Column: int(21), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p858, - FreeVars: ast.Identifiers{}, }, - OriginalString: "8", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{ + "parse_nat", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(104), + Line: int(105), Column: int(5), }, End: ast.Location{ Line: int(105), Column: int(22), }, - File: p1, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ Expr: &ast.LiteralString{ + Value: "Not an octal number: \"\"", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(104), @@ -15218,23 +15189,235 @@ var _StdAst = &ast.DesugaredObject{ Line: int(104), Column: int(59), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{}, }, - Value: "Not an octal number: \"\"", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(104), + Column: int(5), + }, + End: ast.Location{ + Line: int(105), + Column: int(22), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "parse_nat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(58), + }, + End: ast.Location{ + Line: int(103), + Column: int(61), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(58), + }, + End: ast.Location{ + Line: int(103), + Column: int(66), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p865, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(67), + }, + End: ast.Location{ + Line: int(103), + Column: int(70), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(58), + }, + End: ast.Location{ + Line: int(103), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "Expected string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(32), + }, + End: ast.Location{ + Line: int(103), + Column: int(55), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p820, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(103), + Column: int(32), + }, + End: ast.Location{ + Line: int(103), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(103), @@ -15244,193 +15427,78 @@ var _StdAst = &ast.DesugaredObject{ Line: int(105), Column: int(22), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", }, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(32), - }, - End: ast.Location{ - Line: int(103), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "parse_nat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(32), - }, - End: ast.Location{ - Line: int(103), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{}, - }, - Value: "Expected string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(58), - }, - End: ast.Location{ - Line: int(103), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(58), - }, - End: ast.Location{ - Line: int(103), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(58), - }, - End: ast.Location{ - Line: int(103), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(67), - }, - End: ast.Location{ - Line: int(103), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p877, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(102), + Column: int(14), + }, + End: ast.Location{ + Line: int(102), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "parse_nat", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(102), @@ -15440,37 +15508,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(105), Column: int(22), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "parseHex", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "parseHex", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -15480,105 +15532,26 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(107), - Column: int(12), - }, - End: ast.Location{ - Line: int(107), - Column: int(15), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(12), - }, - End: ast.Location{ - Line: int(108), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(12), - }, - End: ast.Location{ - Line: int(108), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(108), @@ -15588,20 +15561,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(108), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -15611,27 +15583,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(12), + }, + End: ast.Location{ + Line: int(108), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p886, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(108), @@ -15641,201 +15633,49 @@ var _StdAst = &ast.DesugaredObject{ Line: int(108), Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p895, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p882, FreeVars: ast.Identifiers{ - "parse_nat", "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(12), + }, + End: ast.Location{ + Line: int(108), + Column: int(29), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(23), - }, - End: ast.Location{ - Line: int(109), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p910, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(109), @@ -15845,40 +15685,176 @@ var _StdAst = &ast.DesugaredObject{ Line: int(109), Column: int(31), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - }, - ThenFodder: nil, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(110), - Column: int(5), + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(109), + Column: int(12), + }, + End: ast.Location{ + Line: int(109), + Column: int(15), + }, + }, + }, }, - End: ast.Location{ - Line: int(110), - Column: int(23), + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(109), + Column: int(12), + }, + End: ast.Location{ + Line: int(109), + Column: int(22), + }, + }, }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p900, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(109), + Column: int(23), + }, + End: ast.Location{ + Line: int(109), + Column: int(26), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(109), + Column: int(12), + }, + End: ast.Location{ + Line: int(109), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p886, + Ctx: p882, FreeVars: ast.Identifiers{ - "parse_nat", + "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(109), + Column: int(12), + }, + End: ast.Location{ + Line: int(109), + Column: int(31), + }, + }, }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "parse_nat", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p882, + FreeVars: ast.Identifiers{ + "parse_nat", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(110), @@ -15888,30 +15864,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(110), Column: int(14), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p886, - FreeVars: ast.Identifiers{ - "parse_nat", }, }, - Id: "parse_nat", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p910, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(110), @@ -15921,22 +15890,20 @@ var _StdAst = &ast.DesugaredObject{ Line: int(110), Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p920, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "16", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p910, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(110), @@ -15946,46 +15913,50 @@ var _StdAst = &ast.DesugaredObject{ Line: int(110), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p920, - FreeVars: ast.Identifiers{}, }, - OriginalString: "16", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{ + "parse_nat", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(109), + Line: int(110), Column: int(5), }, End: ast.Location{ Line: int(110), Column: int(23), }, - File: p1, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ Expr: &ast.LiteralString{ + Value: "Not hexadecimal: \"\"", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(109), @@ -15995,131 +15966,66 @@ var _StdAst = &ast.DesugaredObject{ Line: int(109), Column: int(55), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{}, }, - Value: "Not hexadecimal: \"\"", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(109), + Column: int(5), + }, + End: ast.Location{ + Line: int(110), + Column: int(23), + }, + }, }, }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ + ThenFodder: nil, + ElseFodder: nil, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(5), - }, - End: ast.Location{ - Line: int(110), - Column: int(23), - }, - File: p1, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ + "parse_nat", "std", "str", }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(32), - }, - End: ast.Location{ - Line: int(108), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(32), - }, - End: ast.Location{ - Line: int(108), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{}, - }, - Value: "Expected string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(58), - }, - End: ast.Location{ - Line: int(108), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(58), - }, - End: ast.Location{ - Line: int(108), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(108), @@ -16129,20 +16035,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(108), Column: int(61), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -16152,27 +16057,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(58), + }, + End: ast.Location{ + Line: int(108), + Column: int(66), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p927, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(108), @@ -16182,32 +16107,175 @@ var _StdAst = &ast.DesugaredObject{ Line: int(108), Column: int(70), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p939, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(58), + }, + End: ast.Location{ + Line: int(108), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "Expected string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(32), + }, + End: ast.Location{ + Line: int(108), + Column: int(55), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p882, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(32), + }, + End: ast.Location{ + Line: int(108), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(5), + }, + End: ast.Location{ + Line: int(110), + Column: int(23), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "parse_nat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(107), + Column: int(12), + }, + End: ast.Location{ + Line: int(107), + Column: int(15), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "parse_nat", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(107), @@ -16217,37 +16285,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(110), Column: int(23), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "split", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "split", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -16257,123 +16309,26 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(112), - Column: int(9), - }, - End: ast.Location{ - Line: int(112), - Column: int(12), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(112), - Column: int(14), - }, - End: ast.Location{ - Line: int(112), - Column: int(15), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - "str", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(12), - }, - End: ast.Location{ - Line: int(113), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(12), - }, - End: ast.Location{ - Line: int(113), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(113), @@ -16383,20 +16338,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(113), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -16406,27 +16360,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(12), + }, + End: ast.Location{ + Line: int(113), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p948, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(113), @@ -16436,93 +16410,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(113), Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p957, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p944, FreeVars: ast.Identifiers{ - "c", "std", "str", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(12), - }, - End: ast.Location{ - Line: int(114), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "c", - "std", + End: ast.Location{ + Line: int(113), + Column: int(29), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(12), - }, - End: ast.Location{ - Line: int(114), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(114), @@ -16532,20 +16465,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(114), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -16555,27 +16487,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(12), + }, + End: ast.Location{ + Line: int(114), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "c", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p960, + FreeVars: ast.Identifiers{ + "c", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(114), @@ -16585,201 +16537,49 @@ var _StdAst = &ast.DesugaredObject{ Line: int(114), Column: int(26), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p970, - FreeVars: ast.Identifiers{ - "c", }, }, - Id: "c", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p944, FreeVars: ast.Identifiers{ "c", "std", - "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(12), + }, + End: ast.Location{ + Line: int(114), + Column: int(27), + }, }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(23), - }, - End: ast.Location{ - Line: int(115), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p985, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(115), @@ -16789,61 +16589,177 @@ var _StdAst = &ast.DesugaredObject{ Line: int(115), Column: int(30), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, - }, - ThenFodder: nil, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(5), + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(12), + }, + End: ast.Location{ + Line: int(115), + Column: int(15), + }, + }, + }, }, - End: ast.Location{ - Line: int(116), - Column: int(31), + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(12), + }, + End: ast.Location{ + Line: int(115), + Column: int(22), + }, + }, }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p974, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(23), + }, + End: ast.Location{ + Line: int(115), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(12), + }, + End: ast.Location{ + Line: int(115), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p948, + Ctx: p944, FreeVars: ast.Identifiers{ "c", "std", - "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(12), + }, + End: ast.Location{ + Line: int(115), + Column: int(30), + }, }, }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(5), - }, - End: ast.Location{ - Line: int(116), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(116), @@ -16853,27 +16769,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(8), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "splitLimit", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -16883,27 +16791,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "splitLimit", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(116), + Column: int(5), + }, + End: ast.Location{ + Line: int(116), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p987, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(116), @@ -16913,22 +16841,22 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(23), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p998, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "c", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p987, + FreeVars: ast.Identifiers{ + "c", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(116), @@ -16938,41 +16866,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(26), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p998, - FreeVars: ast.Identifiers{ - "c", }, }, - Id: "c", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(28), - }, - End: ast.Location{ - Line: int(116), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p998, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), Expr: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p987, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(116), @@ -16982,29 +16890,242 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(30), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p998, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p987, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(116), + Column: int(28), + }, + End: ast.Location{ + Line: int(116), + Column: int(30), + }, + }, + }, + Op: ast.UnaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "c", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(116), + Column: int(5), + }, + End: ast.Location{ + Line: int(116), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(100), + }, + End: ast.Location{ + Line: int(115), + Column: int(103), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(100), + }, + End: ast.Location{ + Line: int(115), + Column: int(110), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1004, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(111), + }, + End: ast.Location{ + Line: int(115), + Column: int(112), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(100), + }, + End: ast.Location{ + Line: int(115), + Column: int(113), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.split second parameter must have length 1 or greater, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(33), + }, + End: ast.Location{ + Line: int(115), + Column: int(97), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(115), + Column: int(33), + }, + End: ast.Location{ + Line: int(115), + Column: int(113), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(115), @@ -17014,194 +17135,216 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(31), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", }, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(33), - }, - End: ast.Location{ - Line: int(115), - Column: int(104), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "c", - "std", - }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(33), - }, - End: ast.Location{ - Line: int(115), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{}, - }, - Value: "std.split second parameter should have length 1, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(91), - }, - End: ast.Location{ - Line: int(115), - Column: int(104), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(91), - }, - End: ast.Location{ - Line: int(115), - Column: int(101), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(91), - }, - End: ast.Location{ - Line: int(115), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(102), - }, - End: ast.Location{ - Line: int(115), - Column: int(103), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1018, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(84), + }, + End: ast.Location{ + Line: int(114), + Column: int(87), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(84), + }, + End: ast.Location{ + Line: int(114), + Column: int(92), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1021, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(93), + }, + End: ast.Location{ + Line: int(114), + Column: int(94), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(84), + }, + End: ast.Location{ + Line: int(114), + Column: int(95), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.split second parameter must be a String, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(30), + }, + End: ast.Location{ + Line: int(114), + Column: int(81), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(30), + }, + End: ast.Location{ + Line: int(114), + Column: int(95), + }, + }, + }, + Op: ast.BinaryOp(3), + }, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(114), @@ -17211,194 +17354,216 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(31), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", }, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(30), - }, - End: ast.Location{ - Line: int(114), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "c", - "std", - }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(30), - }, - End: ast.Location{ - Line: int(114), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{}, - }, - Value: "std.split second parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(86), - }, - End: ast.Location{ - Line: int(114), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(86), - }, - End: ast.Location{ - Line: int(114), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(86), - }, - End: ast.Location{ - Line: int(114), - Column: int(89), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(95), - }, - End: ast.Location{ - Line: int(114), - Column: int(96), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1034, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(85), + }, + End: ast.Location{ + Line: int(113), + Column: int(88), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(85), + }, + End: ast.Location{ + Line: int(113), + Column: int(93), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1038, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(94), + }, + End: ast.Location{ + Line: int(113), + Column: int(97), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(85), + }, + End: ast.Location{ + Line: int(113), + Column: int(98), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.split first parameter must be a String, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(32), + }, + End: ast.Location{ + Line: int(113), + Column: int(82), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p944, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(32), + }, + End: ast.Location{ + Line: int(113), + Column: int(98), + }, + }, + }, + Op: ast.BinaryOp(3), + }, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(113), @@ -17408,193 +17573,96 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(31), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", }, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(32), - }, - End: ast.Location{ - Line: int(113), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(32), - }, - End: ast.Location{ - Line: int(113), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{}, - }, - Value: "std.split first parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(87), - }, - End: ast.Location{ - Line: int(113), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(87), - }, - End: ast.Location{ - Line: int(113), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(87), - }, - End: ast.Location{ - Line: int(113), - Column: int(90), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(96), - }, - End: ast.Location{ - Line: int(113), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1050, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(112), + Column: int(9), + }, + End: ast.Location{ + Line: int(112), + Column: int(12), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "c", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(112), + Column: int(14), + }, + End: ast.Location{ + Line: int(112), + Column: int(15), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(112), @@ -17604,37 +17672,21 @@ var _StdAst = &ast.DesugaredObject{ Line: int(116), Column: int(31), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "splitLimit", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "splitLimit", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -17644,143 +17696,26 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(14), - }, - End: ast.Location{ - Line: int(118), - Column: int(17), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(19), - }, - End: ast.Location{ - Line: int(118), - Column: int(20), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "maxsplits", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(22), - }, - End: ast.Location{ - Line: int(118), - Column: int(31), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(12), - }, - End: ast.Location{ - Line: int(119), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(12), - }, - End: ast.Location{ - Line: int(119), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(119), @@ -17790,20 +17725,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(119), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -17813,27 +17747,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(12), + }, + End: ast.Location{ + Line: int(119), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1059, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(119), @@ -17843,94 +17797,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(119), Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1068, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1055, FreeVars: ast.Identifiers{ - "c", - "maxsplits", "std", "str", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(12), - }, - End: ast.Location{ - Line: int(120), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "c", - "std", + End: ast.Location{ + Line: int(119), + Column: int(29), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(12), - }, - End: ast.Location{ - Line: int(120), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(120), @@ -17940,20 +17852,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(120), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -17963,27 +17874,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(12), + }, + End: ast.Location{ + Line: int(120), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "c", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1071, + FreeVars: ast.Identifiers{ + "c", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(120), @@ -17993,202 +17924,49 @@ var _StdAst = &ast.DesugaredObject{ Line: int(120), Column: int(26), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1081, - FreeVars: ast.Identifiers{ - "c", }, }, - Id: "c", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1055, FreeVars: ast.Identifiers{ "c", - "maxsplits", "std", - "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(12), + }, + End: ast.Location{ + Line: int(120), + Column: int(27), + }, }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(23), - }, - End: ast.Location{ - Line: int(121), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1096, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(121), @@ -18198,83 +17976,171 @@ var _StdAst = &ast.DesugaredObject{ Line: int(121), Column: int(30), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", }, }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(12), - }, - End: ast.Location{ - Line: int(122), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - }, + Left: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(12), + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - End: ast.Location{ - Line: int(122), - Column: int(24), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(12), + }, + End: ast.Location{ + Line: int(121), + Column: int(15), + }, }, - File: p1, }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p1059, + Ctx: p1055, FreeVars: ast.Identifiers{ "std", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(12), + }, + End: ast.Location{ + Line: int(121), + Column: int(22), + }, + }, }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1085, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(23), + }, + End: ast.Location{ + Line: int(121), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(12), + }, + End: ast.Location{ + Line: int(121), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(12), + }, + End: ast.Location{ + Line: int(121), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(122), @@ -18284,20 +18150,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(122), Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -18307,27 +18172,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(12), + }, + End: ast.Location{ + Line: int(122), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "maxsplits", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1098, + FreeVars: ast.Identifiers{ + "maxsplits", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(122), @@ -18337,490 +18222,376 @@ var _StdAst = &ast.DesugaredObject{ Line: int(122), Column: int(34), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1110, - FreeVars: ast.Identifiers{ - "maxsplits", }, }, - Id: "maxsplits", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(5), - }, - End: ast.Location{ - Line: int(132), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1059, + Fodder: ast.Fodder{}, + Ctx: p1055, FreeVars: ast.Identifiers{ - "c", "maxsplits", "std", - "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(12), + }, + End: ast.Location{ + Line: int(122), + Column: int(35), + }, }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ - VarFodder: nil, - Variable: "aux", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(11), - }, - End: ast.Location{ - Line: int(131), - Column: int(40), - }, - File: p1, - }, - Fodder: nil, - Ctx: p1117, - FreeVars: ast.Identifiers{ - "aux", - "maxsplits", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(15), + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - End: ast.Location{ - Line: int(123), - Column: int(18), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(123), + Column: int(20), + }, + End: ast.Location{ + Line: int(123), + Column: int(23), + }, }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "delim", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1108, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(123), Column: int(20), }, End: ast.Location{ - Line: int(123), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(27), - }, - End: ast.Location{ - Line: int(123), - Column: int(28), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ Line: int(123), Column: int(30), }, - End: ast.Location{ - Line: int(123), - Column: int(33), - }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(35), + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1112, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(123), + Column: int(31), + }, + End: ast.Location{ + Line: int(123), + Column: int(34), + }, + }, + }, }, - End: ast.Location{ - Line: int(123), - Column: int(36), - }, - File: p1, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1108, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(123), + Column: int(20), + }, + End: ast.Location{ + Line: int(123), + Column: int(35), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "strLen", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(123), + Column: int(11), + }, + End: ast.Location{ + Line: int(123), + Column: int(35), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(124), + Column: int(18), + }, + End: ast.Location{ + Line: int(124), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1122, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(124), + Column: int(18), + }, + End: ast.Location{ + Line: int(124), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1126, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(124), + Column: int(29), + }, + End: ast.Location{ + Line: int(124), + Column: int(30), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1122, + FreeVars: ast.Identifiers{ + "c", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(124), - Column: int(7), + Column: int(18), }, End: ast.Location{ - Line: int(131), - Column: int(40), + Line: int(124), + Column: int(31), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "delim", - "i", - "maxsplits", - "std", - "str", - "v", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(17), - }, - End: ast.Location{ - Line: int(124), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1126, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "cLen", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(124), + Column: int(11), + }, + End: ast.Location{ + Line: int(124), + Column: int(31), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "strLen", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "strLen", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(124), + Line: int(126), Column: int(17), }, End: ast.Location{ - Line: int(124), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1126, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(21), - }, - End: ast.Location{ - Line: int(124), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1126, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(13), - }, - End: ast.Location{ - Line: int(124), - Column: int(23), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(7), - }, - End: ast.Location{ - Line: int(131), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "c", - "delim", - "i", - "maxsplits", - "std", - "str", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "i2", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(18), - }, - End: ast.Location{ - Line: int(125), + Line: int(126), Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1137, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(18), - }, - End: ast.Location{ - Line: int(125), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1137, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(22), - }, - End: ast.Location{ - Line: int(125), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1137, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(13), - }, - End: ast.Location{ - Line: int(125), - Column: int(23), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(7), - }, - End: ast.Location{ - Line: int(131), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "c", - "delim", - "i", - "i2", - "maxsplits", - "std", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(10), - }, - End: ast.Location{ - Line: int(126), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", }, }, Left: &ast.Var{ + Id: "idx", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "idx", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(126), @@ -18828,172 +18599,102 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(126), - Column: int(11), + Column: int(13), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "i", }, }, - Id: "i", }, OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "idx", + "strLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(126), + Column: int(10), + }, + End: ast.Location{ + Line: int(126), + Column: int(23), + }, + }, + }, Op: ast.BinaryOp(8), - Right: &ast.Apply{ + }, + BranchTrue: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1144, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(127), + Column: int(16), + }, + End: ast.Location{ + Line: int(127), + Column: int(19), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "val", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(126), + Line: int(127), Column: int(15), }, End: ast.Location{ - Line: int(126), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(15), - }, - End: ast.Location{ - Line: int(126), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "std", + Line: int(127), + Column: int(20), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(15), - }, - End: ast.Location{ - Line: int(126), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(26), - }, - End: ast.Location{ - Line: int(126), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1158, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(9), - }, - End: ast.Location{ - Line: int(127), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "v", - }, }, Left: &ast.Var{ + Id: "ret", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "ret", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(127), @@ -19003,160 +18704,573 @@ var _StdAst = &ast.DesugaredObject{ Line: int(127), Column: int(12), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", }, }, - Id: "arr", }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(15), - }, - End: ast.Location{ - Line: int(127), - Column: int(18), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "ret", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(127), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "v", + End: ast.Location{ + Line: int(127), + Column: int(20), }, }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.Var{ + Id: "maxsplits", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "maxsplits", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(127), + Line: int(129), + Column: int(53), + }, + End: ast.Location{ + Line: int(129), + Column: int(62), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(35), + }, + End: ast.Location{ + Line: int(129), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(35), + }, + End: ast.Location{ + Line: int(129), + Column: int(45), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "ret", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1165, + FreeVars: ast.Identifiers{ + "ret", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(46), + }, + End: ast.Location{ + Line: int(129), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "ret", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(35), + }, + End: ast.Location{ + Line: int(129), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "maxsplits", + "ret", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(35), + }, + End: ast.Location{ + Line: int(129), + Column: int(62), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(30), + }, + End: ast.Location{ + Line: int(129), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(29), + }, + End: ast.Location{ + Line: int(129), + Column: int(31), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + Left: &ast.Var{ + Id: "maxsplits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), Column: int(16), }, End: ast.Location{ - Line: int(127), - Column: int(17), + Line: int(129), + Column: int(25), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1169, - FreeVars: ast.Identifiers{ - "v", }, }, - Id: "v", }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(12), - }, - End: ast.Location{ - Line: int(131), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "c", - "delim", - "i2", - "maxsplits", - "std", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(15), + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(16), + }, + End: ast.Location{ + Line: int(129), + Column: int(31), + }, + }, }, - End: ast.Location{ - Line: int(128), - Column: int(77), - }, - File: p1, + Op: ast.BinaryOp(12), }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "c", - "delim", - "maxsplits", - "std", - }, - }, - Left: &ast.Binary{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "maxsplits", + "ret", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(128), - Column: int(15), + Line: int(129), + Column: int(16), }, End: ast.Location{ - Line: int(128), - Column: int(25), + Line: int(129), + Column: int(62), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "c", - "delim", }, }, - Left: &ast.Var{ + Op: ast.BinaryOp(18), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "c", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "c", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(44), + }, + End: ast.Location{ + Line: int(128), + Column: int(45), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(15), + }, + End: ast.Location{ + Line: int(128), + Column: int(18), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(19), + }, + End: ast.Location{ + Line: int(128), + Column: int(22), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "cLen", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "cLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(31), + }, + End: ast.Location{ + Line: int(128), + Column: int(35), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(25), + }, + End: ast.Location{ + Line: int(128), + Column: int(28), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "cLen", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(25), + }, + End: ast.Location{ + Line: int(128), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(38), + }, + End: ast.Location{ + Line: int(128), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "cLen", + "idx", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(128), @@ -19164,1073 +19278,1184 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(128), - Column: int(16), + Column: int(40), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "c", }, }, - Id: "c", + TrailingComma: false, + TailStrict: false, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(20), - }, - End: ast.Location{ - Line: int(128), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "delim", - }, - }, - Id: "delim", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "$std", + "c", + "cLen", + "idx", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(128), - Column: int(30), + Column: int(15), }, End: ast.Location{ Line: int(128), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "maxsplits", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(30), - }, - End: ast.Location{ - Line: int(128), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(30), - }, - End: ast.Location{ - Line: int(128), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - }, - Id: "maxsplits", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(43), - }, - End: ast.Location{ - Line: int(128), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(44), - }, - End: ast.Location{ - Line: int(128), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", + Column: int(45), }, }, }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(49), - }, - End: ast.Location{ - Line: int(128), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "maxsplits", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(49), - }, - End: ast.Location{ - Line: int(128), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(49), - }, - End: ast.Location{ - Line: int(128), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(49), - }, - End: ast.Location{ - Line: int(128), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(60), - }, - End: ast.Location{ - Line: int(128), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1201, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(67), - }, - End: ast.Location{ - Line: int(128), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - }, - Id: "maxsplits", - }, - }, + Op: ast.BinaryOp(12), }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "$std", + "c", + "cLen", + "idx", + "maxsplits", + "ret", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(129), - Column: int(9), + Line: int(128), + Column: int(15), }, End: ast.Location{ Line: int(129), - Column: int(43), + Column: int(63), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "delim", - "i2", - "str", - "v", }, }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(9), - }, - End: ast.Location{ - Line: int(129), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p1122, + Ctx: p1135, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(130), + Column: int(9), + }, + End: ast.Location{ + Line: int(130), + Column: int(12), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Var{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "cLen", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1207, + FreeVars: ast.Identifiers{ + "cLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(130), + Column: int(19), + }, + End: ast.Location{ + Line: int(130), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1207, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(130), + Column: int(13), + }, + End: ast.Location{ + Line: int(130), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1207, + FreeVars: ast.Identifiers{ + "cLen", + "idx", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(129), + Line: int(130), Column: int(13), }, End: ast.Location{ - Line: int(129), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1212, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(18), - }, - End: ast.Location{ - Line: int(129), + Line: int(130), Column: int(23), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1212, - FreeVars: ast.Identifiers{ - "delim", }, }, - Id: "delim", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(25), - }, - End: ast.Location{ - Line: int(129), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1212, - FreeVars: ast.Identifiers{ - "i2", - }, - }, - Id: "i2", + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(29), - }, - End: ast.Location{ - Line: int(129), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1212, - FreeVars: ast.Identifiers{ - "arr", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(29), - }, - End: ast.Location{ - Line: int(129), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1212, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(35), - }, - End: ast.Location{ - Line: int(129), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1212, - FreeVars: ast.Identifiers{ - "v", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "val", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1216, + FreeVars: ast.Identifiers{ + "val", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(129), - Column: int(36), + Line: int(130), + Column: int(32), }, End: ast.Location{ - Line: int(129), - Column: int(37), + Line: int(130), + Column: int(35), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1226, - FreeVars: ast.Identifiers{ - "v", }, }, - Id: "v", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1207, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(130), + Column: int(31), + }, + End: ast.Location{ + Line: int(130), + Column: int(36), + }, + }, + }, + TrailingComma: false, }, + Left: &ast.Var{ + Id: "ret", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1207, + FreeVars: ast.Identifiers{ + "ret", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(130), + Column: int(25), + }, + End: ast.Location{ + Line: int(130), + Column: int(28), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1207, + FreeVars: ast.Identifiers{ + "ret", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(130), + Column: int(25), + }, + End: ast.Location{ + Line: int(130), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(40), - }, - End: ast.Location{ - Line: int(129), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1212, - FreeVars: ast.Identifiers{}, - }, Value: "", - Kind: ast.LiteralStringKind(1), BlockIndent: "", BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1207, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(130), + Column: int(38), + }, + End: ast.Location{ + Line: int(130), + Column: int(40), + }, + }, + }, + Kind: ast.LiteralStringKind(1), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: true, FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "aux", + "cLen", + "idx", + "ret", + "val", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(131), + Line: int(130), Column: int(9), }, End: ast.Location{ - Line: int(131), - Column: int(40), + Line: int(130), + Column: int(41), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "c", - "delim", - "i2", - "str", - "v", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(131), - Column: int(9), - }, - End: ast.Location{ - Line: int(131), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p1122, + Ctx: p1135, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(9), + }, + End: ast.Location{ + Line: int(132), + Column: int(12), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Var{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(19), + }, + End: ast.Location{ + Line: int(132), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(13), + }, + End: ast.Location{ + Line: int(132), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "idx", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(131), + Line: int(132), Column: int(13), }, End: ast.Location{ - Line: int(131), - Column: int(16), + Line: int(132), + Column: int(20), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1237, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "ret", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "ret", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(131), - Column: int(18), + Line: int(132), + Column: int(22), }, End: ast.Location{ - Line: int(131), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1237, - FreeVars: ast.Identifiers{ - "delim", - }, - }, - Id: "delim", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(131), + Line: int(132), Column: int(25), }, - End: ast.Location{ - Line: int(131), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1237, - FreeVars: ast.Identifiers{ - "i2", }, }, - Id: "i2", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(131), - Column: int(29), - }, - End: ast.Location{ - Line: int(131), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1237, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(131), - Column: int(34), + Right: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(33), + }, + End: ast.Location{ + Line: int(132), + Column: int(36), + }, + }, }, - End: ast.Location{ - Line: int(131), - Column: int(39), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1237, - FreeVars: ast.Identifiers{ - "c", - "v", + Index: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(37), + }, + End: ast.Location{ + Line: int(132), + Column: int(40), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "idx", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(33), + }, + End: ast.Location{ + Line: int(132), + Column: int(41), + }, + }, }, }, Left: &ast.Var{ + Id: "val", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "val", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(131), - Column: int(34), + Line: int(132), + Column: int(27), }, End: ast.Location{ - Line: int(131), - Column: int(35), + Line: int(132), + Column: int(30), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1237, - FreeVars: ast.Identifiers{ - "v", }, }, - Id: "v", }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(131), - Column: int(38), - }, - End: ast.Location{ - Line: int(131), - Column: int(39), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1231, + FreeVars: ast.Identifiers{ + "idx", + "str", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(27), }, - Fodder: ast.Fodder{}, - Ctx: p1237, - FreeVars: ast.Identifiers{ - "c", + End: ast.Location{ + Line: int(132), + Column: int(41), }, }, - Id: "c", }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: true, FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "aux", + "idx", + "ret", + "str", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(132), + Column: int(9), + }, + End: ast.Location{ + Line: int(132), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "c", + "cLen", + "idx", + "maxsplits", + "ret", + "std", + "str", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(128), + Column: int(12), + }, + End: ast.Location{ + Line: int(132), + Column: int(42), + }, + }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p1135, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "c", + "cLen", + "idx", + "maxsplits", + "ret", + "std", + "str", + "strLen", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(126), + Column: int(7), + }, + End: ast.Location{ + Line: int(132), + Column: int(42), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "idx", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(125), + Column: int(15), + }, + End: ast.Location{ + Line: int(125), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "ret", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(125), + Column: int(20), + }, + End: ast.Location{ + Line: int(125), + Column: int(23), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "val", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(125), + Column: int(25), + }, + End: ast.Location{ + Line: int(125), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p1254, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "c", + "cLen", + "maxsplits", + "std", + "str", + "strLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(125), + Column: int(11), + }, + End: ast.Location{ + Line: int(132), + Column: int(42), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "aux", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(133), + Column: int(5), + }, + End: ast.Location{ + Line: int(133), + Column: int(8), + }, + }, + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1262, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(133), + Column: int(9), + }, + End: ast.Location{ + Line: int(133), + Column: int(10), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1262, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(133), + Column: int(12), + }, + End: ast.Location{ + Line: int(133), + Column: int(14), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1262, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(133), + Column: int(16), + }, + End: ast.Location{ + Line: int(133), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: nil, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(133), + Column: int(5), + }, + End: ast.Location{ + Line: int(133), + Column: int(19), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(5), - }, - End: ast.Location{ - Line: int(132), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "aux", - "c", - "str", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(5), - }, - End: ast.Location{ - Line: int(132), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p1059, + Ctx: p1055, FreeVars: ast.Identifiers{ - "aux", + "$std", + "c", + "cLen", + "maxsplits", + "std", + "str", + "strLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(125), + Column: int(5), + }, + End: ast.Location{ + Line: int(133), + Column: int(19), + }, }, }, - Id: "aux", }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(9), - }, - End: ast.Location{ - Line: int(132), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1258, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(14), - }, - End: ast.Location{ - Line: int(132), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1258, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(17), - }, - End: ast.Location{ - Line: int(132), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1258, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(20), - }, - End: ast.Location{ - Line: int(132), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1258, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(24), - }, - End: ast.Location{ - Line: int(132), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1258, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "$std", + "c", + "maxsplits", + "std", + "str", + "strLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(124), + Column: int(5), + }, + End: ast.Location{ + Line: int(133), + Column: int(19), }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "$std", + "c", + "maxsplits", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(122), + Line: int(123), Column: int(5), }, End: ast.Location{ - Line: int(132), - Column: int(27), + Line: int(133), + Column: int(19), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", }, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(96), + }, + End: ast.Location{ + Line: int(122), + Column: int(99), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(96), + }, + End: ast.Location{ + Line: int(122), + Column: int(104), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "maxsplits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1282, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(105), + }, + End: ast.Location{ + Line: int(122), + Column: int(114), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(96), + }, + End: ast.Location{ + Line: int(122), + Column: int(115), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "str.splitLimit third parameter must be a Number, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(38), + }, + End: ast.Location{ + Line: int(122), + Column: int(93), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(122), @@ -20238,217 +20463,197 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(122), - Column: int(117), + Column: int(115), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(38), - }, - End: ast.Location{ - Line: int(122), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{}, - }, - Value: "std.splitLimit third parameter should be a number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(98), - }, - End: ast.Location{ - Line: int(122), - Column: int(117), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(5), }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(98), - }, - End: ast.Location{ - Line: int(122), - Column: int(106), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(98), - }, - End: ast.Location{ - Line: int(122), - Column: int(101), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + End: ast.Location{ + Line: int(133), + Column: int(19), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(107), - }, - End: ast.Location{ - Line: int(122), - Column: int(116), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1279, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - }, - Id: "maxsplits", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(5), - }, - End: ast.Location{ - Line: int(132), - Column: int(27), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(33), + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(105), + }, + End: ast.Location{ + Line: int(121), + Column: int(108), + }, + }, + }, }, - End: ast.Location{ - Line: int(121), - Column: int(109), + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(105), + }, + End: ast.Location{ + Line: int(121), + Column: int(115), + }, + }, }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "c", - "std", + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1299, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(116), + }, + End: ast.Location{ + Line: int(121), + Column: int(117), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(105), + }, + End: ast.Location{ + Line: int(121), + Column: int(118), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, Left: &ast.LiteralString{ + Value: "std.splitLimit second parameter must have length 1 or greater, got ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(121), @@ -20456,175 +20661,243 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(121), - Column: int(93), + Column: int(102), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{}, }, - Value: "std.splitLimit second parameter should have length 1, got ", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(33), + }, + End: ast.Location{ + Line: int(121), + Column: int(118), + }, + }, + }, Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(96), - }, - End: ast.Location{ - Line: int(121), - Column: int(109), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "c", - "std", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(5), }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(96), - }, - End: ast.Location{ - Line: int(121), - Column: int(106), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(96), - }, - End: ast.Location{ - Line: int(121), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + End: ast.Location{ + Line: int(133), + Column: int(19), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(107), - }, - End: ast.Location{ - Line: int(121), - Column: int(108), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1295, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(5), - }, - End: ast.Location{ - Line: int(132), - Column: int(27), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(89), + }, + End: ast.Location{ + Line: int(120), + Column: int(92), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(89), + }, + End: ast.Location{ + Line: int(120), + Column: int(97), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1316, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(98), + }, + End: ast.Location{ + Line: int(120), + Column: int(99), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(89), + }, + End: ast.Location{ + Line: int(120), + Column: int(100), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "str.splitLimit second parameter must be a String, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(30), + }, + End: ast.Location{ + Line: int(120), + Column: int(86), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "c", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(120), @@ -20632,217 +20905,197 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(120), - Column: int(102), + Column: int(100), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "c", - "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(30), - }, - End: ast.Location{ - Line: int(120), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{}, - }, - Value: "std.splitLimit second parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(91), - }, - End: ast.Location{ - Line: int(120), - Column: int(102), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "c", - "std", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(5), }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(91), - }, - End: ast.Location{ - Line: int(120), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(91), - }, - End: ast.Location{ - Line: int(120), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + End: ast.Location{ + Line: int(133), + Column: int(19), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(100), - }, - End: ast.Location{ - Line: int(120), - Column: int(101), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1311, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(5), - }, - End: ast.Location{ - Line: int(132), - Column: int(27), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(32), + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(90), + }, + End: ast.Location{ + Line: int(119), + Column: int(93), + }, + }, + }, }, - End: ast.Location{ - Line: int(119), - Column: int(105), + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(90), + }, + End: ast.Location{ + Line: int(119), + Column: int(98), + }, + }, }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - "str", + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1333, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(99), + }, + End: ast.Location{ + Line: int(119), + Column: int(102), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(90), + }, + End: ast.Location{ + Line: int(119), + Column: int(103), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, Left: &ast.LiteralString{ + Value: "str.splitLimit first parameter must be a String, got ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(119), @@ -20850,193 +21103,189 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(119), - Column: int(89), + Column: int(87), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{}, }, - Value: "std.splitLimit first parameter should be a string, got ", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1055, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(32), + }, + End: ast.Location{ + Line: int(119), + Column: int(103), + }, + }, + }, Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(92), - }, - End: ast.Location{ - Line: int(119), - Column: int(105), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(5), }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(92), - }, - End: ast.Location{ - Line: int(119), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(92), - }, - End: ast.Location{ - Line: int(119), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + End: ast.Location{ + Line: int(133), + Column: int(19), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(101), - }, - End: ast.Location{ - Line: int(119), - Column: int(104), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1327, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(118), + Column: int(14), + }, + End: ast.Location{ + Line: int(118), + Column: int(17), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "c", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(118), + Column: int(19), + }, + End: ast.Location{ + Line: int(118), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "maxsplits", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(118), + Column: int(22), + }, + End: ast.Location{ + Line: int(118), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(118), Column: int(3), }, End: ast.Location{ - Line: int(132), - Column: int(27), + Line: int(133), + Column: int(19), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "splitLimitR", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "strReplace", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -21046,168 +21295,48 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(134), - Column: int(14), - }, - End: ast.Location{ - Line: int(134), - Column: int(17), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "from", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(134), - Column: int(19), - }, - End: ast.Location{ - Line: int(134), - Column: int(23), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "to", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(134), - Column: int(25), - }, - End: ast.Location{ - Line: int(134), - Column: int(27), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(12), - }, - End: ast.Location{ - Line: int(135), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(12), - }, - End: ast.Location{ - Line: int(135), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(12), - }, - End: ast.Location{ - Line: int(135), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(12), + }, + End: ast.Location{ + Line: int(136), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -21217,60 +21346,2587 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(12), + }, + End: ast.Location{ + Line: int(136), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(25), - }, - End: ast.Location{ - Line: int(135), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1345, + Ctx: p1354, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(25), + }, + End: ast.Location{ + Line: int(136), + Column: int(28), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(12), + }, + End: ast.Location{ + Line: int(136), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(12), + }, + End: ast.Location{ + Line: int(137), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(12), + }, + End: ast.Location{ + Line: int(137), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1366, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(25), + }, + End: ast.Location{ + Line: int(137), + Column: int(26), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(12), + }, + End: ast.Location{ + Line: int(137), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(29), + }, + End: ast.Location{ + Line: int(138), + Column: int(30), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(12), + }, + End: ast.Location{ + Line: int(138), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(12), + }, + End: ast.Location{ + Line: int(138), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1380, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(23), + }, + End: ast.Location{ + Line: int(138), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(12), + }, + End: ast.Location{ + Line: int(138), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(12), + }, + End: ast.Location{ + Line: int(138), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(12), + }, + End: ast.Location{ + Line: int(139), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(12), + }, + End: ast.Location{ + Line: int(139), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "maxsplits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1393, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(25), + }, + End: ast.Location{ + Line: int(139), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(12), + }, + End: ast.Location{ + Line: int(139), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(140), + Column: int(22), + }, + End: ast.Location{ + Line: int(140), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(140), + Column: int(21), + }, + End: ast.Location{ + Line: int(140), + Column: int(23), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + Left: &ast.Var{ + Id: "maxsplits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(140), + Column: int(8), + }, + End: ast.Location{ + Line: int(140), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(140), + Column: int(8), + }, + End: ast.Location{ + Line: int(140), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(141), + Column: int(7), + }, + End: ast.Location{ + Line: int(141), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "splitLimit", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(141), + Column: int(7), + }, + End: ast.Location{ + Line: int(141), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1412, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(141), + Column: int(22), + }, + End: ast.Location{ + Line: int(141), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1412, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(141), + Column: int(27), + }, + End: ast.Location{ + Line: int(141), + Column: int(28), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1412, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(141), + Column: int(31), + }, + End: ast.Location{ + Line: int(141), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1412, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(141), + Column: int(30), + }, + End: ast.Location{ + Line: int(141), + Column: int(32), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(141), + Column: int(7), + }, + End: ast.Location{ + Line: int(141), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(27), + }, + End: ast.Location{ + Line: int(143), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1427, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(27), + }, + End: ast.Location{ + Line: int(143), + Column: int(35), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1431, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(36), + }, + End: ast.Location{ + Line: int(143), + Column: int(38), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(40), + }, + End: ast.Location{ + Line: int(143), + Column: int(43), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "reverse", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1431, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(40), + }, + End: ast.Location{ + Line: int(143), + Column: int(51), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(52), + }, + End: ast.Location{ + Line: int(143), + Column: int(55), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1444, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(52), + }, + End: ast.Location{ + Line: int(143), + Column: int(67), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1448, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(68), + }, + End: ast.Location{ + Line: int(143), + Column: int(71), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1444, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(52), + }, + End: ast.Location{ + Line: int(143), + Column: int(72), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1431, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(40), + }, + End: ast.Location{ + Line: int(143), + Column: int(73), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1427, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(27), + }, + End: ast.Location{ + Line: int(143), + Column: int(74), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(20), + }, + End: ast.Location{ + Line: int(143), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p1454, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(13), + }, + End: ast.Location{ + Line: int(143), + Column: int(74), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "revStr", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(7), + }, + End: ast.Location{ + Line: int(144), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(7), + }, + End: ast.Location{ + Line: int(144), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "revStr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1467, + FreeVars: ast.Identifiers{ + "revStr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(27), + }, + End: ast.Location{ + Line: int(144), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1471, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(34), + }, + End: ast.Location{ + Line: int(144), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1467, + FreeVars: ast.Identifiers{ + "e", + "revStr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(27), + }, + End: ast.Location{ + Line: int(144), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "e", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(24), + }, + End: ast.Location{ + Line: int(144), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1475, + FreeVars: ast.Identifiers{ + "revStr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(15), + }, + End: ast.Location{ + Line: int(144), + Column: int(36), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(38), + }, + End: ast.Location{ + Line: int(144), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "reverse", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1475, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(38), + }, + End: ast.Location{ + Line: int(144), + Column: int(49), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(50), + }, + End: ast.Location{ + Line: int(144), + Column: int(53), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "splitLimit", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1489, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(50), + }, + End: ast.Location{ + Line: int(144), + Column: int(64), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "revStr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1494, + FreeVars: ast.Identifiers{ + "revStr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(65), + }, + End: ast.Location{ + Line: int(144), + Column: int(71), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1498, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(72), + }, + End: ast.Location{ + Line: int(144), + Column: int(75), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1494, + FreeVars: ast.Identifiers{ + "revStr", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(65), + }, + End: ast.Location{ + Line: int(144), + Column: int(76), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "revStr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1494, + FreeVars: ast.Identifiers{ + "revStr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(78), + }, + End: ast.Location{ + Line: int(144), + Column: int(84), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1506, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(85), + }, + End: ast.Location{ + Line: int(144), + Column: int(86), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1494, + FreeVars: ast.Identifiers{ + "c", + "revStr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(78), + }, + End: ast.Location{ + Line: int(144), + Column: int(87), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "maxsplits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1494, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(89), + }, + End: ast.Location{ + Line: int(144), + Column: int(98), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1489, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "revStr", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(50), + }, + End: ast.Location{ + Line: int(144), + Column: int(99), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1475, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "revStr", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(38), + }, + End: ast.Location{ + Line: int(144), + Column: int(100), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "revStr", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(144), + Column: int(7), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(143), + Column: int(7), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(140), + Column: int(5), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(97), + }, + End: ast.Location{ + Line: int(139), + Column: int(100), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(97), + }, + End: ast.Location{ + Line: int(139), + Column: int(105), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "maxsplits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1529, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(106), + }, + End: ast.Location{ + Line: int(139), + Column: int(115), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(97), + }, + End: ast.Location{ + Line: int(139), + Column: int(116), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "str.splitLimitR third parameter must be a Number, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(38), + }, + End: ast.Location{ + Line: int(139), + Column: int(94), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(38), + }, + End: ast.Location{ + Line: int(139), + Column: int(116), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(139), + Column: int(5), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(106), + }, + End: ast.Location{ + Line: int(138), + Column: int(109), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(106), + }, + End: ast.Location{ + Line: int(138), + Column: int(116), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1546, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(117), + }, + End: ast.Location{ + Line: int(138), + Column: int(118), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(106), + }, + End: ast.Location{ + Line: int(138), + Column: int(119), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.splitLimitR second parameter must have length 1 or greater, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(33), + }, + End: ast.Location{ + Line: int(138), + Column: int(103), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(33), + }, + End: ast.Location{ + Line: int(138), + Column: int(119), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(138), + Column: int(5), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(90), + }, + End: ast.Location{ + Line: int(137), + Column: int(93), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(90), + }, + End: ast.Location{ + Line: int(137), + Column: int(98), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1563, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(99), + }, + End: ast.Location{ + Line: int(137), + Column: int(100), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(90), + }, + End: ast.Location{ + Line: int(137), + Column: int(101), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "str.splitLimitR second parameter must be a String, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(30), + }, + End: ast.Location{ + Line: int(137), + Column: int(87), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(30), + }, + End: ast.Location{ + Line: int(137), + Column: int(101), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(137), + Column: int(5), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -21280,236 +23936,45 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", }, }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(12), - }, - End: ast.Location{ - Line: int(136), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(12), - }, - End: ast.Location{ - Line: int(136), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(12), - }, - End: ast.Location{ - Line: int(136), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(25), - }, - End: ast.Location{ - Line: int(136), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1358, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Id: "from", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(12), - }, - End: ast.Location{ - Line: int(137), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "std", - "to", - }, - }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(12), - }, - End: ast.Location{ - Line: int(137), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(12), - }, - End: ast.Location{ - Line: int(137), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(91), + }, + End: ast.Location{ + Line: int(136), + Column: int(94), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -21519,60 +23984,338 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(91), + }, + End: ast.Location{ + Line: int(136), + Column: int(99), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1580, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(137), - Column: int(25), + Line: int(136), + Column: int(100), }, End: ast.Location{ - Line: int(137), - Column: int(27), + Line: int(136), + Column: int(103), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1371, - FreeVars: ast.Identifiers{ - "to", }, }, - Id: "to", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(91), + }, + End: ast.Location{ + Line: int(136), + Column: int(104), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "str.splitLimitR first parameter must be a String, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(32), + }, + End: ast.Location{ + Line: int(136), + Column: int(88), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1350, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(32), + }, + End: ast.Location{ + Line: int(136), + Column: int(104), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(136), + Column: int(5), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "c", + "maxsplits", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(135), + Column: int(15), + }, + End: ast.Location{ + Line: int(135), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "c", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(135), + Column: int(20), + }, + End: ast.Location{ + Line: int(135), + Column: int(21), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "maxsplits", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(135), + Column: int(23), + }, + End: ast.Location{ + Line: int(135), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(135), + Column: int(3), + }, + End: ast.Location{ + Line: int(144), + Column: int(101), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "strReplace", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(147), + Column: int(12), + }, + End: ast.Location{ + Line: int(147), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -21582,198 +24325,450 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", }, }, - Cond: &ast.Binary{ + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(147), + Column: int(12), + }, + End: ast.Location{ + Line: int(147), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1601, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(147), + Column: int(25), + }, + End: ast.Location{ + Line: int(147), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(147), + Column: int(12), + }, + End: ast.Location{ + Line: int(147), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(138), + Line: int(148), Column: int(12), }, End: ast.Location{ - Line: int(138), - Column: int(22), + Line: int(148), + Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "from", }, }, - Left: &ast.Var{ + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(148), + Column: int(12), + }, + End: ast.Location{ + Line: int(148), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "from", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1613, + FreeVars: ast.Identifiers{ + "from", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(148), + Column: int(25), + }, + End: ast.Location{ + Line: int(148), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "from", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(148), + Column: int(12), + }, + End: ast.Location{ + Line: int(148), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(138), + Line: int(149), Column: int(12), }, End: ast.Location{ - Line: int(138), - Column: int(16), + Line: int(149), + Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "from", }, }, - Id: "from", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(138), + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(149), + Column: int(12), + }, + End: ast.Location{ + Line: int(149), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "to", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1625, + FreeVars: ast.Identifiers{ + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(149), + Column: int(25), + }, + End: ast.Location{ + Line: int(149), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "std", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(149), + Column: int(12), + }, + End: ast.Location{ + Line: int(149), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(150), Column: int(20), }, End: ast.Location{ - Line: int(138), + Line: int(150), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(5), + Left: &ast.Var{ + Id: "from", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "from", }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Cache for performance.", + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(150), + Column: int(12), + }, + End: ast.Location{ + Line: int(150), + Column: int(16), }, }, }, - Ctx: p1336, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, FreeVars: ast.Identifiers{ - "$std", "from", - "std", - "str", - "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(150), + Column: int(12), + }, + End: ast.Location{ + Line: int(150), + Column: int(22), + }, }, }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "str_len", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(21), - }, - End: ast.Location{ - Line: int(141), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1386, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(21), - }, - End: ast.Location{ - Line: int(141), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1386, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(21), - }, - End: ast.Location{ - Line: int(141), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(153), + Column: int(21), + }, + End: ast.Location{ + Line: int(153), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -21783,176 +24778,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1641, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(153), + Column: int(21), + }, + End: ast.Location{ + Line: int(153), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(32), - }, - End: ast.Location{ - Line: int(141), - Column: int(35), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1395, + Ctx: p1645, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(153), + Column: int(32), + }, + End: ast.Location{ + Line: int(153), + Column: int(35), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1641, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(153), + Column: int(21), + }, + End: ast.Location{ + Line: int(153), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "str_len", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(141), + Line: int(153), Column: int(11), }, End: ast.Location{ - Line: int(141), + Line: int(153), Column: int(36), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(142), - Column: int(5), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "str_len", - "to", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "from_len", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(142), - Column: int(22), - }, - End: ast.Location{ - Line: int(142), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1402, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(142), - Column: int(22), - }, - End: ast.Location{ - Line: int(142), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1402, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(142), - Column: int(22), - }, - End: ast.Location{ - Line: int(142), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(154), + Column: int(22), + }, + End: ast.Location{ + Line: int(154), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -21962,203 +24926,359 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1655, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(154), + Column: int(22), + }, + End: ast.Location{ + Line: int(154), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "from", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(142), - Column: int(33), - }, - End: ast.Location{ - Line: int(142), - Column: int(37), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1411, + Ctx: p1659, FreeVars: ast.Identifiers{ "from", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(154), + Column: int(33), + }, + End: ast.Location{ + Line: int(154), + Column: int(37), + }, + }, }, - Id: "from", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1655, + FreeVars: ast.Identifiers{ + "from", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(154), + Column: int(22), + }, + End: ast.Location{ + Line: int(154), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "from_len", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(142), + Line: int(154), Column: int(11), }, End: ast.Location{ - Line: int(142), + Line: int(154), Column: int(38), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(5), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// True if from is at str[i].", - }, - }, - }, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "$std", - "from", - "from_len", - "std", - "str", - "str_len", - "to", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "found_at", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(11), - }, - End: ast.Location{ - Line: int(145), - Column: int(52), - }, - File: p1, - }, - Fodder: nil, - Ctx: p1419, - FreeVars: ast.Identifiers{ - "$std", - "from", - "from_len", - "str", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(20), - }, - End: ast.Location{ - Line: int(145), - Column: int(21), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(25), + Right: &ast.Var{ + Id: "from", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1667, + FreeVars: ast.Identifiers{ + "from", }, - End: ast.Location{ - Line: int(145), - Column: int(52), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(48), + }, + End: ast.Location{ + Line: int(157), + Column: int(52), + }, }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1423, - FreeVars: ast.Identifiers{ - "$std", - "from", - "from_len", - "i", - "str", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(25), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(145), - Column: int(44), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1667, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(25), + }, + End: ast.Location{ + Line: int(157), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1667, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(29), + }, + End: ast.Location{ + Line: int(157), + Column: int(30), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "from_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1667, + FreeVars: ast.Identifiers{ + "from_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(35), + }, + End: ast.Location{ + Line: int(157), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1667, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(31), + }, + End: ast.Location{ + Line: int(157), + Column: int(32), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1667, + FreeVars: ast.Identifiers{ + "from_len", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(31), + }, + End: ast.Location{ + Line: int(157), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -22167,259 +25287,99 @@ var _StdAst = &ast.DesugaredObject{ "i", "str", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(25), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(157), + Column: int(44), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(25), - }, - End: ast.Location{ - Line: int(145), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1423, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(29), - }, - End: ast.Location{ - Line: int(145), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1423, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(31), - }, - End: ast.Location{ - Line: int(145), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1423, - FreeVars: ast.Identifiers{ - "from_len", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(31), - }, - End: ast.Location{ - Line: int(145), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1423, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(35), - }, - End: ast.Location{ - Line: int(145), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1423, - FreeVars: ast.Identifiers{ - "from_len", - }, - }, - Id: "from_len", - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(145), - Column: int(48), - }, - End: ast.Location{ - Line: int(145), - Column: int(52), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1667, + FreeVars: ast.Identifiers{ + "$std", + "from", + "from_len", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(25), }, - Fodder: ast.Fodder{}, - Ctx: p1423, - FreeVars: ast.Identifiers{ - "from", + End: ast.Location{ + Line: int(157), + Column: int(52), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(20), + }, + End: ast.Location{ + Line: int(157), + Column: int(21), }, }, - Id: "from", }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p1690, + FreeVars: ast.Identifiers{ + "$std", + "from", + "from_len", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(11), + }, + End: ast.Location{ + Line: int(157), + Column: int(52), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "found_at", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -22429,177 +25389,1308 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(5), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Return the remainder of 'str' starting with 'start_index' where", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// all occurrences of 'from' after 'curr_index' are replaced with 'to'.", - }, - }, - }, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "$std", - "found_at", - "from", - "from_len", - "std", - "str", - "str_len", - "to", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "replace_after", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(11), - }, - End: ast.Location{ - Line: int(156), - Column: int(56), - }, - File: p1, - }, - Fodder: nil, - Ctx: p1453, - FreeVars: ast.Identifiers{ - "$std", - "found_at", - "from", - "replace_after", - "std", - "str", - "str_len", - "to", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "start_index", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(25), - }, - End: ast.Location{ - Line: int(149), - Column: int(36), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "curr_index", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(38), - }, - End: ast.Location{ - Line: int(149), - Column: int(48), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(50), - }, - End: ast.Location{ - Line: int(149), - Column: int(53), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(7), + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "str_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(162), + Column: int(23), + }, + End: ast.Location{ + Line: int(162), + Column: int(30), + }, + }, }, - End: ast.Location{ - Line: int(156), - Column: int(56), - }, - File: p1, }, - Fodder: ast.Fodder{ + Left: &ast.Var{ + Id: "curr_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "curr_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(162), + Column: int(10), + }, + End: ast.Location{ + Line: int(162), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "curr_index", + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(162), + Column: int(10), + }, + End: ast.Location{ + Line: int(162), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(163), + Column: int(15), + }, + End: ast.Location{ + Line: int(163), + Column: int(18), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "start_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "start_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(163), + Column: int(19), + }, + End: ast.Location{ + Line: int(163), + Column: int(30), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "curr_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "curr_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(163), + Column: int(31), + }, + End: ast.Location{ + Line: int(163), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "curr_index", + "start_index", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(163), + Column: int(15), + }, + End: ast.Location{ + Line: int(163), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(163), + Column: int(9), + }, + End: ast.Location{ + Line: int(163), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "$std", + "acc", + "curr_index", + "start_index", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(163), + Column: int(9), + }, + End: ast.Location{ + Line: int(163), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Var{ + Id: "found_at", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "found_at", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(164), + Column: int(15), + }, + End: ast.Location{ + Line: int(164), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "curr_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1729, + FreeVars: ast.Identifiers{ + "curr_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(164), + Column: int(24), + }, + End: ast.Location{ + Line: int(164), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "curr_index", + "found_at", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(164), + Column: int(15), + }, + End: ast.Location{ + Line: int(164), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(40), + }, + End: ast.Location{ + Line: int(165), + Column: int(43), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1740, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(40), + }, + End: ast.Location{ + Line: int(165), + Column: int(50), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "from", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1744, + FreeVars: ast.Identifiers{ + "from", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(51), + }, + End: ast.Location{ + Line: int(165), + Column: int(55), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1740, + FreeVars: ast.Identifiers{ + "from", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(40), + }, + End: ast.Location{ + Line: int(165), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "curr_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1740, + FreeVars: ast.Identifiers{ + "curr_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(27), + }, + End: ast.Location{ + Line: int(165), + Column: int(37), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1740, + FreeVars: ast.Identifiers{ + "curr_index", + "from", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(27), + }, + End: ast.Location{ + Line: int(165), + Column: int(56), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + EqFodder: ast.Fodder{}, + Variable: "new_index", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(15), + }, + End: ast.Location{ + Line: int(165), + Column: int(56), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "replace_after", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "replace_after", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(9), + }, + End: ast.Location{ + Line: int(166), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "new_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "new_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(23), + }, + End: ast.Location{ + Line: int(166), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "new_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "new_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(34), + }, + End: ast.Location{ + Line: int(166), + Column: int(43), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "to", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(81), + }, + End: ast.Location{ + Line: int(166), + Column: int(83), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(51), + }, + End: ast.Location{ + Line: int(166), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "start_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "start_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(55), + }, + End: ast.Location{ + Line: int(166), + Column: int(66), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "curr_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "curr_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(67), + }, + End: ast.Location{ + Line: int(166), + Column: int(77), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "curr_index", + "start_index", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(51), + }, + End: ast.Location{ + Line: int(166), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(45), + }, + End: ast.Location{ + Line: int(166), + Column: int(48), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "$std", + "acc", + "curr_index", + "start_index", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(45), + }, + End: ast.Location{ + Line: int(166), + Column: int(78), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1756, + FreeVars: ast.Identifiers{ + "$std", + "acc", + "curr_index", + "start_index", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(45), + }, + End: ast.Location{ + Line: int(166), + Column: int(83), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "$std", + "acc", + "curr_index", + "new_index", + "replace_after", + "start_index", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(166), + Column: int(9), + }, + End: ast.Location{ + Line: int(166), + Column: int(84), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "$std", + "acc", + "curr_index", + "from", + "replace_after", + "start_index", + "std", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(165), + Column: int(9), + }, + End: ast.Location{ + Line: int(166), + Column: int(84), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "replace_after", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "replace_after", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(9), + }, + End: ast.Location{ + Line: int(168), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "start_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1792, + FreeVars: ast.Identifiers{ + "start_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(23), + }, + End: ast.Location{ + Line: int(168), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1792, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(49), + }, + End: ast.Location{ + Line: int(168), + Column: int(50), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "curr_index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1792, + FreeVars: ast.Identifiers{ + "curr_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(36), + }, + End: ast.Location{ + Line: int(168), + Column: int(46), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1792, + FreeVars: ast.Identifiers{ + "curr_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(36), + }, + End: ast.Location{ + Line: int(168), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1792, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(52), + }, + End: ast.Location{ + Line: int(168), + Column: int(55), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "acc", + "curr_index", + "replace_after", + "start_index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(9), + }, + End: ast.Location{ + Line: int(168), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p1458, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1698, + FreeVars: ast.Identifiers{ + "$std", + "acc", + "curr_index", + "found_at", + "from", + "replace_after", + "start_index", + "std", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(164), + Column: int(12), + }, + End: ast.Location{ + Line: int(168), + Column: int(56), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p1698, FreeVars: ast.Identifiers{ "$std", "acc", @@ -22613,1293 +26704,113 @@ var _StdAst = &ast.DesugaredObject{ "str_len", "to", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(10), - }, - End: ast.Location{ - Line: int(150), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(162), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "curr_index", - "str_len", + End: ast.Location{ + Line: int(168), + Column: int(56), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(10), - }, - End: ast.Location{ - Line: int(150), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Id: "curr_index", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(23), - }, - End: ast.Location{ - Line: int(150), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "str_len", - }, - }, - Id: "str_len", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(151), - Column: int(9), - }, - End: ast.Location{ - Line: int(151), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "start_index", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(151), - Column: int(9), - }, - End: ast.Location{ - Line: int(151), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(151), - Column: int(15), - }, - End: ast.Location{ - Line: int(151), - Column: int(42), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "curr_index", - "start_index", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(151), - Column: int(15), - }, - End: ast.Location{ - Line: int(151), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(151), - Column: int(19), - }, - End: ast.Location{ - Line: int(151), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "start_index", - }, - }, - Id: "start_index", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(151), - Column: int(31), - }, - End: ast.Location{ - Line: int(151), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Id: "curr_index", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(12), - }, - End: ast.Location{ - Line: int(156), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "found_at", - "from", - "replace_after", - "start_index", - "std", - "str", - "to", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(15), - }, - End: ast.Location{ - Line: int(152), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "curr_index", - "found_at", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(15), - }, - End: ast.Location{ - Line: int(152), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "found_at", - }, - }, - Id: "found_at", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(24), - }, - End: ast.Location{ - Line: int(152), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1495, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Id: "curr_index", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(9), - }, - End: ast.Location{ - Line: int(154), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "from", - "replace_after", - "start_index", - "std", - "str", - "to", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "new_index", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(27), - }, - End: ast.Location{ - Line: int(153), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1502, - FreeVars: ast.Identifiers{ - "curr_index", - "from", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(27), - }, - End: ast.Location{ - Line: int(153), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1502, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Id: "curr_index", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(40), - }, - End: ast.Location{ - Line: int(153), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1502, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(40), - }, - End: ast.Location{ - Line: int(153), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1502, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(40), - }, - End: ast.Location{ - Line: int(153), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(51), - }, - End: ast.Location{ - Line: int(153), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1515, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Id: "from", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(15), - }, - End: ast.Location{ - Line: int(153), - Column: int(56), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(9), - }, - End: ast.Location{ - Line: int(154), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "new_index", - "replace_after", - "start_index", - "str", - "to", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(9), - }, - End: ast.Location{ - Line: int(154), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "replace_after", - }, - }, - Id: "replace_after", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(23), - }, - End: ast.Location{ - Line: int(154), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "new_index", - }, - }, - Id: "new_index", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(34), - }, - End: ast.Location{ - Line: int(154), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "new_index", - }, - }, - Id: "new_index", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(45), - }, - End: ast.Location{ - Line: int(154), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "start_index", - "str", - "to", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(45), - }, - End: ast.Location{ - Line: int(154), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "start_index", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(45), - }, - End: ast.Location{ - Line: int(154), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(51), - }, - End: ast.Location{ - Line: int(154), - Column: int(78), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "curr_index", - "start_index", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(51), - }, - End: ast.Location{ - Line: int(154), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(55), - }, - End: ast.Location{ - Line: int(154), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "start_index", - }, - }, - Id: "start_index", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(67), - }, - End: ast.Location{ - Line: int(154), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Id: "curr_index", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(81), - }, - End: ast.Location{ - Line: int(154), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1524, - FreeVars: ast.Identifiers{ - "to", - }, - }, - Id: "to", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(156), - Column: int(9), - }, - End: ast.Location{ - Line: int(156), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "acc", - "curr_index", - "replace_after", - "start_index", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(156), - Column: int(9), - }, - End: ast.Location{ - Line: int(156), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p1458, - FreeVars: ast.Identifiers{ - "replace_after", - }, - }, - Id: "replace_after", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(156), - Column: int(23), - }, - End: ast.Location{ - Line: int(156), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1559, - FreeVars: ast.Identifiers{ - "start_index", - }, - }, - Id: "start_index", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(156), - Column: int(36), - }, - End: ast.Location{ - Line: int(156), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1559, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(156), - Column: int(36), - }, - End: ast.Location{ - Line: int(156), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1559, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Id: "curr_index", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(156), - Column: int(49), - }, - End: ast.Location{ - Line: int(156), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1559, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(156), - Column: int(52), - }, - End: ast.Location{ - Line: int(156), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1559, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "start_index", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(161), + Column: int(25), + }, + End: ast.Location{ + Line: int(161), + Column: int(36), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "curr_index", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(161), + Column: int(38), + }, + End: ast.Location{ + Line: int(161), + Column: int(48), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "acc", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(161), + Column: int(50), + }, + End: ast.Location{ + Line: int(161), + Column: int(53), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p1808, + FreeVars: ast.Identifiers{ + "$std", + "found_at", + "from", + "replace_after", + "std", + "str", + "str_len", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(161), + Column: int(11), + }, + End: ast.Location{ + Line: int(168), + Column: int(56), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "replace_after", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -23909,49 +26820,532 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(160), - Column: int(5), + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(172), + Column: int(20), + }, + End: ast.Location{ + Line: int(172), + Column: int(21), + }, + }, }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, }, + Left: &ast.Var{ + Id: "from_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "from_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(172), + Column: int(8), + }, + End: ast.Location{ + Line: int(172), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "from_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(172), + Column: int(8), + }, + End: ast.Location{ + Line: int(172), + Column: int(21), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(7), + }, + End: ast.Location{ + Line: int(173), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(7), + }, + End: ast.Location{ + Line: int(173), + Column: int(15), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "to", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1825, + FreeVars: ast.Identifiers{ + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(16), + }, + End: ast.Location{ + Line: int(173), + Column: int(18), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(20), + }, + End: ast.Location{ + Line: int(173), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "split", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1825, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(20), + }, + End: ast.Location{ + Line: int(173), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1835, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(30), + }, + End: ast.Location{ + Line: int(173), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "from", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1835, + FreeVars: ast.Identifiers{ + "from", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(35), + }, + End: ast.Location{ + Line: int(173), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1825, + FreeVars: ast.Identifiers{ + "from", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(20), + }, + End: ast.Location{ + Line: int(173), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "from", + "std", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(173), + Column: int(7), + }, + End: ast.Location{ + Line: int(173), + Column: int(41), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "replace_after", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "replace_after", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(175), + Column: int(7), + }, + End: ast.Location{ + Line: int(175), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1847, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(175), + Column: int(21), + }, + End: ast.Location{ + Line: int(175), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1847, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(175), + Column: int(24), + }, + End: ast.Location{ + Line: int(175), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1847, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(175), + Column: int(27), + }, + End: ast.Location{ + Line: int(175), + Column: int(29), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "replace_after", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(175), + Column: int(7), + }, + End: ast.Location{ + Line: int(175), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(1), Indent: int(4), - Comment: []string{}, }, ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), Comment: []string{ "// if from_len==1, then we replace by splitting and rejoining the", }, - }, - ast.FodderElement{ Kind: ast.FodderKind(2), Blanks: int(0), Indent: int(4), + }, + ast.FodderElement{ Comment: []string{ "// string which is much faster than recursing on replace_after", }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), }, }, - Ctx: p1336, + Ctx: p1597, FreeVars: ast.Identifiers{ "from", "from_len", @@ -23960,574 +27354,261 @@ var _StdAst = &ast.DesugaredObject{ "str", "to", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(160), - Column: int(8), - }, - End: ast.Location{ - Line: int(160), - Column: int(21), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(172), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "from_len", + End: ast.Location{ + Line: int(175), + Column: int(30), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(160), - Column: int(8), - }, - End: ast.Location{ - Line: int(160), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "from_len", - }, - }, - Id: "from_len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(160), - Column: int(20), - }, - End: ast.Location{ - Line: int(160), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(7), - }, - End: ast.Location{ - Line: int(161), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "from", - "std", - "str", - "to", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(7), - }, - End: ast.Location{ - Line: int(161), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(7), - }, - End: ast.Location{ - Line: int(161), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(16), - }, - End: ast.Location{ - Line: int(161), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1588, - FreeVars: ast.Identifiers{ - "to", - }, - }, - Id: "to", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(20), - }, - End: ast.Location{ - Line: int(161), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1588, - FreeVars: ast.Identifiers{ - "from", - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(20), - }, - End: ast.Location{ - Line: int(161), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1588, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(20), - }, - End: ast.Location{ - Line: int(161), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "split", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(30), - }, - End: ast.Location{ - Line: int(161), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1599, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(35), - }, - End: ast.Location{ - Line: int(161), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1599, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Id: "from", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Return the remainder of 'str' starting with 'start_index' where", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// all occurrences of 'from' after 'curr_index' are replaced with 'to'.", + }, + Kind: ast.FodderKind(2), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(7), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "replace_after", - }, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "$std", + "found_at", + "from", + "from_len", + "std", + "str", + "str_len", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(161), + Column: int(5), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(7), - }, - End: ast.Location{ - Line: int(163), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p1336, - FreeVars: ast.Identifiers{ - "replace_after", - }, - }, - Id: "replace_after", + End: ast.Location{ + Line: int(175), + Column: int(30), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(21), - }, - End: ast.Location{ - Line: int(163), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1611, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(24), - }, - End: ast.Location{ - Line: int(163), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1611, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(27), - }, - End: ast.Location{ - Line: int(163), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1611, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// True if from is at str[i].", }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "$std", + "from", + "from_len", + "std", + "str", + "str_len", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(157), + Column: int(5), + }, + End: ast.Location{ + Line: int(175), + Column: int(30), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "$std", + "from", + "std", + "str", + "str_len", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(154), + Column: int(5), + }, + End: ast.Location{ + Line: int(175), + Column: int(30), + }, + }, + }, }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Cache for performance.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1597, + FreeVars: ast.Identifiers{ + "$std", + "from", + "std", + "str", + "to", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(138), + Line: int(153), Column: int(5), }, End: ast.Location{ - Line: int(163), + Line: int(175), Column: int(30), }, - File: p1, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.LiteralString{ + Value: "'from' string must not be zero length.", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1597, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(138), + Line: int(150), Column: int(25), }, End: ast.Location{ - Line: int(138), + Line: int(150), Column: int(65), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1336, - FreeVars: ast.Identifiers{}, }, - Value: "'from' string must not be zero length.", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(150), + Column: int(5), + }, + End: ast.Location{ + Line: int(175), + Column: int(30), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "from", + "std", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(5), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, Expr: &ast.LiteralString{ + Value: "Assertion failed", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -24537,41 +27618,65 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "Assertion failed", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(149), + Column: int(5), + }, + End: ast.Location{ + Line: int(175), + Column: int(30), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "from", + "std", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(5), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, Expr: &ast.LiteralString{ + Value: "Assertion failed", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -24581,2761 +27686,2806 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "Assertion failed", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(148), + Column: int(5), + }, + End: ast.Location{ + Line: int(175), + Column: int(30), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "from", + "std", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(5), + Expr: &ast.LiteralString{ + Value: "Assertion failed", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "Assertion failed", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(134), - Column: int(3), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "asciiUpper", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(14), - }, - End: ast.Location{ - Line: int(165), - Column: int(17), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(5), - }, - End: ast.Location{ - Line: int(171), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1628, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "cp", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(16), - }, - End: ast.Location{ - Line: int(166), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(16), - }, - End: ast.Location{ - Line: int(166), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "codepoint", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(166), - Column: int(11), - }, - End: ast.Location{ - Line: int(166), - Column: int(29), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), + Line: int(147), Column: int(5), }, End: ast.Location{ - Line: int(171), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1628, - FreeVars: ast.Identifiers{ - "cp", - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "up_letter", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(11), - }, - End: ast.Location{ - Line: int(170), - Column: int(8), - }, - File: p1, - }, - Fodder: nil, - Ctx: p1642, - FreeVars: ast.Identifiers{ - "cp", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(21), - }, - End: ast.Location{ - Line: int(167), - Column: int(22), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(26), - }, - End: ast.Location{ - Line: int(170), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(29), - }, - End: ast.Location{ - Line: int(167), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(29), - }, - End: ast.Location{ - Line: int(167), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(29), - }, - End: ast.Location{ - Line: int(167), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(29), - }, - End: ast.Location{ - Line: int(167), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(32), - }, - End: ast.Location{ - Line: int(167), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1658, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(38), - }, - End: ast.Location{ - Line: int(167), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "97", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(44), - }, - End: ast.Location{ - Line: int(167), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(44), - }, - End: ast.Location{ - Line: int(167), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(44), - }, - End: ast.Location{ - Line: int(167), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(47), - }, - End: ast.Location{ - Line: int(167), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1669, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(167), - Column: int(52), - }, - End: ast.Location{ - Line: int(167), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "123", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(7), - }, - End: ast.Location{ - Line: int(168), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(7), - }, - End: ast.Location{ - Line: int(168), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(7), - }, - End: ast.Location{ - Line: int(168), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "char", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(16), - }, - End: ast.Location{ - Line: int(168), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1682, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(16), - }, - End: ast.Location{ - Line: int(168), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1682, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(16), - }, - End: ast.Location{ - Line: int(168), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1682, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(19), - }, - End: ast.Location{ - Line: int(168), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1690, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(24), - }, - End: ast.Location{ - Line: int(168), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1682, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "32", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(170), - Column: int(7), - }, - End: ast.Location{ - Line: int(170), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p1646, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(5), - }, - End: ast.Location{ - Line: int(171), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1628, - FreeVars: ast.Identifiers{ - "std", - "str", - "up_letter", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(5), - }, - End: ast.Location{ - Line: int(171), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1628, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(5), - }, - End: ast.Location{ - Line: int(171), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(14), - }, - End: ast.Location{ - Line: int(171), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1707, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(18), - }, - End: ast.Location{ - Line: int(171), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1707, - FreeVars: ast.Identifiers{ - "std", - "str", - "up_letter", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(18), - }, - End: ast.Location{ - Line: int(171), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1707, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(18), - }, - End: ast.Location{ - Line: int(171), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(26), - }, - End: ast.Location{ - Line: int(171), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1717, - FreeVars: ast.Identifiers{ - "up_letter", - }, - }, - Id: "up_letter", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(37), - }, - End: ast.Location{ - Line: int(171), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1717, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(37), - }, - End: ast.Location{ - Line: int(171), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1717, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(37), - }, - End: ast.Location{ - Line: int(171), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(171), - Column: int(53), - }, - End: ast.Location{ - Line: int(171), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1728, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(3), - }, - End: ast.Location{ - Line: int(171), - Column: int(59), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "asciiLower", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(14), - }, - End: ast.Location{ - Line: int(173), - Column: int(17), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(174), - Column: int(5), - }, - End: ast.Location{ - Line: int(179), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1736, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "cp", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(174), - Column: int(16), - }, - End: ast.Location{ - Line: int(174), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1740, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(174), - Column: int(16), - }, - End: ast.Location{ - Line: int(174), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "codepoint", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(174), - Column: int(11), - }, - End: ast.Location{ - Line: int(174), - Column: int(29), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ Line: int(175), - Column: int(5), - }, - End: ast.Location{ - Line: int(179), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1736, - FreeVars: ast.Identifiers{ - "cp", - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "down_letter", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(11), - }, - End: ast.Location{ - Line: int(178), - Column: int(8), - }, - File: p1, - }, - Fodder: nil, - Ctx: p1750, - FreeVars: ast.Identifiers{ - "cp", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(23), - }, - End: ast.Location{ - Line: int(175), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(28), - }, - End: ast.Location{ - Line: int(178), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(31), - }, - End: ast.Location{ - Line: int(175), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(31), - }, - End: ast.Location{ - Line: int(175), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(31), - }, - End: ast.Location{ - Line: int(175), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(31), - }, - End: ast.Location{ - Line: int(175), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(34), - }, - End: ast.Location{ - Line: int(175), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1766, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(40), - }, - End: ast.Location{ - Line: int(175), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "65", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(46), - }, - End: ast.Location{ - Line: int(175), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(46), - }, - End: ast.Location{ - Line: int(175), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(46), - }, - End: ast.Location{ - Line: int(175), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(49), - }, - End: ast.Location{ - Line: int(175), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1777, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(54), - }, - End: ast.Location{ - Line: int(175), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "91", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(7), - }, - End: ast.Location{ - Line: int(176), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(7), - }, - End: ast.Location{ - Line: int(176), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(7), - }, - End: ast.Location{ - Line: int(176), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "char", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(16), - }, - End: ast.Location{ - Line: int(176), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1790, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(16), - }, - End: ast.Location{ - Line: int(176), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1790, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(16), - }, - End: ast.Location{ - Line: int(176), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1790, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(19), - }, - End: ast.Location{ - Line: int(176), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1798, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(176), - Column: int(24), - }, - End: ast.Location{ - Line: int(176), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1790, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "32", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(178), - Column: int(7), - }, - End: ast.Location{ - Line: int(178), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p1754, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + Column: int(30), }, }, }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(5), - }, - End: ast.Location{ - Line: int(179), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1736, - FreeVars: ast.Identifiers{ - "down_letter", - "std", - "str", - }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "from", + "std", + "str", + "to", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(5), - }, - End: ast.Location{ - Line: int(179), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1736, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(5), - }, - End: ast.Location{ - Line: int(179), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(14), - }, - End: ast.Location{ - Line: int(179), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1815, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(18), - }, - End: ast.Location{ - Line: int(179), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1815, - FreeVars: ast.Identifiers{ - "down_letter", - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(18), - }, - End: ast.Location{ - Line: int(179), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1815, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(18), - }, - End: ast.Location{ - Line: int(179), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(26), - }, - End: ast.Location{ - Line: int(179), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1825, - FreeVars: ast.Identifiers{ - "down_letter", - }, - }, - Id: "down_letter", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(39), - }, - End: ast.Location{ - Line: int(179), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1825, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(39), - }, - End: ast.Location{ - Line: int(179), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1825, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(39), - }, - End: ast.Location{ - Line: int(179), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(55), - }, - End: ast.Location{ - Line: int(179), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1836, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(3), - }, - End: ast.Location{ - Line: int(179), - Column: int(61), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "range", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(146), + Column: int(14), + }, + End: ast.Location{ + Line: int(146), + Column: int(17), + }, + }, + }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "from", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(181), - Column: int(9), + Line: int(146), + Column: int(19), }, End: ast.Location{ - Line: int(181), - Column: int(13), + Line: int(146), + Column: int(23), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "to", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(181), - Column: int(15), + Line: int(146), + Column: int(25), }, End: ast.Location{ - Line: int(181), - Column: int(17), + Line: int(146), + Column: int(27), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(5), - }, - End: ast.Location{ - Line: int(182), - Column: int(55), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(146), + Column: int(3), + }, + End: ast.Location{ + Line: int(175), + Column: int(30), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "asciiUpper", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p1843, - FreeVars: ast.Identifiers{ - "from", - "std", - "to", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(178), + Column: int(16), + }, + End: ast.Location{ + Line: int(178), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1890, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(178), + Column: int(16), + }, + End: ast.Location{ + Line: int(178), + Column: int(29), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "cp", + CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(182), - Column: int(5), + Line: int(178), + Column: int(11), }, End: ast.Location{ - Line: int(182), - Column: int(18), + Line: int(178), + Column: int(29), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1843, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "123", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(52), + }, + End: ast.Location{ + Line: int(179), + Column: int(55), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(44), + }, + End: ast.Location{ + Line: int(179), + Column: int(46), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1905, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(47), + }, + End: ast.Location{ + Line: int(179), + Column: int(48), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(44), + }, + End: ast.Location{ + Line: int(179), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(44), + }, + End: ast.Location{ + Line: int(179), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "97", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(38), + }, + End: ast.Location{ + Line: int(179), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(29), + }, + End: ast.Location{ + Line: int(179), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1916, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(32), + }, + End: ast.Location{ + Line: int(179), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(29), + }, + End: ast.Location{ + Line: int(179), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(29), + }, + End: ast.Location{ + Line: int(179), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(29), + }, + End: ast.Location{ + Line: int(179), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(7), + }, + End: ast.Location{ + Line: int(180), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "char", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(7), + }, + End: ast.Location{ + Line: int(180), + Column: int(15), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "32", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1931, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(24), + }, + End: ast.Location{ + Line: int(180), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1931, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(16), + }, + End: ast.Location{ + Line: int(180), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1937, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(19), + }, + End: ast.Location{ + Line: int(180), + Column: int(20), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1931, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(16), + }, + End: ast.Location{ + Line: int(180), + Column: int(21), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1931, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(16), + }, + End: ast.Location{ + Line: int(180), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + "cp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(180), + Column: int(7), + }, + End: ast.Location{ + Line: int(180), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(182), + Column: int(7), + }, + End: ast.Location{ + Line: int(182), + Column: int(8), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1899, + FreeVars: ast.Identifiers{ + "c", + "cp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(26), + }, + End: ast.Location{ + Line: int(182), + Column: int(8), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "c", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(21), + }, + End: ast.Location{ + Line: int(179), + Column: int(22), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p1948, + FreeVars: ast.Identifiers{ + "cp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(11), + }, + End: ast.Location{ + Line: int(182), + Column: int(8), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "up_letter", + CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(182), + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(5), + }, + End: ast.Location{ + Line: int(183), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1956, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(5), + }, + End: ast.Location{ + Line: int(183), + Column: int(13), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1960, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(14), + }, + End: ast.Location{ + Line: int(183), + Column: int(16), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(18), + }, + End: ast.Location{ + Line: int(183), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1960, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(18), + }, + End: ast.Location{ + Line: int(183), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "up_letter", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1969, + FreeVars: ast.Identifiers{ + "up_letter", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(26), + }, + End: ast.Location{ + Line: int(183), + Column: int(35), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(37), + }, + End: ast.Location{ + Line: int(183), + Column: int(40), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1969, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(37), + }, + End: ast.Location{ + Line: int(183), + Column: int(52), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1979, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(53), + }, + End: ast.Location{ + Line: int(183), + Column: int(56), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1969, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(37), + }, + End: ast.Location{ + Line: int(183), + Column: int(57), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1960, + FreeVars: ast.Identifiers{ + "std", + "str", + "up_letter", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), + Column: int(18), + }, + End: ast.Location{ + Line: int(183), + Column: int(58), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1956, + FreeVars: ast.Identifiers{ + "std", + "str", + "up_letter", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(183), Column: int(5), }, End: ast.Location{ - Line: int(182), - Column: int(8), + Line: int(183), + Column: int(59), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1956, + FreeVars: ast.Identifiers{ + "cp", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(179), + Column: int(5), + }, + End: ast.Location{ + Line: int(183), + Column: int(59), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p1956, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(178), + Column: int(5), + }, + End: ast.Location{ + Line: int(183), + Column: int(59), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(177), + Column: int(14), + }, + End: ast.Location{ + Line: int(177), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(177), + Column: int(3), + }, + End: ast.Location{ + Line: int(183), + Column: int(59), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "asciiLower", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(186), + Column: int(16), + }, + End: ast.Location{ + Line: int(186), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p1998, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(186), + Column: int(16), + }, + End: ast.Location{ + Line: int(186), + Column: int(29), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "cp", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(186), + Column: int(11), + }, + End: ast.Location{ + Line: int(186), + Column: int(29), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "91", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(54), + }, + End: ast.Location{ + Line: int(187), + Column: int(56), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(46), + }, + End: ast.Location{ + Line: int(187), + Column: int(48), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2013, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(49), + }, + End: ast.Location{ + Line: int(187), + Column: int(50), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(46), + }, + End: ast.Location{ + Line: int(187), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(46), + }, + End: ast.Location{ + Line: int(187), + Column: int(56), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "65", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(40), + }, + End: ast.Location{ + Line: int(187), + Column: int(42), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(31), + }, + End: ast.Location{ + Line: int(187), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2024, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(34), + }, + End: ast.Location{ + Line: int(187), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(31), + }, + End: ast.Location{ + Line: int(187), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(31), + }, + End: ast.Location{ + Line: int(187), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(31), + }, + End: ast.Location{ + Line: int(187), + Column: int(56), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(7), + }, + End: ast.Location{ + Line: int(188), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "char", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(7), + }, + End: ast.Location{ + Line: int(188), + Column: int(15), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "32", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2039, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(24), + }, + End: ast.Location{ + Line: int(188), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2039, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(16), + }, + End: ast.Location{ + Line: int(188), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2045, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(19), + }, + End: ast.Location{ + Line: int(188), + Column: int(20), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2039, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(16), + }, + End: ast.Location{ + Line: int(188), + Column: int(21), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2039, + FreeVars: ast.Identifiers{ + "c", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(16), + }, + End: ast.Location{ + Line: int(188), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + "cp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(7), + }, + End: ast.Location{ + Line: int(188), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(190), + Column: int(7), + }, + End: ast.Location{ + Line: int(190), + Column: int(8), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2007, + FreeVars: ast.Identifiers{ + "c", + "cp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(28), + }, + End: ast.Location{ + Line: int(190), + Column: int(8), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "c", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(23), + }, + End: ast.Location{ + Line: int(187), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p2056, + FreeVars: ast.Identifiers{ + "cp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(11), + }, + End: ast.Location{ + Line: int(190), + Column: int(8), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "down_letter", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(5), + }, + End: ast.Location{ + Line: int(191), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2064, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(5), + }, + End: ast.Location{ + Line: int(191), + Column: int(13), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2068, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(14), + }, + End: ast.Location{ + Line: int(191), + Column: int(16), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(18), + }, + End: ast.Location{ + Line: int(191), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2068, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(18), + }, + End: ast.Location{ + Line: int(191), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "down_letter", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2077, + FreeVars: ast.Identifiers{ + "down_letter", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(26), + }, + End: ast.Location{ + Line: int(191), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(39), + }, + End: ast.Location{ + Line: int(191), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2077, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(39), + }, + End: ast.Location{ + Line: int(191), + Column: int(54), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2087, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(55), + }, + End: ast.Location{ + Line: int(191), + Column: int(58), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2077, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(39), + }, + End: ast.Location{ + Line: int(191), + Column: int(59), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2068, + FreeVars: ast.Identifiers{ + "down_letter", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(18), + }, + End: ast.Location{ + Line: int(191), + Column: int(60), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2064, + FreeVars: ast.Identifiers{ + "down_letter", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(5), + }, + End: ast.Location{ + Line: int(191), + Column: int(61), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2064, + FreeVars: ast.Identifiers{ + "cp", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(5), + }, + End: ast.Location{ + Line: int(191), + Column: int(61), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2064, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(186), + Column: int(5), + }, + End: ast.Location{ + Line: int(191), + Column: int(61), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(185), + Column: int(14), + }, + End: ast.Location{ + Line: int(185), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(185), + Column: int(3), + }, + End: ast.Location{ + Line: int(191), + Column: int(61), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(5), + }, + End: ast.Location{ + Line: int(194), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -27345,494 +30495,438 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2106, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(5), + }, + End: ast.Location{ + Line: int(194), + Column: int(18), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(19), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2111, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(31), + }, + End: ast.Location{ + Line: int(194), + Column: int(32), + }, }, - End: ast.Location{ - Line: int(182), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1853, - FreeVars: ast.Identifiers{ - "from", - "to", }, }, Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(19), + Right: &ast.Var{ + Id: "from", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2111, + FreeVars: ast.Identifiers{ + "from", }, - End: ast.Location{ - Line: int(182), - Column: int(28), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(24), + }, + End: ast.Location{ + Line: int(194), + Column: int(28), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "to", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2111, + FreeVars: ast.Identifiers{ + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(19), + }, + End: ast.Location{ + Line: int(194), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p1853, + Ctx: p2111, FreeVars: ast.Identifiers{ "from", "to", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(19), - }, - End: ast.Location{ - Line: int(182), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1853, - FreeVars: ast.Identifiers{ - "to", - }, - }, - Id: "to", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(24), - }, - End: ast.Location{ - Line: int(182), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1853, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Id: "from", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(182), - Column: int(31), + Line: int(194), + Column: int(19), }, End: ast.Location{ - Line: int(182), - Column: int(32), + Line: int(194), + Column: int(28), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1853, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + Op: ast.BinaryOp(4), }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2111, + FreeVars: ast.Identifiers{ + "from", + "to", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(19), + }, + End: ast.Location{ + Line: int(194), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(34), - }, - End: ast.Location{ - Line: int(182), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1853, - FreeVars: ast.Identifiers{ - "from", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(43), - }, - End: ast.Location{ - Line: int(182), - Column: int(44), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(46), + Right: &ast.Var{ + Id: "from", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2122, + FreeVars: ast.Identifiers{ + "from", }, - End: ast.Location{ - Line: int(182), - Column: int(54), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(50), + }, + End: ast.Location{ + Line: int(194), + Column: int(54), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2122, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(46), + }, + End: ast.Location{ + Line: int(194), + Column: int(47), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p1866, + Ctx: p2122, FreeVars: ast.Identifiers{ "from", "i", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(46), - }, - End: ast.Location{ - Line: int(182), - Column: int(47), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(46), }, - Fodder: ast.Fodder{}, - Ctx: p1866, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(194), + Column: int(54), }, }, - Id: "i", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(50), - }, - End: ast.Location{ - Line: int(182), - Column: int(54), - }, - File: p1, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(43), }, - Fodder: ast.Fodder{}, - Ctx: p1866, - FreeVars: ast.Identifiers{ - "from", + End: ast.Location{ + Line: int(194), + Column: int(44), }, }, - Id: "from", }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2111, + FreeVars: ast.Identifiers{ + "from", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(34), + }, + End: ast.Location{ + Line: int(194), + Column: int(54), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(181), - Column: int(3), - }, - End: ast.Location{ - Line: int(182), - Column: int(55), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2106, + FreeVars: ast.Identifiers{ + "from", + "std", + "to", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(194), + Column: int(5), + }, + End: ast.Location{ + Line: int(194), + Column: int(55), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + TrailingComma: false, + TailStrict: false, }, - Value: "repeat", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "what", + Name: "from", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(184), - Column: int(10), + Line: int(193), + Column: int(9), }, End: ast.Location{ - Line: int(184), - Column: int(14), + Line: int(193), + Column: int(13), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "count", + Name: "to", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(184), - Column: int(16), + Line: int(193), + Column: int(15), }, End: ast.Location{ - Line: int(184), - Column: int(21), + Line: int(193), + Column: int(17), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(185), - Column: int(5), - }, - End: ast.Location{ - Line: int(189), - Column: int(61), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(193), + Column: int(3), + }, + End: ast.Location{ + Line: int(194), + Column: int(55), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "repeat", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1878, - FreeVars: ast.Identifiers{ - "count", - "std", - "what", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "joiner", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(7), - }, - End: ast.Location{ - Line: int(188), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p1883, - FreeVars: ast.Identifiers{ - "std", - "what", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(10), - }, - End: ast.Location{ - Line: int(186), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{ - "std", - "what", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(10), - }, - End: ast.Location{ - Line: int(186), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(10), - }, - End: ast.Location{ - Line: int(186), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(198), + Column: int(10), + }, + End: ast.Location{ + Line: int(198), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -27842,176 +30936,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(198), + Column: int(10), + }, + End: ast.Location{ + Line: int(198), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "what", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(23), - }, - End: ast.Location{ - Line: int(186), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1894, + Ctx: p2146, FreeVars: ast.Identifiers{ "what", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(198), + Column: int(23), + }, + End: ast.Location{ + Line: int(198), + Column: int(27), + }, + }, }, - Id: "what", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(34), - }, - End: ast.Location{ - Line: int(186), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(12), - }, - End: ast.Location{ - Line: int(188), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1883, + Ctx: p2142, FreeVars: ast.Identifiers{ "std", "what", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(15), - }, - End: ast.Location{ - Line: int(187), - Column: int(32), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(198), + Column: int(10), }, - Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{ - "std", - "what", + End: ast.Location{ + Line: int(198), + Column: int(28), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(15), - }, - End: ast.Location{ - Line: int(187), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{ - "std", - }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(198), + Column: int(34), }, + End: ast.Location{ + Line: int(198), + Column: int(36), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(15), - }, - End: ast.Location{ - Line: int(187), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(199), + Column: int(15), + }, + End: ast.Location{ + Line: int(199), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -28021,223 +31086,279 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(199), + Column: int(15), + }, + End: ast.Location{ + Line: int(199), + Column: int(26), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "what", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(27), - }, - End: ast.Location{ - Line: int(187), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1909, + Ctx: p2159, FreeVars: ast.Identifiers{ "what", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(199), + Column: int(27), + }, + End: ast.Location{ + Line: int(199), + Column: int(31), + }, + }, }, - Id: "what", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Array{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{ + "std", + "what", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(187), + Line: int(199), + Column: int(15), + }, + End: ast.Location{ + Line: int(199), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(199), Column: int(38), }, End: ast.Location{ - Line: int(187), + Line: int(199), Column: int(40), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, }, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(12), - }, - End: ast.Location{ - Line: int(188), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{}, - }, Expr: &ast.LiteralString{ + Value: "std.repeat first argument must be an array or a string", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(188), + Line: int(200), Column: int(18), }, End: ast.Location{ - Line: int(188), + Line: int(200), Column: int(74), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1883, - FreeVars: ast.Identifiers{}, }, - Value: "std.repeat first argument must be an array or a string", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(200), + Column: int(12), + }, + End: ast.Location{ + Line: int(200), + Column: int(74), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{ + "std", + "what", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(199), + Column: int(12), + }, + End: ast.Location{ + Line: int(200), + Column: int(74), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2142, + FreeVars: ast.Identifiers{ + "std", + "what", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(198), + Column: int(7), + }, + End: ast.Location{ + Line: int(200), + Column: int(74), }, }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "joiner", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(185), + Line: int(197), Column: int(11), }, End: ast.Location{ - Line: int(188), + Line: int(200), Column: int(74), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(5), - }, - End: ast.Location{ - Line: int(189), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1878, - FreeVars: ast.Identifiers{ - "count", - "joiner", - "std", - "what", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(5), - }, - End: ast.Location{ - Line: int(189), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1878, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(5), - }, - End: ast.Location{ - Line: int(189), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(5), + }, + End: ast.Location{ + Line: int(201), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -28247,117 +31368,96 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2176, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(5), + }, + End: ast.Location{ + Line: int(201), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "joiner", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(14), - }, - End: ast.Location{ - Line: int(189), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1925, + Ctx: p2180, FreeVars: ast.Identifiers{ "joiner", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(14), + }, + End: ast.Location{ + Line: int(201), + Column: int(20), + }, + }, }, - Id: "joiner", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(22), - }, - End: ast.Location{ - Line: int(189), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1925, - FreeVars: ast.Identifiers{ - "count", - "std", - "what", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(22), - }, - End: ast.Location{ - Line: int(189), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1925, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(22), - }, - End: ast.Location{ - Line: int(189), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(22), + }, + End: ast.Location{ + Line: int(201), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -28367,347 +31467,1396 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2180, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(22), + }, + End: ast.Location{ + Line: int(201), + Column: int(35), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "count", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(36), - }, - End: ast.Location{ - Line: int(189), - Column: int(41), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p1936, + Ctx: p2190, FreeVars: ast.Identifiers{ "count", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(36), + }, + End: ast.Location{ + Line: int(201), + Column: int(41), + }, + }, }, - Id: "count", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(43), + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Var{ + Id: "what", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2194, + FreeVars: ast.Identifiers{ + "what", }, - End: ast.Location{ - Line: int(189), - Column: int(59), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(55), + }, + End: ast.Location{ + Line: int(201), + Column: int(59), + }, }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1936, - FreeVars: ast.Identifiers{ - "what", }, }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "i", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(189), + Line: int(201), Column: int(52), }, End: ast.Location{ - Line: int(189), + Line: int(201), Column: int(53), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2190, + FreeVars: ast.Identifiers{ + "what", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(43), + }, + End: ast.Location{ + Line: int(201), + Column: int(59), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(55), - }, - End: ast.Location{ - Line: int(189), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1942, - FreeVars: ast.Identifiers{ - "what", - }, - }, - Id: "what", - }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2180, + FreeVars: ast.Identifiers{ + "count", + "std", + "what", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(22), + }, + End: ast.Location{ + Line: int(201), + Column: int(60), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2176, + FreeVars: ast.Identifiers{ + "count", + "joiner", + "std", + "what", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(201), + Column: int(5), + }, + End: ast.Location{ + Line: int(201), + Column: int(61), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2176, + FreeVars: ast.Identifiers{ + "count", + "std", + "what", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(197), + Column: int(5), + }, + End: ast.Location{ + Line: int(201), + Column: int(61), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(184), - Column: int(3), - }, - End: ast.Location{ - Line: int(189), - Column: int(61), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "indexable", + Name: "what", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(191), - Column: int(9), + Line: int(196), + Column: int(10), }, End: ast.Location{ - Line: int(191), - Column: int(18), + Line: int(196), + Column: int(14), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "index", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(20), - }, - End: ast.Location{ - Line: int(191), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "end", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(27), - }, - End: ast.Location{ - Line: int(191), - Column: int(30), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "step", - EqFodder: nil, - DefaultArg: nil, + Name: "count", CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(191), - Column: int(32), + Line: int(196), + Column: int(16), }, End: ast.Location{ - Line: int(191), - Column: int(36), + Line: int(196), + Column: int(21), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(192), - Column: int(5), - }, - End: ast.Location{ - Line: int(222), - Column: int(66), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(196), + Column: int(3), + }, + End: ast.Location{ + Line: int(201), + Column: int(61), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "$std", - "end", - "index", - "indexable", - "std", - "step", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "invar", - EqFodder: ast.Fodder{}, Body: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(7), + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "indexable", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), }, - End: ast.Location{ - Line: int(207), - Column: int(8), + Body: &ast.Var{ + Id: "indexable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "indexable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(207), + Column: int(20), + }, + End: ast.Location{ + Line: int(207), + Column: int(29), + }, + }, + }, }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(207), + Column: int(9), + }, + End: ast.Location{ + Line: int(207), + Column: int(29), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "index", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(209), + Column: int(23), + }, + End: ast.Location{ + Line: int(209), + Column: int(27), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(209), + Column: int(14), + }, + End: ast.Location{ + Line: int(209), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(209), + Column: int(14), + }, + End: ast.Location{ + Line: int(209), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(209), + Column: int(33), + }, + End: ast.Location{ + Line: int(209), + Column: int(34), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "index", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(210), + Column: int(16), + }, + End: ast.Location{ + Line: int(210), + Column: int(21), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "index", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(209), + Column: int(11), + }, + End: ast.Location{ + Line: int(210), + Column: int(21), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(208), + Column: int(9), + }, + End: ast.Location{ + Line: int(210), + Column: int(21), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "end", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(21), + }, + End: ast.Location{ + Line: int(212), + Column: int(25), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "end", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "end", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(14), + }, + End: ast.Location{ + Line: int(212), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "end", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(14), + }, + End: ast.Location{ + Line: int(212), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(31), + }, + End: ast.Location{ + Line: int(212), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(31), + }, + End: ast.Location{ + Line: int(212), + Column: int(41), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "indexable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2242, + FreeVars: ast.Identifiers{ + "indexable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(42), + }, + End: ast.Location{ + Line: int(212), + Column: int(51), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(31), + }, + End: ast.Location{ + Line: int(212), + Column: int(52), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Var{ + Id: "end", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "end", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(213), + Column: int(16), + }, + End: ast.Location{ + Line: int(213), + Column: int(19), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "end", + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(212), + Column: int(11), + }, + End: ast.Location{ + Line: int(213), + Column: int(19), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(211), + Column: int(9), + }, + End: ast.Location{ + Line: int(213), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "step", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(215), + Column: int(22), + }, + End: ast.Location{ + Line: int(215), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "step", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(215), + Column: int(14), + }, + End: ast.Location{ + Line: int(215), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(215), + Column: int(14), + }, + End: ast.Location{ + Line: int(215), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(215), + Column: int(32), + }, + End: ast.Location{ + Line: int(215), + Column: int(33), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "step", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(216), + Column: int(16), + }, + End: ast.Location{ + Line: int(216), + Column: int(20), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(215), + Column: int(11), + }, + End: ast.Location{ + Line: int(216), + Column: int(20), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(214), + Column: int(9), + }, + End: ast.Location{ + Line: int(216), + Column: int(20), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(217), + Column: int(17), + }, + End: ast.Location{ + Line: int(217), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(217), + Column: int(17), + }, + End: ast.Location{ + Line: int(217), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "indexable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2272, + FreeVars: ast.Identifiers{ + "indexable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(217), + Column: int(28), + }, + End: ast.Location{ + Line: int(217), + Column: int(37), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(217), + Column: int(17), + }, + End: ast.Location{ + Line: int(217), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(217), + Column: int(9), + }, + End: ast.Location{ + Line: int(217), + Column: int(38), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(218), + Column: int(15), + }, + End: ast.Location{ + Line: int(218), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(218), + Column: int(15), + }, + End: ast.Location{ + Line: int(218), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "indexable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2284, + FreeVars: ast.Identifiers{ + "indexable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(218), + Column: int(24), + }, + End: ast.Location{ + Line: int(218), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2212, + FreeVars: ast.Identifiers{ + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(218), + Column: int(15), + }, + End: ast.Location{ + Line: int(218), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(218), + Column: int(9), + }, + End: ast.Location{ + Line: int(218), + Column: int(34), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), Comment: []string{ "// loop invariant with defaults applied", }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), }, }, - Ctx: p1956, + Ctx: p2289, FreeVars: ast.Identifiers{ "end", "index", @@ -28715,1494 +32864,2723 @@ var _StdAst = &ast.DesugaredObject{ "std", "step", }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "indexable", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(206), + Column: int(7), }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(195), - Column: int(20), - }, - End: ast.Location{ - Line: int(195), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(195), - Column: int(9), - }, - End: ast.Location{ - Line: int(195), - Column: int(29), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "index", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(11), - }, - End: ast.Location{ - Line: int(198), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(14), - }, - End: ast.Location{ - Line: int(197), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(14), - }, - End: ast.Location{ - Line: int(197), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Id: "index", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(23), - }, - End: ast.Location{ - Line: int(197), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{}, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(33), - }, - End: ast.Location{ - Line: int(197), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(16), - }, - End: ast.Location{ - Line: int(198), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Id: "index", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(196), - Column: int(9), - }, - End: ast.Location{ - Line: int(198), - Column: int(21), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "end", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(11), - }, - End: ast.Location{ - Line: int(201), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "end", - "indexable", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(14), - }, - End: ast.Location{ - Line: int(200), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "end", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(14), - }, - End: ast.Location{ - Line: int(200), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "end", - }, - }, - Id: "end", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(21), - }, - End: ast.Location{ - Line: int(200), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{}, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(31), - }, - End: ast.Location{ - Line: int(200), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(31), - }, - End: ast.Location{ - Line: int(200), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(31), - }, - End: ast.Location{ - Line: int(200), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(42), - }, - End: ast.Location{ - Line: int(200), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1994, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(16), - }, - End: ast.Location{ - Line: int(201), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "end", - }, - }, - Id: "end", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(199), - Column: int(9), - }, - End: ast.Location{ - Line: int(201), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "step", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(11), - }, - End: ast.Location{ - Line: int(204), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "step", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(14), - }, - End: ast.Location{ - Line: int(203), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "step", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(14), - }, - End: ast.Location{ - Line: int(203), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "step", - }, - }, - Id: "step", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(22), - }, - End: ast.Location{ - Line: int(203), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{}, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(32), - }, - End: ast.Location{ - Line: int(203), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(204), - Column: int(16), - }, - End: ast.Location{ - Line: int(204), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "step", - }, - }, - Id: "step", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(9), - }, - End: ast.Location{ - Line: int(204), - Column: int(20), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(17), - }, - End: ast.Location{ - Line: int(205), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(17), - }, - End: ast.Location{ - Line: int(205), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(17), - }, - End: ast.Location{ - Line: int(205), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(28), - }, - End: ast.Location{ - Line: int(205), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2022, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(9), - }, - End: ast.Location{ - Line: int(205), - Column: int(38), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(15), - }, - End: ast.Location{ - Line: int(206), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(15), - }, - End: ast.Location{ - Line: int(206), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1961, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(15), - }, - End: ast.Location{ - Line: int(206), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(24), - }, - End: ast.Location{ - Line: int(206), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2034, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(9), - }, - End: ast.Location{ - Line: int(206), - Column: int(34), - }, - File: p1, + End: ast.Location{ + Line: int(219), + Column: int(8), }, }, }, - Locals: ast.LocalBinds{}, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "invar", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(192), + Line: int(204), Column: int(11), }, End: ast.Location{ - Line: int(207), + Line: int(219), Column: int(8), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "invar", - "std", - "step", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(12), - }, - End: ast.Location{ - Line: int(208), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(12), - }, - End: ast.Location{ - Line: int(208), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(12), - }, - End: ast.Location{ - Line: int(208), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(12), - }, - End: ast.Location{ - Line: int(208), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(12), - }, - End: ast.Location{ - Line: int(208), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "index", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(27), - }, - End: ast.Location{ - Line: int(208), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(32), - }, - End: ast.Location{ - Line: int(208), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(32), - }, - End: ast.Location{ - Line: int(208), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(32), - }, - End: ast.Location{ - Line: int(208), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "end", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(45), - }, - End: ast.Location{ - Line: int(208), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(50), - }, - End: ast.Location{ - Line: int(208), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(50), - }, - End: ast.Location{ - Line: int(208), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(50), - }, - End: ast.Location{ - Line: int(208), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "step", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(208), + Line: int(220), Column: int(64), }, End: ast.Location{ - Line: int(208), + Line: int(220), Column: int(65), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(50), + }, + End: ast.Location{ + Line: int(220), + Column: int(55), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "step", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(50), + }, + End: ast.Location{ + Line: int(220), + Column: int(60), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(50), + }, + End: ast.Location{ + Line: int(220), + Column: int(65), + }, + }, + }, + Op: ast.BinaryOp(8), }, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(45), + }, + End: ast.Location{ + Line: int(220), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(32), + }, + End: ast.Location{ + Line: int(220), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "end", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(32), + }, + End: ast.Location{ + Line: int(220), + Column: int(41), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(32), + }, + End: ast.Location{ + Line: int(220), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(27), + }, + End: ast.Location{ + Line: int(220), + Column: int(28), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(12), + }, + End: ast.Location{ + Line: int(220), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "index", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(12), + }, + End: ast.Location{ + Line: int(220), + Column: int(23), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(12), + }, + End: ast.Location{ + Line: int(220), + Column: int(28), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(12), + }, + End: ast.Location{ + Line: int(220), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(220), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(220), + Column: int(65), }, - File: nil, }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(221), + Column: int(20), + }, + End: ast.Location{ + Line: int(221), + Column: int(21), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "step", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(221), + Column: int(12), + }, + End: ast.Location{ + Line: int(221), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(221), + Column: int(12), + }, + End: ast.Location{ + Line: int(221), + Column: int(21), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(39), + }, + End: ast.Location{ + Line: int(222), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(39), + }, + End: ast.Location{ + Line: int(222), + Column: int(50), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "indexable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2337, + FreeVars: ast.Identifiers{ + "indexable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(51), + }, + End: ast.Location{ + Line: int(222), + Column: int(60), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(39), + }, + End: ast.Location{ + Line: int(222), + Column: int(61), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(12), + }, + End: ast.Location{ + Line: int(222), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(12), + }, + End: ast.Location{ + Line: int(222), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "indexable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2348, + FreeVars: ast.Identifiers{ + "indexable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(25), + }, + End: ast.Location{ + Line: int(222), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(12), + }, + End: ast.Location{ + Line: int(222), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(12), + }, + End: ast.Location{ + Line: int(222), + Column: int(61), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(37), + }, + End: ast.Location{ + Line: int(224), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(37), + }, + End: ast.Location{ + Line: int(224), + Column: int(49), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cur", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(30), + }, + End: ast.Location{ + Line: int(224), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(30), + }, + End: ast.Location{ + Line: int(224), + Column: int(49), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(17), + }, + End: ast.Location{ + Line: int(224), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "end", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(17), + }, + End: ast.Location{ + Line: int(224), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cur", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(10), + }, + End: ast.Location{ + Line: int(224), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(10), + }, + End: ast.Location{ + Line: int(224), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(10), + }, + End: ast.Location{ + Line: int(224), + Column: int(49), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Var{ + Id: "slice", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(225), + Column: int(9), + }, + End: ast.Location{ + Line: int(225), + Column: int(14), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "build", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "build", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(227), + Column: int(9), + }, + End: ast.Location{ + Line: int(227), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "string", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(228), + Column: int(28), + }, + End: ast.Location{ + Line: int(228), + Column: int(36), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(228), + Column: int(14), + }, + End: ast.Location{ + Line: int(228), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(228), + Column: int(14), + }, + End: ast.Location{ + Line: int(228), + Column: int(24), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(228), + Column: int(14), + }, + End: ast.Location{ + Line: int(228), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(229), + Column: int(21), + }, + End: ast.Location{ + Line: int(229), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "indexable", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(229), + Column: int(21), + }, + End: ast.Location{ + Line: int(229), + Column: int(36), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "cur", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(229), + Column: int(37), + }, + End: ast.Location{ + Line: int(229), + Column: int(40), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(229), + Column: int(21), + }, + End: ast.Location{ + Line: int(229), + Column: int(41), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "slice", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(229), + Column: int(13), + }, + End: ast.Location{ + Line: int(229), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + "invar", + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(229), + Column: int(13), + }, + End: ast.Location{ + Line: int(229), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(231), + Column: int(22), + }, + End: ast.Location{ + Line: int(231), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "indexable", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2417, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(231), + Column: int(22), + }, + End: ast.Location{ + Line: int(231), + Column: int(37), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "cur", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2417, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(231), + Column: int(38), + }, + End: ast.Location{ + Line: int(231), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2417, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(231), + Column: int(22), + }, + End: ast.Location{ + Line: int(231), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(231), + Column: int(21), + }, + End: ast.Location{ + Line: int(231), + Column: int(43), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "slice", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(231), + Column: int(13), + }, + End: ast.Location{ + Line: int(231), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + "invar", + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(231), + Column: int(13), + }, + End: ast.Location{ + Line: int(231), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + "invar", + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(228), + Column: int(11), + }, + End: ast.Location{ + Line: int(231), + Column: int(43), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(232), + Column: int(17), + }, + End: ast.Location{ + Line: int(232), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "step", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(232), + Column: int(17), + }, + End: ast.Location{ + Line: int(232), + Column: int(27), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cur", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(232), + Column: int(11), + }, + End: ast.Location{ + Line: int(232), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2388, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(232), + Column: int(11), + }, + End: ast.Location{ + Line: int(232), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "build", + "cur", + "invar", + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(227), + Column: int(9), + }, + End: ast.Location{ + Line: int(233), + Column: int(10), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2362, + FreeVars: ast.Identifiers{ + "build", + "cur", + "invar", + "slice", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(7), + }, + End: ast.Location{ + Line: int(233), + Column: int(10), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "slice", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(223), + Column: int(17), + }, + End: ast.Location{ + Line: int(223), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cur", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(223), + Column: int(24), + }, + End: ast.Location{ + Line: int(223), + Column: int(27), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p2446, + FreeVars: ast.Identifiers{ + "build", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(223), + Column: int(11), + }, + End: ast.Location{ + Line: int(233), + Column: int(10), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "build", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "build", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "build", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(5), + }, + End: ast.Location{ + Line: int(234), + Column: int(10), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "string", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2456, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(28), + }, + End: ast.Location{ + Line: int(234), + Column: int(36), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(14), + }, + End: ast.Location{ + Line: int(234), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2456, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(14), + }, + End: ast.Location{ + Line: int(234), + Column: int(24), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2456, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(14), + }, + End: ast.Location{ + Line: int(234), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2456, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(42), + }, + End: ast.Location{ + Line: int(234), + Column: int(44), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2456, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(50), + }, + End: ast.Location{ + Line: int(234), + Column: int(52), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2456, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(11), + }, + End: ast.Location{ + Line: int(234), + Column: int(52), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "invar", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(54), + }, + End: ast.Location{ + Line: int(234), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "index", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2456, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(54), + }, + End: ast.Location{ + Line: int(234), + Column: int(65), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "build", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(5), + }, + End: ast.Location{ + Line: int(234), + Column: int(66), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(223), + Column: int(5), + }, + End: ast.Location{ + Line: int(234), + Column: int(66), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "std.slice accepts a string or an array, but got: %s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(64), + }, + End: ast.Location{ + Line: int(222), + Column: int(117), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(120), + }, + End: ast.Location{ + Line: int(222), + Column: int(123), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(120), + }, + End: ast.Location{ + Line: int(222), + Column: int(128), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "indexable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2491, + FreeVars: ast.Identifiers{ + "indexable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(129), + }, + End: ast.Location{ + Line: int(222), + Column: int(138), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(120), + }, + End: ast.Location{ + Line: int(222), + Column: int(139), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(64), + }, + End: ast.Location{ + Line: int(222), + Column: int(139), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "indexable", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(222), + Column: int(5), + }, + End: ast.Location{ + Line: int(234), + Column: int(66), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "indexable", + "invar", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "got %s but step must be greater than 0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(221), + Column: int(24), + }, + End: ast.Location{ + Line: int(221), + Column: int(64), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "step", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(221), + Column: int(67), + }, + End: ast.Location{ + Line: int(221), + Column: int(71), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(221), + Column: int(24), + }, + End: ast.Location{ + Line: int(221), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(221), + Column: int(5), + }, + End: ast.Location{ + Line: int(234), + Column: int(66), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -30212,2354 +35590,79 @@ var _StdAst = &ast.DesugaredObject{ "std", "step", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(12), - }, - End: ast.Location{ - Line: int(209), - Column: int(21), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "step", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(12), - }, - End: ast.Location{ - Line: int(209), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "step", - }, - }, - Id: "step", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(20), - }, - End: ast.Location{ - Line: int(209), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "invar", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(12), - }, - End: ast.Location{ - Line: int(210), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(12), - }, - End: ast.Location{ - Line: int(210), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(12), - }, - End: ast.Location{ - Line: int(210), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(12), - }, - End: ast.Location{ - Line: int(210), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(25), - }, - End: ast.Location{ - Line: int(210), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2086, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(39), - }, - End: ast.Location{ - Line: int(210), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(39), - }, - End: ast.Location{ - Line: int(210), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(39), - }, - End: ast.Location{ - Line: int(210), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(51), - }, - End: ast.Location{ - Line: int(210), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2097, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(211), - Column: int(5), - }, - End: ast.Location{ - Line: int(222), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "build", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(211), - Column: int(11), - }, - End: ast.Location{ - Line: int(221), - Column: int(10), - }, - File: p1, - }, - Fodder: nil, - Ctx: p2104, - FreeVars: ast.Identifiers{ - "build", - "invar", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "slice", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(211), - Column: int(17), - }, - End: ast.Location{ - Line: int(211), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cur", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(211), - Column: int(24), - }, - End: ast.Location{ - Line: int(211), - Column: int(27), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(7), - }, - End: ast.Location{ - Line: int(221), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "build", - "cur", - "invar", - "slice", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(10), - }, - End: ast.Location{ - Line: int(212), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(10), - }, - End: ast.Location{ - Line: int(212), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(10), - }, - End: ast.Location{ - Line: int(212), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(17), - }, - End: ast.Location{ - Line: int(212), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(17), - }, - End: ast.Location{ - Line: int(212), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "end", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(30), - }, - End: ast.Location{ - Line: int(212), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(30), - }, - End: ast.Location{ - Line: int(212), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(37), - }, - End: ast.Location{ - Line: int(212), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(37), - }, - End: ast.Location{ - Line: int(212), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(213), - Column: int(9), - }, - End: ast.Location{ - Line: int(213), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "slice", - }, - }, - Id: "slice", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(215), - Column: int(9), - }, - End: ast.Location{ - Line: int(221), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "build", - "cur", - "invar", - "slice", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(215), - Column: int(9), - }, - End: ast.Location{ - Line: int(215), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p2109, - FreeVars: ast.Identifiers{ - "build", - }, - }, - Id: "build", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(11), - }, - End: ast.Location{ - Line: int(219), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(14), - }, - End: ast.Location{ - Line: int(216), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(14), - }, - End: ast.Location{ - Line: int(216), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(14), - }, - End: ast.Location{ - Line: int(216), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(28), - }, - End: ast.Location{ - Line: int(216), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{}, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(13), - }, - End: ast.Location{ - Line: int(217), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(13), - }, - End: ast.Location{ - Line: int(217), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "slice", - }, - }, - Id: "slice", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(21), - }, - End: ast.Location{ - Line: int(217), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(21), - }, - End: ast.Location{ - Line: int(217), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(21), - }, - End: ast.Location{ - Line: int(217), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "indexable", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(37), - }, - End: ast.Location{ - Line: int(217), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(13), - }, - End: ast.Location{ - Line: int(219), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(13), - }, - End: ast.Location{ - Line: int(219), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "slice", - }, - }, - Id: "slice", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(21), - }, - End: ast.Location{ - Line: int(219), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(22), - }, - End: ast.Location{ - Line: int(219), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2177, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(22), - }, - End: ast.Location{ - Line: int(219), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2177, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(22), - }, - End: ast.Location{ - Line: int(219), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "indexable", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(38), - }, - End: ast.Location{ - Line: int(219), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2177, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(11), - }, - End: ast.Location{ - Line: int(220), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(11), - }, - End: ast.Location{ - Line: int(220), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(17), - }, - End: ast.Location{ - Line: int(220), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2143, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(17), - }, - End: ast.Location{ - Line: int(220), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "step", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - TailStrictFodder: ast.Fodder{}, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(5), - }, - End: ast.Location{ - Line: int(222), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "build", - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(5), - }, - End: ast.Location{ - Line: int(222), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "build", - }, - }, - Id: "build", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(11), - }, - End: ast.Location{ - Line: int(222), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2204, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(14), - }, - End: ast.Location{ - Line: int(222), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2204, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(14), - }, - End: ast.Location{ - Line: int(222), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2204, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(14), - }, - End: ast.Location{ - Line: int(222), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(28), - }, - End: ast.Location{ - Line: int(222), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2204, - FreeVars: ast.Identifiers{}, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(42), - }, - End: ast.Location{ - Line: int(222), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2204, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(50), - }, - End: ast.Location{ - Line: int(222), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2204, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(54), - }, - End: ast.Location{ - Line: int(222), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2204, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(54), - }, - End: ast.Location{ - Line: int(222), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "index", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(5), - }, - End: ast.Location{ - Line: int(222), - Column: int(66), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "std", - }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(64), - }, - End: ast.Location{ - Line: int(210), - Column: int(139), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(64), - }, - End: ast.Location{ - Line: int(210), - Column: int(117), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{}, - }, - Value: "std.slice accepts a string or an array, but got: %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(120), - }, - End: ast.Location{ - Line: int(210), - Column: int(139), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(120), - }, - End: ast.Location{ - Line: int(210), - Column: int(128), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(120), - }, - End: ast.Location{ - Line: int(210), - Column: int(123), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(129), - }, - End: ast.Location{ - Line: int(210), - Column: int(138), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2241, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(5), - }, - End: ast.Location{ - Line: int(222), - Column: int(66), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "step", - }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(24), - }, - End: ast.Location{ - Line: int(209), - Column: int(71), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "step", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(24), - }, - End: ast.Location{ - Line: int(209), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{}, - }, - Value: "got %s but step must be greater than 0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(67), - }, - End: ast.Location{ - Line: int(209), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "step", - }, - }, - Id: "step", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, }, }, - ElseFodder: nil, BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(5), - }, - End: ast.Location{ - Line: int(222), - Column: int(66), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "invar", - }, - }, Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(68), - }, - End: ast.Location{ - Line: int(208), - Column: int(176), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "invar", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -32569,161 +35672,75 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "got [%s:%s:%s] but negative index, end, and steps are not supported", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(208), + Line: int(220), Column: int(68), }, End: ast.Location{ - Line: int(208), + Line: int(220), Column: int(137), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{}, }, - Value: "got [%s:%s:%s] but negative index, end, and steps are not supported", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(140), - }, - End: ast.Location{ - Line: int(208), - Column: int(176), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p1950, - FreeVars: ast.Identifiers{ - "invar", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(141), - }, - End: ast.Location{ - Line: int(208), - Column: int(152), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2271, - FreeVars: ast.Identifiers{ - "invar", - }, - }, Target: &ast.Var{ + Id: "invar", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(208), + Line: int(220), Column: int(141), }, End: ast.Location{ - Line: int(208), + Line: int(220), Column: int(146), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", }, }, - Id: "invar", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "index", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -32733,69 +35750,69 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "index", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2526, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(141), + }, + End: ast.Location{ + Line: int(220), + Column: int(152), + }, + }, + }, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(154), - }, - End: ast.Location{ - Line: int(208), - Column: int(163), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2271, - FreeVars: ast.Identifiers{ - "invar", - }, - }, Target: &ast.Var{ + Id: "invar", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(208), + Line: int(220), Column: int(154), }, End: ast.Location{ - Line: int(208), + Line: int(220), Column: int(159), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", }, }, - Id: "invar", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "end", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -32805,69 +35822,69 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "end", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2526, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(154), + }, + End: ast.Location{ + Line: int(220), + Column: int(163), + }, + }, + }, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(165), - }, - End: ast.Location{ - Line: int(208), - Column: int(175), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2271, - FreeVars: ast.Identifiers{ - "invar", - }, - }, Target: &ast.Var{ + Id: "invar", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(165), - }, - End: ast.Location{ - Line: int(208), - Column: int(170), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "invar", }, - }, - Id: "invar", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(165), + }, + End: ast.Location{ + Line: int(220), + Column: int(170), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "step", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -32877,238 +35894,344 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "step", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2526, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(165), + }, + End: ast.Location{ + Line: int(220), + Column: int(175), + }, + }, + }, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(140), + }, + End: ast.Location{ + Line: int(220), + Column: int(176), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(68), + }, + End: ast.Location{ + Line: int(220), + Column: int(176), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "invar", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(220), + Column: int(5), + }, + End: ast.Location{ + Line: int(234), + Column: int(66), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "indexable", + "invar", + "std", + "step", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2295, + FreeVars: ast.Identifiers{ + "$std", + "end", + "index", + "indexable", + "std", + "step", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(204), + Column: int(5), + }, + End: ast.Location{ + Line: int(234), + Column: int(66), }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(3), - }, - End: ast.Location{ - Line: int(222), - Column: int(66), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "member", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arr", + Name: "indexable", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(10), + Line: int(203), + Column: int(9), }, End: ast.Location{ - Line: int(224), - Column: int(13), + Line: int(203), + Column: int(18), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "x", + Name: "index", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(15), + Line: int(203), + Column: int(20), }, End: ast.Location{ - Line: int(224), - Column: int(16), + Line: int(203), + Column: int(25), }, - File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "end", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(203), + Column: int(27), + }, + End: ast.Location{ + Line: int(203), + Column: int(30), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "step", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(203), + Column: int(32), + }, + End: ast.Location{ + Line: int(203), + Column: int(36), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(5), - }, - End: ast.Location{ - Line: int(229), - Column: int(72), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(203), + Column: int(3), + }, + End: ast.Location{ + Line: int(234), + Column: int(66), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "member", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(8), - }, - End: ast.Location{ - Line: int(225), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(8), - }, - End: ast.Location{ - Line: int(225), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(8), - }, - End: ast.Location{ - Line: int(225), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(237), + Column: int(8), + }, + End: ast.Location{ + Line: int(237), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -33118,154 +36241,151 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(237), + Column: int(8), + }, + End: ast.Location{ + Line: int(237), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(20), - }, - End: ast.Location{ - Line: int(225), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2303, + Ctx: p2558, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(237), + Column: int(20), + }, + End: ast.Location{ + Line: int(237), + Column: int(23), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(7), - }, - End: ast.Location{ - Line: int(226), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2292, + Ctx: p2554, FreeVars: ast.Identifiers{ "arr", "std", - "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(237), + Column: int(8), + }, + End: ast.Location{ + Line: int(237), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(238), + Column: int(27), + }, + End: ast.Location{ + Line: int(238), + Column: int(28), + }, + }, }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(7), - }, - End: ast.Location{ - Line: int(226), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(7), - }, - End: ast.Location{ - Line: int(226), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(7), - }, - End: ast.Location{ - Line: int(226), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(238), + Column: int(7), + }, + End: ast.Location{ + Line: int(238), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "count", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -33275,201 +36395,174 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "count", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(238), + Column: int(7), + }, + End: ast.Location{ + Line: int(238), + Column: int(16), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(17), - }, - End: ast.Location{ - Line: int(226), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2317, + Ctx: p2572, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(238), + Column: int(17), + }, + End: ast.Location{ + Line: int(238), + Column: int(20), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "x", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(22), - }, - End: ast.Location{ - Line: int(226), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2317, + Ctx: p2572, FreeVars: ast.Identifiers{ "x", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(238), + Column: int(22), + }, + End: ast.Location{ + Line: int(238), + Column: int(23), + }, + }, }, - Id: "x", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(226), - Column: int(27), + Line: int(238), + Column: int(7), }, End: ast.Location{ - Line: int(226), - Column: int(28), + Line: int(238), + Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(10), - }, - End: ast.Location{ - Line: int(229), - Column: int(72), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2292, + Ctx: p2554, FreeVars: ast.Identifiers{ "arr", "std", "x", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(13), - }, - End: ast.Location{ - Line: int(227), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(238), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(238), + Column: int(28), }, }, + }, + Op: ast.BinaryOp(7), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(13), - }, - End: ast.Location{ - Line: int(227), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(13), - }, - End: ast.Location{ - Line: int(227), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(239), + Column: int(13), + }, + End: ast.Location{ + Line: int(239), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -33479,154 +36572,151 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(239), + Column: int(13), + }, + End: ast.Location{ + Line: int(239), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(26), - }, - End: ast.Location{ - Line: int(227), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2334, + Ctx: p2587, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(239), + Column: int(26), + }, + End: ast.Location{ + Line: int(239), + Column: int(29), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(7), - }, - End: ast.Location{ - Line: int(228), - Column: int(45), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2292, + Ctx: p2554, FreeVars: ast.Identifiers{ "arr", "std", - "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(239), + Column: int(13), + }, + End: ast.Location{ + Line: int(239), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(44), + }, + End: ast.Location{ + Line: int(240), + Column: int(45), + }, + }, }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(7), - }, - End: ast.Location{ - Line: int(228), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(7), - }, - End: ast.Location{ - Line: int(228), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(7), - }, - End: ast.Location{ - Line: int(228), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(7), + }, + End: ast.Location{ + Line: int(240), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -33636,92 +36726,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(7), + }, + End: ast.Location{ + Line: int(240), + Column: int(17), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(18), - }, - End: ast.Location{ - Line: int(228), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2348, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(18), - }, - End: ast.Location{ - Line: int(228), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2348, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(18), - }, - End: ast.Location{ - Line: int(228), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(18), + }, + End: ast.Location{ + Line: int(240), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -33731,337 +36800,418 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "findSubstr", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2605, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(18), + }, + End: ast.Location{ + Line: int(240), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "x", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(33), - }, - End: ast.Location{ - Line: int(228), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2357, + Ctx: p2609, FreeVars: ast.Identifiers{ "x", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(33), + }, + End: ast.Location{ + Line: int(240), + Column: int(34), + }, + }, }, - Id: "x", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(36), - }, - End: ast.Location{ - Line: int(228), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2357, + Ctx: p2609, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(36), + }, + End: ast.Location{ + Line: int(240), + Column: int(39), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2605, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(240), + Column: int(18), + }, + End: ast.Location{ + Line: int(240), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(228), - Column: int(44), + Line: int(240), + Column: int(7), }, End: ast.Location{ - Line: int(228), - Column: int(45), + Line: int(240), + Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(10), + Line: int(240), + Column: int(7), }, End: ast.Location{ - Line: int(229), - Column: int(72), + Line: int(240), + Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{}, }, + Op: ast.BinaryOp(7), + }, + BranchFalse: &ast.Error{ Expr: &ast.LiteralString{ + Value: "std.member first argument must be an array or a string", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(229), + Line: int(241), Column: int(16), }, End: ast.Location{ - Line: int(229), + Line: int(241), Column: int(72), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p2292, - FreeVars: ast.Identifiers{}, }, - Value: "std.member first argument must be an array or a string", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(241), + Column: int(10), + }, + End: ast.Location{ + Line: int(241), + Column: int(72), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2554, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(239), + Column: int(10), + }, + End: ast.Location{ + Line: int(241), + Column: int(72), + }, }, }, }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(3), - }, - End: ast.Location{ - Line: int(229), - Column: int(72), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "count", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(9), - }, - End: ast.Location{ - Line: int(231), - Column: int(12), - }, - File: p1, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(14), - }, - End: ast.Location{ - Line: int(231), - Column: int(15), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(19), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - End: ast.Location{ - Line: int(231), - Column: int(66), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p2370, + Ctx: p2554, FreeVars: ast.Identifiers{ "arr", "std", "x", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(19), - }, - End: ast.Location{ - Line: int(231), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(237), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p2370, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(241), + Column: int(72), }, }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(236), + Column: int(10), + }, + End: ast.Location{ + Line: int(236), + Column: int(13), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(236), + Column: int(15), + }, + End: ast.Location{ + Line: int(236), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(236), + Column: int(3), + }, + End: ast.Location{ + Line: int(241), + Column: int(72), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "count", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(19), - }, - End: ast.Location{ - Line: int(231), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(19), + }, + End: ast.Location{ + Line: int(243), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -34071,92 +37221,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2632, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(19), + }, + End: ast.Location{ + Line: int(243), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(30), - }, - End: ast.Location{ - Line: int(231), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2379, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(30), - }, - End: ast.Location{ - Line: int(231), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2379, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(30), - }, - End: ast.Location{ - Line: int(231), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(30), + }, + End: ast.Location{ + Line: int(243), + Column: int(33), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "filter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -34166,403 +37295,376 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "filter", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2640, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(30), + }, + End: ast.Location{ + Line: int(243), + Column: int(40), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(41), - }, - End: ast.Location{ - Line: int(231), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "x", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(50), - }, - End: ast.Location{ - Line: int(231), - Column: int(51), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(53), + Right: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2646, + FreeVars: ast.Identifiers{ + "x", }, - End: ast.Location{ - Line: int(231), - Column: int(59), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(58), + }, + End: ast.Location{ + Line: int(243), + Column: int(59), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2646, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(53), + }, + End: ast.Location{ + Line: int(243), + Column: int(54), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p2392, + Ctx: p2646, FreeVars: ast.Identifiers{ "v", "x", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(53), - }, - End: ast.Location{ - Line: int(231), - Column: int(54), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(53), }, - Fodder: ast.Fodder{}, - Ctx: p2392, - FreeVars: ast.Identifiers{ - "v", + End: ast.Location{ + Line: int(243), + Column: int(59), }, }, - Id: "v", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(58), - }, - End: ast.Location{ - Line: int(231), - Column: int(59), - }, - File: p1, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(50), }, - Fodder: ast.Fodder{}, - Ctx: p2392, - FreeVars: ast.Identifiers{ - "x", + End: ast.Location{ + Line: int(243), + Column: int(51), }, }, - Id: "x", }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2652, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(41), + }, + End: ast.Location{ + Line: int(243), + Column: int(59), + }, + }, + }, + TrailingComma: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(61), - }, - End: ast.Location{ - Line: int(231), - Column: int(64), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2388, + Ctx: p2652, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(61), + }, + End: ast.Location{ + Line: int(243), + Column: int(64), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2640, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(30), + }, + End: ast.Location{ + Line: int(243), + Column: int(65), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(3), - }, - End: ast.Location{ - Line: int(231), - Column: int(66), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2632, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(19), + }, + End: ast.Location{ + Line: int(243), + Column: int(66), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + TrailingComma: false, + TailStrict: false, }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "a", + Name: "arr", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(233), - Column: int(7), + Line: int(243), + Column: int(9), }, End: ast.Location{ - Line: int(233), - Column: int(8), + Line: int(243), + Column: int(12), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "b", + Name: "x", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(233), - Column: int(10), + Line: int(243), + Column: int(14), }, End: ast.Location{ - Line: int(233), - Column: int(11), + Line: int(243), + Column: int(15), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(5), - }, - End: ast.Location{ - Line: int(239), - Column: int(94), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(243), + Column: int(3), + }, + End: ast.Location{ + Line: int(243), + Column: int(66), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(8), - }, - End: ast.Location{ - Line: int(234), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(8), - }, - End: ast.Location{ - Line: int(234), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(8), - }, - End: ast.Location{ - Line: int(234), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(8), - }, - End: ast.Location{ - Line: int(234), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(27), + }, + End: ast.Location{ + Line: int(246), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -34572,125 +37674,123 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(27), + }, + End: ast.Location{ + Line: int(246), + Column: int(39), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2673, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(21), + Line: int(246), + Column: int(40), }, End: ast.Location{ - Line: int(234), - Column: int(22), + Line: int(246), + Column: int(41), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2419, - FreeVars: ast.Identifiers{ - "a", }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(27), - }, - End: ast.Location{ - Line: int(234), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2406, + Ctx: p2669, FreeVars: ast.Identifiers{ "b", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(27), - }, - End: ast.Location{ - Line: int(234), - Column: int(39), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(27), }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(246), + Column: int(42), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(27), - }, - End: ast.Location{ - Line: int(234), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(8), + }, + End: ast.Location{ + Line: int(246), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -34700,133 +37800,154 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(8), + }, + End: ast.Location{ + Line: int(246), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2684, + FreeVars: ast.Identifiers{ + "a", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(40), + Line: int(246), + Column: int(21), }, End: ast.Location{ - Line: int(234), - Column: int(41), + Line: int(246), + Column: int(22), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2430, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(235), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "std", }, - End: ast.Location{ - Line: int(235), - Column: int(23), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(8), + }, + End: ast.Location{ + Line: int(246), + Column: int(23), + }, }, - File: p1, }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p2406, + Ctx: p2669, FreeVars: ast.Identifiers{ "a", "b", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(235), - Column: int(7), - }, - End: ast.Location{ - Line: int(235), - Column: int(17), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(8), }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(246), + Column: int(42), }, }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(235), - Column: int(7), - }, - End: ast.Location{ - Line: int(235), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(247), + Column: int(7), + }, + End: ast.Location{ + Line: int(247), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "modulo", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -34836,178 +37957,150 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "modulo", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(247), + Column: int(7), + }, + End: ast.Location{ + Line: int(247), + Column: int(17), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(235), - Column: int(18), - }, - End: ast.Location{ - Line: int(235), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2442, + Ctx: p2697, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(247), + Column: int(18), + }, + End: ast.Location{ + Line: int(247), + Column: int(19), + }, + }, }, - Id: "a", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(235), - Column: int(21), - }, - End: ast.Location{ - Line: int(235), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2442, + Ctx: p2697, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(247), + Column: int(21), + }, + End: ast.Location{ + Line: int(247), + Column: int(22), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(10), - }, - End: ast.Location{ - Line: int(239), - Column: int(94), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2406, + Ctx: p2669, FreeVars: ast.Identifiers{ "a", "b", "std", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(13), - }, - End: ast.Location{ - Line: int(236), - Column: int(28), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(247), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "std", + End: ast.Location{ + Line: int(247), + Column: int(23), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(13), - }, - End: ast.Location{ - Line: int(236), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(13), - }, - End: ast.Location{ - Line: int(236), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(248), + Column: int(13), + }, + End: ast.Location{ + Line: int(248), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -35017,132 +38110,130 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(248), + Column: int(13), + }, + End: ast.Location{ + Line: int(248), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(26), - }, - End: ast.Location{ - Line: int(236), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2458, + Ctx: p2711, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(248), + Column: int(26), + }, + End: ast.Location{ + Line: int(248), + Column: int(27), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(7), - }, - End: ast.Location{ - Line: int(237), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2406, + Ctx: p2669, FreeVars: ast.Identifiers{ "a", - "b", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(7), - }, - End: ast.Location{ - Line: int(237), - Column: int(17), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(248), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(248), + Column: int(28), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(7), - }, - End: ast.Location{ - Line: int(237), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(249), + Column: int(7), + }, + End: ast.Location{ + Line: int(249), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "format", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -35152,451 +38243,175 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "format", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(249), + Column: int(7), + }, + End: ast.Location{ + Line: int(249), + Column: int(17), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(18), - }, - End: ast.Location{ - Line: int(237), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2470, + Ctx: p2723, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(249), + Column: int(18), + }, + End: ast.Location{ + Line: int(249), + Column: int(19), + }, + }, }, - Id: "a", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(21), - }, - End: ast.Location{ - Line: int(237), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2470, + Ctx: p2723, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(249), + Column: int(21), + }, + End: ast.Location{ + Line: int(249), + Column: int(22), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(7), - }, - End: ast.Location{ - Line: int(239), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2406, + Fodder: ast.Fodder{}, + Ctx: p2669, FreeVars: ast.Identifiers{ "a", "b", "std", }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(13), - }, - End: ast.Location{ - Line: int(239), - Column: int(94), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(249), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", + End: ast.Location{ + Line: int(249), + Column: int(23), }, }, - Left: &ast.Binary{ + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ".", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(239), - Column: int(13), + Line: int(251), + Column: int(91), }, End: ast.Location{ - Line: int(239), - Column: int(88), + Line: int(251), + Column: int(94), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(13), - }, - End: ast.Location{ - Line: int(239), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(13), - }, - End: ast.Location{ - Line: int(239), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Left: &ast.LiteralString{ + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(13), - }, - End: ast.Location{ - Line: int(239), - Column: int(50), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{}, - }, - Value: "Operator % cannot be used on types ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(53), - }, - End: ast.Location{ - Line: int(239), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(53), - }, - End: ast.Location{ - Line: int(239), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(53), - }, - End: ast.Location{ - Line: int(239), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(62), - }, - End: ast.Location{ - Line: int(239), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2496, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(67), - }, - End: ast.Location{ - Line: int(239), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{}, - }, - Value: " and ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(77), - }, - End: ast.Location{ - Line: int(239), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(77), - }, - End: ast.Location{ - Line: int(239), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(239), + Line: int(251), Column: int(77), }, End: ast.Location{ - Line: int(239), + Line: int(251), Column: int(80), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -35606,3260 +38421,594 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(77), + }, + End: ast.Location{ + Line: int(251), + Column: int(85), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(86), - }, - End: ast.Location{ - Line: int(239), - Column: int(87), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2508, + Ctx: p2740, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(86), + }, + End: ast.Location{ + Line: int(251), + Column: int(87), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(91), - }, - End: ast.Location{ - Line: int(239), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2406, - FreeVars: ast.Identifiers{}, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(233), - Column: int(3), - }, - End: ast.Location{ - Line: int(239), - Column: int(94), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(241), - Column: int(7), - }, - End: ast.Location{ - Line: int(241), - Column: int(11), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(241), - Column: int(13), - }, - End: ast.Location{ - Line: int(241), - Column: int(16), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(5), - }, - End: ast.Location{ - Line: int(247), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(8), - }, - End: ast.Location{ - Line: int(242), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(9), - }, - End: ast.Location{ - Line: int(242), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(9), - }, - End: ast.Location{ - Line: int(242), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(9), - }, - End: ast.Location{ - Line: int(242), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isFunction", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(24), - }, - End: ast.Location{ - Line: int(242), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2530, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(7), - }, - End: ast.Location{ - Line: int(243), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(14), - }, - End: ast.Location{ - Line: int(243), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(14), - }, - End: ast.Location{ - Line: int(243), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{}, - }, - Value: "std.map first param must be function, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(61), - }, - End: ast.Location{ - Line: int(243), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(61), - }, - End: ast.Location{ - Line: int(243), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(61), - }, - End: ast.Location{ - Line: int(243), - Column: int(64), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: nil, + Ctx: p2669, FreeVars: ast.Identifiers{ + "b", "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(70), - }, - End: ast.Location{ - Line: int(243), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2547, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(10), - }, - End: ast.Location{ - Line: int(247), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(13), - }, - End: ast.Location{ - Line: int(244), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(13), - }, - End: ast.Location{ - Line: int(244), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(14), - }, - End: ast.Location{ - Line: int(244), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(14), - }, - End: ast.Location{ - Line: int(244), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(14), - }, - End: ast.Location{ - Line: int(244), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(26), - }, - End: ast.Location{ - Line: int(244), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2565, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(34), - }, - End: ast.Location{ - Line: int(244), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(35), - }, - End: ast.Location{ - Line: int(244), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(35), - }, - End: ast.Location{ - Line: int(244), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(35), - }, - End: ast.Location{ - Line: int(244), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(244), - Column: int(48), - }, - End: ast.Location{ - Line: int(244), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2578, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(7), - }, - End: ast.Location{ - Line: int(245), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(14), - }, - End: ast.Location{ - Line: int(245), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(14), - }, - End: ast.Location{ - Line: int(245), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{}, - }, - Value: "std.map second param must be array / string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(68), - }, - End: ast.Location{ - Line: int(245), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(68), - }, - End: ast.Location{ - Line: int(245), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(68), - }, - End: ast.Location{ - Line: int(245), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(77), - }, - End: ast.Location{ - Line: int(245), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2595, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(7), - }, - End: ast.Location{ - Line: int(247), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(7), - }, - End: ast.Location{ - Line: int(247), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2517, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(7), - }, - End: ast.Location{ - Line: int(247), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(21), - }, - End: ast.Location{ - Line: int(247), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2608, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(21), - }, - End: ast.Location{ - Line: int(247), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2608, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(21), - }, - End: ast.Location{ - Line: int(247), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(32), - }, - End: ast.Location{ - Line: int(247), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2617, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(38), - }, - End: ast.Location{ - Line: int(247), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2608, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(47), - }, - End: ast.Location{ - Line: int(247), - Column: int(48), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(50), - }, - End: ast.Location{ - Line: int(247), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2623, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(50), - }, - End: ast.Location{ - Line: int(247), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2623, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(55), - }, - End: ast.Location{ - Line: int(247), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2629, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(55), - }, - End: ast.Location{ - Line: int(247), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2629, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(59), - }, - End: ast.Location{ - Line: int(247), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2629, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(241), - Column: int(3), - }, - End: ast.Location{ - Line: int(247), - Column: int(63), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mapWithIndex", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(16), - }, - End: ast.Location{ - Line: int(249), - Column: int(20), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(22), - }, - End: ast.Location{ - Line: int(249), - Column: int(25), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(250), - Column: int(5), - }, - End: ast.Location{ - Line: int(255), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(250), - Column: int(8), - }, - End: ast.Location{ - Line: int(250), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(250), - Column: int(9), - }, - End: ast.Location{ - Line: int(250), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(250), - Column: int(9), - }, - End: ast.Location{ - Line: int(250), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(250), - Column: int(9), - }, - End: ast.Location{ - Line: int(250), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isFunction", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(250), - Column: int(24), - }, - End: ast.Location{ - Line: int(250), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2654, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(7), - }, - End: ast.Location{ - Line: int(251), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(14), - }, - End: ast.Location{ - Line: int(251), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(14), - }, - End: ast.Location{ - Line: int(251), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{}, - }, - Value: "std.mapWithIndex first param must be function, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(70), - }, - End: ast.Location{ - Line: int(251), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(70), - }, - End: ast.Location{ - Line: int(251), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(251), - Column: int(70), + Column: int(77), }, End: ast.Location{ Line: int(251), - Column: int(73), + Column: int(88), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", + TrailingComma: false, + TailStrict: false, }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(79), - }, - End: ast.Location{ - Line: int(251), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2671, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(10), - }, - End: ast.Location{ - Line: int(255), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(13), - }, - End: ast.Location{ - Line: int(252), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(13), - }, - End: ast.Location{ - Line: int(252), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(14), - }, - End: ast.Location{ - Line: int(252), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(14), - }, - End: ast.Location{ - Line: int(252), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(14), - }, - End: ast.Location{ - Line: int(252), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " and ", BlockIndent: "", BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(26), - }, - End: ast.Location{ - Line: int(252), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2689, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(34), - }, - End: ast.Location{ - Line: int(252), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(35), - }, - End: ast.Location{ - Line: int(252), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(35), - }, - End: ast.Location{ - Line: int(252), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(35), - }, - End: ast.Location{ - Line: int(252), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Ctx: p2669, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(67), + }, + End: ast.Location{ + Line: int(251), + Column: int(74), + }, + }, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(53), + }, + End: ast.Location{ + Line: int(251), + Column: int(56), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(252), - Column: int(48), - }, - End: ast.Location{ - Line: int(252), - Column: int(51), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2702, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(7), - }, - End: ast.Location{ - Line: int(253), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(14), - }, - End: ast.Location{ - Line: int(253), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(14), - }, - End: ast.Location{ - Line: int(253), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{}, - }, - Value: "std.mapWithIndex second param must be array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(68), - }, - End: ast.Location{ - Line: int(253), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(68), - }, - End: ast.Location{ - Line: int(253), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(68), - }, - End: ast.Location{ - Line: int(253), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(77), - }, - End: ast.Location{ - Line: int(253), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2719, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(7), - }, - End: ast.Location{ - Line: int(255), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(7), - }, - End: ast.Location{ - Line: int(255), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(7), - }, - End: ast.Location{ - Line: int(255), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(21), - }, - End: ast.Location{ - Line: int(255), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2732, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(21), - }, - End: ast.Location{ - Line: int(255), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2732, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(21), - }, - End: ast.Location{ - Line: int(255), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, + Ctx: p2669, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(251), + Column: int(53), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(251), + Column: int(61), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(32), - }, - End: ast.Location{ - Line: int(255), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2741, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(38), - }, - End: ast.Location{ - Line: int(255), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2732, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(47), - }, - End: ast.Location{ - Line: int(255), - Column: int(48), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(50), - }, - End: ast.Location{ - Line: int(255), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2747, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(50), - }, - End: ast.Location{ - Line: int(255), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2747, - FreeVars: ast.Identifiers{ - "func", }, }, - Id: "func", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2754, + FreeVars: ast.Identifiers{ + "a", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(255), - Column: int(55), + Line: int(251), + Column: int(62), }, End: ast.Location{ - Line: int(255), - Column: int(56), + Line: int(251), + Column: int(63), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2753, - FreeVars: ast.Identifiers{ - "i", }, }, - Id: "i", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(58), - }, - End: ast.Location{ - Line: int(255), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2753, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(58), - }, - End: ast.Location{ - Line: int(255), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2753, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(62), - }, - End: ast.Location{ - Line: int(255), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2753, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(53), + }, + End: ast.Location{ + Line: int(251), + Column: int(64), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "Operator % cannot be used on types ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(13), + }, + End: ast.Location{ + Line: int(251), + Column: int(50), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(13), + }, + End: ast.Location{ + Line: int(251), + Column: int(64), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(13), + }, + End: ast.Location{ + Line: int(251), + Column: int(74), + }, }, }, - CommaFodder: nil, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(13), + }, + End: ast.Location{ + Line: int(251), + Column: int(88), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(13), + }, + End: ast.Location{ + Line: int(251), + Column: int(94), + }, }, }, - Named: nil, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(251), + Column: int(7), + }, + End: ast.Location{ + Line: int(251), + Column: int(94), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(248), + Column: int(10), + }, + End: ast.Location{ + Line: int(251), + Column: int(94), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2669, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(246), + Column: int(5), + }, + End: ast.Location{ + Line: int(251), + Column: int(94), }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(3), - }, - End: ast.Location{ - Line: int(255), - Column: int(66), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mapWithKey", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "func", + Name: "a", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(257), - Column: int(14), + Line: int(245), + Column: int(7), }, End: ast.Location{ - Line: int(257), - Column: int(18), + Line: int(245), + Column: int(8), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "obj", + Name: "b", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(257), - Column: int(20), + Line: int(245), + Column: int(10), }, End: ast.Location{ - Line: int(257), - Column: int(23), + Line: int(245), + Column: int(11), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(258), - Column: int(5), - }, - End: ast.Location{ - Line: int(263), - Column: int(62), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(245), + Column: int(3), + }, + End: ast.Location{ + Line: int(251), + Column: int(94), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "$std", - "func", - "obj", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(258), - Column: int(8), - }, - End: ast.Location{ - Line: int(258), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(258), - Column: int(9), - }, - End: ast.Location{ - Line: int(258), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(258), - Column: int(9), - }, - End: ast.Location{ - Line: int(258), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(258), - Column: int(9), - }, - End: ast.Location{ - Line: int(258), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(254), + Column: int(9), + }, + End: ast.Location{ + Line: int(254), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -38869,582 +39018,350 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(254), + Column: int(9), + }, + End: ast.Location{ + Line: int(254), + Column: int(23), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(258), - Column: int(24), - }, - End: ast.Location{ - Line: int(258), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2780, + Ctx: p2784, FreeVars: ast.Identifiers{ "func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(254), + Column: int(24), + }, + End: ast.Location{ + Line: int(254), + Column: int(28), + }, + }, }, - Id: "func", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(7), - }, - End: ast.Location{ - Line: int(259), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(14), - }, - End: ast.Location{ - Line: int(259), - Column: int(82), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2767, + Ctx: p2780, FreeVars: ast.Identifiers{ "func", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(14), - }, - End: ast.Location{ - Line: int(259), - Column: int(65), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(254), + Column: int(9), + }, + End: ast.Location{ + Line: int(254), + Column: int(29), }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{}, }, - Value: "std.mapWithKey first param must be function, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(254), + Column: int(8), + }, + End: ast.Location{ + Line: int(254), + Column: int(29), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(68), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(255), + Column: int(61), + }, + End: ast.Location{ + Line: int(255), + Column: int(64), + }, + }, }, - End: ast.Location{ - Line: int(259), - Column: int(82), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(255), + Column: int(61), + }, + End: ast.Location{ + Line: int(255), + Column: int(69), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2798, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(255), + Column: int(70), + }, + End: ast.Location{ + Line: int(255), + Column: int(74), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p2767, + Ctx: p2780, FreeVars: ast.Identifiers{ "func", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(68), - }, - End: ast.Location{ - Line: int(259), - Column: int(76), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(255), + Column: int(61), }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(255), + Column: int(75), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(68), - }, - End: ast.Location{ - Line: int(259), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(77), - }, - End: ast.Location{ - Line: int(259), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2797, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, + Left: &ast.LiteralString{ + Value: "std.map first param must be function, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(255), + Column: int(14), + }, + End: ast.Location{ + Line: int(255), + Column: int(58), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(255), + Column: int(14), + }, + End: ast.Location{ + Line: int(255), + Column: int(75), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(255), + Column: int(7), + }, + End: ast.Location{ + Line: int(255), + Column: int(76), + }, + }, }, }, BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(10), - }, - End: ast.Location{ - Line: int(263), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "$std", - "func", - "obj", - "std", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(13), - }, - End: ast.Location{ - Line: int(260), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(14), - }, - End: ast.Location{ - Line: int(260), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(14), - }, - End: ast.Location{ - Line: int(260), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(14), - }, - End: ast.Location{ - Line: int(260), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(27), - }, - End: ast.Location{ - Line: int(260), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2813, - FreeVars: ast.Identifiers{ - "obj", - }, - }, - Id: "obj", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(7), - }, - End: ast.Location{ - Line: int(261), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(14), - }, - End: ast.Location{ - Line: int(261), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(14), - }, - End: ast.Location{ - Line: int(261), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{}, - }, - Value: "std.mapWithKey second param must be object, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(67), - }, - End: ast.Location{ - Line: int(261), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - }, + Cond: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(67), - }, - End: ast.Location{ - Line: int(261), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(67), - }, - End: ast.Location{ - Line: int(261), - Column: int(70), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(35), + }, + End: ast.Location{ + Line: int(256), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -39454,92 +39371,3321 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(35), + }, + End: ast.Location{ + Line: int(256), + Column: int(47), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2816, + FreeVars: ast.Identifiers{ + "arr", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(261), - Column: int(76), + Line: int(256), + Column: int(48), }, End: ast.Location{ - Line: int(261), - Column: int(79), + Line: int(256), + Column: int(51), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2830, - FreeVars: ast.Identifiers{ - "obj", }, }, - Id: "obj", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(35), + }, + End: ast.Location{ + Line: int(256), + Column: int(52), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(34), + }, + End: ast.Location{ + Line: int(256), + Column: int(52), + }, + }, + }, + Op: ast.UnaryOp(0), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, + Left: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(14), + }, + End: ast.Location{ + Line: int(256), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(14), + }, + End: ast.Location{ + Line: int(256), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2829, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(26), + }, + End: ast.Location{ + Line: int(256), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(14), + }, + End: ast.Location{ + Line: int(256), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(13), + }, + End: ast.Location{ + Line: int(256), + Column: int(30), + }, + }, + }, + Op: ast.UnaryOp(0), }, - }, - BranchFalse: &ast.Apply{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(263), + Line: int(256), + Column: int(13), + }, + End: ast.Location{ + Line: int(256), + Column: int(52), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(257), + Column: int(68), + }, + End: ast.Location{ + Line: int(257), + Column: int(71), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(257), + Column: int(68), + }, + End: ast.Location{ + Line: int(257), + Column: int(76), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2844, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(257), + Column: int(77), + }, + End: ast.Location{ + Line: int(257), + Column: int(80), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(257), + Column: int(68), + }, + End: ast.Location{ + Line: int(257), + Column: int(81), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.map second param must be array / string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(257), + Column: int(14), + }, + End: ast.Location{ + Line: int(257), + Column: int(65), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(257), + Column: int(14), + }, + End: ast.Location{ + Line: int(257), + Column: int(81), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(257), Column: int(7), }, End: ast.Location{ - Line: int(263), - Column: int(62), + Line: int(257), + Column: int(82), }, - File: p1, }, - Fodder: nil, - Ctx: nil, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(7), + }, + End: ast.Location{ + Line: int(259), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(7), + }, + End: ast.Location{ + Line: int(259), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(21), + }, + End: ast.Location{ + Line: int(259), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2864, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(21), + }, + End: ast.Location{ + Line: int(259), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2868, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(32), + }, + End: ast.Location{ + Line: int(259), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2864, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(21), + }, + End: ast.Location{ + Line: int(259), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2874, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(50), + }, + End: ast.Location{ + Line: int(259), + Column: int(54), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2879, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(55), + }, + End: ast.Location{ + Line: int(259), + Column: int(58), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2879, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(59), + }, + End: ast.Location{ + Line: int(259), + Column: int(60), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2879, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(55), + }, + End: ast.Location{ + Line: int(259), + Column: int(61), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2874, + FreeVars: ast.Identifiers{ + "arr", + "func", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(50), + }, + End: ast.Location{ + Line: int(259), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(47), + }, + End: ast.Location{ + Line: int(259), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2864, + FreeVars: ast.Identifiers{ + "arr", + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(38), + }, + End: ast.Location{ + Line: int(259), + Column: int(62), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, FreeVars: ast.Identifiers{ - "$std", + "arr", "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(7), + }, + End: ast.Location{ + Line: int(259), + Column: int(63), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(256), + Column: int(10), + }, + End: ast.Location{ + Line: int(259), + Column: int(63), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2780, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(254), + Column: int(5), + }, + End: ast.Location{ + Line: int(259), + Column: int(63), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "func", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(253), + Column: int(7), + }, + End: ast.Location{ + Line: int(253), + Column: int(11), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(253), + Column: int(13), + }, + End: ast.Location{ + Line: int(253), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(253), + Column: int(3), + }, + End: ast.Location{ + Line: int(259), + Column: int(63), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "mapWithIndex", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(262), + Column: int(9), + }, + End: ast.Location{ + Line: int(262), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(262), + Column: int(9), + }, + End: ast.Location{ + Line: int(262), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2908, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(262), + Column: int(24), + }, + End: ast.Location{ + Line: int(262), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(262), + Column: int(9), + }, + End: ast.Location{ + Line: int(262), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(262), + Column: int(8), + }, + End: ast.Location{ + Line: int(262), + Column: int(29), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(263), + Column: int(70), + }, + End: ast.Location{ + Line: int(263), + Column: int(73), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(263), + Column: int(70), + }, + End: ast.Location{ + Line: int(263), + Column: int(78), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2922, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(263), + Column: int(79), + }, + End: ast.Location{ + Line: int(263), + Column: int(83), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(263), + Column: int(70), + }, + End: ast.Location{ + Line: int(263), + Column: int(84), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.mapWithIndex first param must be function, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(263), + Column: int(14), + }, + End: ast.Location{ + Line: int(263), + Column: int(67), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(263), + Column: int(14), + }, + End: ast.Location{ + Line: int(263), + Column: int(84), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(263), + Column: int(7), + }, + End: ast.Location{ + Line: int(263), + Column: int(85), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(35), + }, + End: ast.Location{ + Line: int(264), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(35), + }, + End: ast.Location{ + Line: int(264), + Column: int(47), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2940, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(48), + }, + End: ast.Location{ + Line: int(264), + Column: int(51), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(35), + }, + End: ast.Location{ + Line: int(264), + Column: int(52), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(34), + }, + End: ast.Location{ + Line: int(264), + Column: int(52), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + Left: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(14), + }, + End: ast.Location{ + Line: int(264), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(14), + }, + End: ast.Location{ + Line: int(264), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2953, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(26), + }, + End: ast.Location{ + Line: int(264), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(14), + }, + End: ast.Location{ + Line: int(264), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(13), + }, + End: ast.Location{ + Line: int(264), + Column: int(30), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(13), + }, + End: ast.Location{ + Line: int(264), + Column: int(52), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(68), + }, + End: ast.Location{ + Line: int(265), + Column: int(71), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(68), + }, + End: ast.Location{ + Line: int(265), + Column: int(76), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2968, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(77), + }, + End: ast.Location{ + Line: int(265), + Column: int(80), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(68), + }, + End: ast.Location{ + Line: int(265), + Column: int(81), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.mapWithIndex second param must be array, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(14), + }, + End: ast.Location{ + Line: int(265), + Column: int(65), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(14), + }, + End: ast.Location{ + Line: int(265), + Column: int(81), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(7), + }, + End: ast.Location{ + Line: int(265), + Column: int(82), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(7), + }, + End: ast.Location{ + Line: int(267), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(7), + }, + End: ast.Location{ + Line: int(267), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(21), + }, + End: ast.Location{ + Line: int(267), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2988, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(21), + }, + End: ast.Location{ + Line: int(267), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2992, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(32), + }, + End: ast.Location{ + Line: int(267), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2988, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(21), + }, + End: ast.Location{ + Line: int(267), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2998, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(50), + }, + End: ast.Location{ + Line: int(267), + Column: int(54), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3002, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(55), + }, + End: ast.Location{ + Line: int(267), + Column: int(56), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3002, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(58), + }, + End: ast.Location{ + Line: int(267), + Column: int(61), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3002, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(62), + }, + End: ast.Location{ + Line: int(267), + Column: int(63), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3002, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(58), + }, + End: ast.Location{ + Line: int(267), + Column: int(64), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2998, + FreeVars: ast.Identifiers{ + "arr", + "func", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(50), + }, + End: ast.Location{ + Line: int(267), + Column: int(65), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(47), + }, + End: ast.Location{ + Line: int(267), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2988, + FreeVars: ast.Identifiers{ + "arr", + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(38), + }, + End: ast.Location{ + Line: int(267), + Column: int(65), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(267), + Column: int(7), + }, + End: ast.Location{ + Line: int(267), + Column: int(66), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(264), + Column: int(10), + }, + End: ast.Location{ + Line: int(267), + Column: int(66), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p2904, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(262), + Column: int(5), + }, + End: ast.Location{ + Line: int(267), + Column: int(66), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "func", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(261), + Column: int(16), + }, + End: ast.Location{ + Line: int(261), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(261), + Column: int(22), + }, + End: ast.Location{ + Line: int(261), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(261), + Column: int(3), + }, + End: ast.Location{ + Line: int(267), + Column: int(66), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "mapWithKey", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(270), + Column: int(9), + }, + End: ast.Location{ + Line: int(270), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(270), + Column: int(9), + }, + End: ast.Location{ + Line: int(270), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3034, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(270), + Column: int(24), + }, + End: ast.Location{ + Line: int(270), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(270), + Column: int(9), + }, + End: ast.Location{ + Line: int(270), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(270), + Column: int(8), + }, + End: ast.Location{ + Line: int(270), + Column: int(29), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(271), + Column: int(68), + }, + End: ast.Location{ + Line: int(271), + Column: int(71), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(271), + Column: int(68), + }, + End: ast.Location{ + Line: int(271), + Column: int(76), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3048, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(271), + Column: int(77), + }, + End: ast.Location{ + Line: int(271), + Column: int(81), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(271), + Column: int(68), + }, + End: ast.Location{ + Line: int(271), + Column: int(82), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.mapWithKey first param must be function, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(271), + Column: int(14), + }, + End: ast.Location{ + Line: int(271), + Column: int(65), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(271), + Column: int(14), + }, + End: ast.Location{ + Line: int(271), + Column: int(82), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(271), + Column: int(7), + }, + End: ast.Location{ + Line: int(271), + Column: int(83), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(272), + Column: int(14), + }, + End: ast.Location{ + Line: int(272), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(272), + Column: int(14), + }, + End: ast.Location{ + Line: int(272), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3065, + FreeVars: ast.Identifiers{ + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(272), + Column: int(27), + }, + End: ast.Location{ + Line: int(272), + Column: int(30), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(272), + Column: int(14), + }, + End: ast.Location{ + Line: int(272), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ "obj", "std", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(272), + Column: int(13), + }, + End: ast.Location{ + Line: int(272), + Column: int(31), + }, + }, }, - Target: &ast.Index{ + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(273), + Column: int(67), + }, + End: ast.Location{ + Line: int(273), + Column: int(70), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(273), + Column: int(67), + }, + End: ast.Location{ + Line: int(273), + Column: int(75), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3079, + FreeVars: ast.Identifiers{ + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(273), + Column: int(76), + }, + End: ast.Location{ + Line: int(273), + Column: int(79), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(273), + Column: int(67), + }, + End: ast.Location{ + Line: int(273), + Column: int(80), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.mapWithKey second param must be object, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(273), + Column: int(14), + }, + End: ast.Location{ + Line: int(273), + Column: int(64), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "obj", + "std", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(273), + Column: int(14), + }, + End: ast.Location{ + Line: int(273), + Column: int(80), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(273), + Column: int(7), + }, + End: ast.Location{ + Line: int(273), + Column: int(81), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "$objectFlatMerge", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -39549,81 +42695,524 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "$objectFlatMerge", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(7), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(263), - Column: int(62), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(10), + }, + End: ast.Location{ + Line: int(275), + Column: int(11), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3109, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(14), + }, + End: ast.Location{ + Line: int(275), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3113, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(19), + }, + End: ast.Location{ + Line: int(275), + Column: int(20), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3113, + FreeVars: ast.Identifiers{ + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(22), + }, + End: ast.Location{ + Line: int(275), + Column: int(25), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3113, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(26), + }, + End: ast.Location{ + Line: int(275), + Column: int(27), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3113, + FreeVars: ast.Identifiers{ + "k", + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(22), + }, + End: ast.Location{ + Line: int(275), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3109, + FreeVars: ast.Identifiers{ + "func", + "k", + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(14), + }, + End: ast.Location{ + Line: int(275), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(9), + }, + End: ast.Location{ + Line: int(275), + Column: int(29), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "func", + "k", + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(7), + }, + End: ast.Location{ + Line: int(275), + Column: int(62), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "func", + "k", + "obj", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "func", + "obj", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(39), + }, + End: ast.Location{ + Line: int(275), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(39), + }, + End: ast.Location{ + Line: int(275), + Column: int(55), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3135, + FreeVars: ast.Identifiers{ + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(56), + }, + End: ast.Location{ + Line: int(275), + Column: int(59), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(39), + }, + End: ast.Location{ + Line: int(275), + Column: int(60), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -39632,752 +43221,265 @@ var _StdAst = &ast.DesugaredObject{ "obj", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(7), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(275), + Column: int(62), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "func", - "obj", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(7), - }, - End: ast.Location{ - Line: int(263), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(10), - }, - End: ast.Location{ - Line: int(263), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(14), - }, - End: ast.Location{ - Line: int(263), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2862, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(14), - }, - End: ast.Location{ - Line: int(263), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2862, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(19), - }, - End: ast.Location{ - Line: int(263), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2868, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(22), - }, - End: ast.Location{ - Line: int(263), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2868, - FreeVars: ast.Identifiers{ - "k", - "obj", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(22), - }, - End: ast.Location{ - Line: int(263), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2868, - FreeVars: ast.Identifiers{ - "obj", - }, - }, - Id: "obj", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(26), - }, - End: ast.Location{ - Line: int(263), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2868, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(9), - }, - End: ast.Location{ - Line: int(263), - Column: int(29), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(39), - }, - End: ast.Location{ - Line: int(263), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(39), - }, - End: ast.Location{ - Line: int(263), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2767, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(39), - }, - End: ast.Location{ - Line: int(263), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(56), - }, - End: ast.Location{ - Line: int(263), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2885, - FreeVars: ast.Identifiers{ - "obj", - }, - }, - Id: "obj", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "func", + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(275), + Column: int(7), + }, + End: ast.Location{ + Line: int(275), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "$std", + "func", + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(272), + Column: int(10), + }, + End: ast.Location{ + Line: int(275), + Column: int(62), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p3030, + FreeVars: ast.Identifiers{ + "$std", + "func", + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(270), + Column: int(5), + }, + End: ast.Location{ + Line: int(275), + Column: int(62), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(3), - }, - End: ast.Location{ - Line: int(263), - Column: int(62), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "func", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(265), - Column: int(11), + Line: int(269), + Column: int(14), }, End: ast.Location{ - Line: int(265), - Column: int(15), + Line: int(269), + Column: int(18), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arr", + Name: "obj", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(265), - Column: int(17), - }, - End: ast.Location{ - Line: int(265), + Line: int(269), Column: int(20), }, - File: p1, + End: ast.Location{ + Line: int(269), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(5), - }, - End: ast.Location{ - Line: int(272), - Column: int(89), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(269), + Column: int(3), + }, + End: ast.Location{ + Line: int(275), + Column: int(62), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(8), - }, - End: ast.Location{ - Line: int(266), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(9), - }, - End: ast.Location{ - Line: int(266), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(9), - }, - End: ast.Location{ - Line: int(266), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(9), - }, - End: ast.Location{ - Line: int(266), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(278), + Column: int(9), + }, + End: ast.Location{ + Line: int(278), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -40387,199 +43489,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(278), + Column: int(9), + }, + End: ast.Location{ + Line: int(278), + Column: int(23), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(24), - }, - End: ast.Location{ - Line: int(266), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2906, + Ctx: p3160, FreeVars: ast.Identifiers{ "func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(278), + Column: int(24), + }, + End: ast.Location{ + Line: int(278), + Column: int(28), + }, + }, }, - Id: "func", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(7), - }, - End: ast.Location{ - Line: int(267), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(14), - }, - End: ast.Location{ - Line: int(267), - Column: int(79), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2893, + Ctx: p3156, FreeVars: ast.Identifiers{ "func", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(14), - }, - End: ast.Location{ - Line: int(267), - Column: int(62), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(278), + Column: int(9), + }, + End: ast.Location{ + Line: int(278), + Column: int(29), }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{}, }, - Value: "std.flatMap first param must be function, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(278), + Column: int(8), + }, + End: ast.Location{ + Line: int(278), + Column: int(29), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(65), - }, - End: ast.Location{ - Line: int(267), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(65), - }, - End: ast.Location{ - Line: int(267), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(65), - }, - End: ast.Location{ - Line: int(267), - Column: int(68), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(279), + Column: int(65), + }, + End: ast.Location{ + Line: int(279), + Column: int(68), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -40589,155 +43639,198 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(279), + Column: int(65), + }, + End: ast.Location{ + Line: int(279), + Column: int(73), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(74), - }, - End: ast.Location{ - Line: int(267), - Column: int(78), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2923, + Ctx: p3174, FreeVars: ast.Identifiers{ "func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(279), + Column: int(74), + }, + End: ast.Location{ + Line: int(279), + Column: int(78), + }, + }, }, - Id: "func", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(279), + Column: int(65), + }, + End: ast.Location{ + Line: int(279), + Column: int(79), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.LiteralString{ + Value: "std.flatMap first param must be function, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(279), + Column: int(14), + }, + End: ast.Location{ + Line: int(279), + Column: int(62), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(279), + Column: int(14), + }, + End: ast.Location{ + Line: int(279), + Column: int(79), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(268), - Column: int(10), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), }, - End: ast.Location{ - Line: int(272), - Column: int(89), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p2893, + Ctx: p3156, FreeVars: ast.Identifiers{ - "arr", "func", "std", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(268), - Column: int(13), - }, - End: ast.Location{ - Line: int(268), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(279), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(279), + Column: int(80), }, }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(268), - Column: int(13), - }, - End: ast.Location{ - Line: int(268), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(268), - Column: int(13), - }, - End: ast.Location{ - Line: int(268), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(280), + Column: int(13), + }, + End: ast.Location{ + Line: int(280), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -40747,132 +43840,130 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(280), + Column: int(13), + }, + End: ast.Location{ + Line: int(280), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(268), - Column: int(25), - }, - End: ast.Location{ - Line: int(268), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2937, + Ctx: p3190, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(280), + Column: int(25), + }, + End: ast.Location{ + Line: int(280), + Column: int(28), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(7), - }, - End: ast.Location{ - Line: int(269), - Column: int(82), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2893, + Ctx: p3156, FreeVars: ast.Identifiers{ "arr", - "func", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(7), - }, - End: ast.Location{ - Line: int(269), - Column: int(24), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(280), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(280), + Column: int(29), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(7), - }, - End: ast.Location{ - Line: int(269), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(7), + }, + End: ast.Location{ + Line: int(281), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flattenArrays", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -40882,92 +43973,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "flattenArrays", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(7), + }, + End: ast.Location{ + Line: int(281), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(25), - }, - End: ast.Location{ - Line: int(269), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2949, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(25), - }, - End: ast.Location{ - Line: int(269), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2949, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(25), - }, - End: ast.Location{ - Line: int(269), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(25), + }, + End: ast.Location{ + Line: int(281), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -40977,91 +44047,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3206, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(25), + }, + End: ast.Location{ + Line: int(281), + Column: int(38), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(39), - }, - End: ast.Location{ - Line: int(269), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2958, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(39), - }, - End: ast.Location{ - Line: int(269), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2958, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(39), - }, - End: ast.Location{ - Line: int(269), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(39), + }, + End: ast.Location{ + Line: int(281), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -41071,349 +44121,362 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3214, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(39), + }, + End: ast.Location{ + Line: int(281), + Column: int(49), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(50), - }, - End: ast.Location{ - Line: int(269), - Column: int(53), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2967, + Ctx: p3218, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(50), + }, + End: ast.Location{ + Line: int(281), + Column: int(53), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3214, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(39), + }, + End: ast.Location{ + Line: int(281), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(56), - }, - End: ast.Location{ - Line: int(269), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2958, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(65), - }, - End: ast.Location{ - Line: int(269), - Column: int(66), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(68), - }, - End: ast.Location{ - Line: int(269), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2973, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - }, Target: &ast.Var{ + Id: "func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(68), - }, - End: ast.Location{ - Line: int(269), - Column: int(72), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2973, + Ctx: p3224, FreeVars: ast.Identifiers{ "func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(68), + }, + End: ast.Location{ + Line: int(281), + Column: int(72), + }, + }, }, - Id: "func", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(73), + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3229, + FreeVars: ast.Identifiers{ + "arr", }, - End: ast.Location{ - Line: int(269), - Column: int(79), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(73), + }, + End: ast.Location{ + Line: int(281), + Column: int(76), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3229, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(77), + }, + End: ast.Location{ + Line: int(281), + Column: int(78), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p2979, + Ctx: p3229, FreeVars: ast.Identifiers{ "arr", "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(73), - }, - End: ast.Location{ - Line: int(269), - Column: int(76), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(73), }, - Fodder: ast.Fodder{}, - Ctx: p2979, - FreeVars: ast.Identifiers{ - "arr", + End: ast.Location{ + Line: int(281), + Column: int(79), }, }, - Id: "arr", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(77), - }, - End: ast.Location{ - Line: int(269), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2979, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3224, + FreeVars: ast.Identifiers{ + "arr", + "func", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(68), + }, + End: ast.Location{ + Line: int(281), + Column: int(80), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(65), + }, + End: ast.Location{ + Line: int(281), + Column: int(66), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3214, + FreeVars: ast.Identifiers{ + "arr", + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(56), + }, + End: ast.Location{ + Line: int(281), + Column: int(80), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3206, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(25), + }, + End: ast.Location{ + Line: int(281), + Column: int(81), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(10), - }, - End: ast.Location{ - Line: int(272), - Column: int(89), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2893, + Ctx: p3156, FreeVars: ast.Identifiers{ "arr", "func", "std", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(13), - }, - End: ast.Location{ - Line: int(270), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(281), + Column: int(82), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(13), - }, - End: ast.Location{ - Line: int(270), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(13), - }, - End: ast.Location{ - Line: int(270), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(282), + Column: int(13), + }, + End: ast.Location{ + Line: int(282), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -41423,132 +44486,130 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(282), + Column: int(13), + }, + End: ast.Location{ + Line: int(282), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(26), - }, - End: ast.Location{ - Line: int(270), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2997, + Ctx: p3248, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(282), + Column: int(26), + }, + End: ast.Location{ + Line: int(282), + Column: int(29), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(7), - }, - End: ast.Location{ - Line: int(271), - Column: int(77), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2893, + Ctx: p3156, FreeVars: ast.Identifiers{ "arr", - "func", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(7), - }, - End: ast.Location{ - Line: int(271), - Column: int(15), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(282), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(282), + Column: int(30), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(7), - }, - End: ast.Location{ - Line: int(271), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(7), + }, + End: ast.Location{ + Line: int(283), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -41558,118 +44619,97 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(7), + }, + End: ast.Location{ + Line: int(283), + Column: int(15), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3260, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(271), + Line: int(283), Column: int(16), }, End: ast.Location{ - Line: int(271), + Line: int(283), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3009, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(20), - }, - End: ast.Location{ - Line: int(271), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3009, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(20), - }, - End: ast.Location{ - Line: int(271), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3009, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(20), - }, - End: ast.Location{ - Line: int(271), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(20), + }, + End: ast.Location{ + Line: int(283), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -41679,91 +44719,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3260, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(20), + }, + End: ast.Location{ + Line: int(283), + Column: int(33), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(34), - }, - End: ast.Location{ - Line: int(271), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3019, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(34), - }, - End: ast.Location{ - Line: int(271), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3019, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(34), - }, - End: ast.Location{ - Line: int(271), - Column: int(37), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(34), + }, + End: ast.Location{ + Line: int(283), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -41773,394 +44793,363 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3273, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(34), + }, + End: ast.Location{ + Line: int(283), + Column: int(44), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(45), - }, - End: ast.Location{ - Line: int(271), - Column: int(48), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3028, + Ctx: p3277, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(45), + }, + End: ast.Location{ + Line: int(283), + Column: int(48), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3273, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(34), + }, + End: ast.Location{ + Line: int(283), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(51), - }, - End: ast.Location{ - Line: int(271), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3019, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(60), - }, - End: ast.Location{ - Line: int(271), - Column: int(61), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(63), - }, - End: ast.Location{ - Line: int(271), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3034, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - }, Target: &ast.Var{ + Id: "func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(63), - }, - End: ast.Location{ - Line: int(271), - Column: int(67), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3034, + Ctx: p3283, FreeVars: ast.Identifiers{ "func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(63), + }, + End: ast.Location{ + Line: int(283), + Column: int(67), + }, + }, }, - Id: "func", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(68), + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3288, + FreeVars: ast.Identifiers{ + "arr", }, - End: ast.Location{ - Line: int(271), - Column: int(74), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(68), + }, + End: ast.Location{ + Line: int(283), + Column: int(71), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3288, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(72), + }, + End: ast.Location{ + Line: int(283), + Column: int(73), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3040, + Ctx: p3288, FreeVars: ast.Identifiers{ "arr", "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(68), - }, - End: ast.Location{ - Line: int(271), - Column: int(71), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(68), }, - Fodder: ast.Fodder{}, - Ctx: p3040, - FreeVars: ast.Identifiers{ - "arr", + End: ast.Location{ + Line: int(283), + Column: int(74), }, }, - Id: "arr", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(72), - }, - End: ast.Location{ - Line: int(271), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3040, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3283, + FreeVars: ast.Identifiers{ + "arr", + "func", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(63), + }, + End: ast.Location{ + Line: int(283), + Column: int(75), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(60), + }, + End: ast.Location{ + Line: int(283), + Column: int(61), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3273, + FreeVars: ast.Identifiers{ + "arr", + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(51), + }, + End: ast.Location{ + Line: int(283), + Column: int(75), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3260, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(20), + }, + End: ast.Location{ + Line: int(283), + Column: int(76), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(10), - }, - End: ast.Location{ - Line: int(272), - Column: int(89), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p2893, + Ctx: p3156, FreeVars: ast.Identifiers{ "arr", + "func", "std", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(7), + }, + End: ast.Location{ + Line: int(283), + Column: int(77), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(17), - }, - End: ast.Location{ - Line: int(272), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(17), - }, - End: ast.Location{ - Line: int(272), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{}, - }, - Value: "std.flatMap second param must be array / string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(75), - }, - End: ast.Location{ - Line: int(272), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(75), - }, - End: ast.Location{ - Line: int(272), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p2893, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(75), - }, - End: ast.Location{ - Line: int(272), - Column: int(78), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(284), + Column: int(75), + }, + End: ast.Location{ + Line: int(284), + Column: int(78), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -42170,451 +45159,402 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(284), + Column: int(75), + }, + End: ast.Location{ + Line: int(284), + Column: int(83), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(84), - }, - End: ast.Location{ - Line: int(272), - Column: int(87), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3061, + Ctx: p3308, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(284), + Column: int(84), + }, + End: ast.Location{ + Line: int(284), + Column: int(87), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(284), + Column: int(75), + }, + End: ast.Location{ + Line: int(284), + Column: int(88), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.flatMap second param must be array / string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(284), + Column: int(17), + }, + End: ast.Location{ + Line: int(284), + Column: int(72), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(284), + Column: int(17), + }, + End: ast.Location{ + Line: int(284), + Column: int(88), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(284), + Column: int(10), + }, + End: ast.Location{ + Line: int(284), + Column: int(89), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(282), + Column: int(10), + }, + End: ast.Location{ + Line: int(284), + Column: int(89), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(280), + Column: int(10), + }, + End: ast.Location{ + Line: int(284), + Column: int(89), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p3156, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(278), + Column: int(5), + }, + End: ast.Location{ + Line: int(284), + Column: int(89), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(3), - }, - End: ast.Location{ - Line: int(272), - Column: int(89), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "sep", + Name: "func", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(274), - Column: int(8), - }, - End: ast.Location{ - Line: int(274), + Line: int(277), Column: int(11), }, - File: p1, + End: ast.Location{ + Line: int(277), + Column: int(15), + }, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(274), - Column: int(13), + Line: int(277), + Column: int(17), }, End: ast.Location{ - Line: int(274), - Column: int(16), + Line: int(277), + Column: int(20), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(5), - }, - End: ast.Location{ - Line: int(293), - Column: int(83), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(277), + Column: int(3), + }, + End: ast.Location{ + Line: int(284), + Column: int(89), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "sep", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(11), - }, - End: ast.Location{ - Line: int(285), - Column: int(55), - }, - File: p1, - }, - Fodder: nil, - Ctx: p3073, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "sep", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(15), - }, - End: ast.Location{ - Line: int(275), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(20), - }, - End: ast.Location{ - Line: int(275), - Column: int(21), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "first", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(23), - }, - End: ast.Location{ - Line: int(275), - Column: int(28), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "running", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(30), - }, - End: ast.Location{ - Line: int(275), - Column: int(37), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(276), - Column: int(7), - }, - End: ast.Location{ - Line: int(285), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "aux", - "first", - "i", - "running", - "sep", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(276), - Column: int(10), - }, - End: ast.Location{ - Line: int(276), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(276), - Column: int(10), - }, - End: ast.Location{ - Line: int(276), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(276), - Column: int(15), - }, - End: ast.Location{ - Line: int(276), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(276), - Column: int(15), - }, - End: ast.Location{ - Line: int(276), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(276), - Column: int(15), - }, - End: ast.Location{ - Line: int(276), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(288), + Column: int(15), + }, + End: ast.Location{ + Line: int(288), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -42624,111 +45564,2084 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(288), + Column: int(15), + }, + End: ast.Location{ + Line: int(288), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(276), - Column: int(26), - }, - End: ast.Location{ - Line: int(276), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3093, + Ctx: p3339, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(288), + Column: int(26), + }, + End: ast.Location{ + Line: int(288), + Column: int(29), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(288), + Column: int(15), + }, + End: ast.Location{ + Line: int(288), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(288), + Column: int(10), + }, + End: ast.Location{ + Line: int(288), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(277), - Column: int(9), + Line: int(288), + Column: int(10), }, End: ast.Location{ - Line: int(277), - Column: int(16), + Line: int(288), + Column: int(30), }, - File: p1, }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p3078, + Ctx: p3335, FreeVars: ast.Identifiers{ "running", }, - }, - Id: "running", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(289), + Column: int(9), + }, + End: ast.Location{ + Line: int(289), + Column: int(16), + }, + }, }, }, BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(12), + Cond: &ast.Binary{ + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(290), + Column: int(25), + }, + End: ast.Location{ + Line: int(290), + Column: int(29), + }, + }, }, - End: ast.Location{ - Line: int(285), - Column: int(55), - }, - File: p1, }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(290), + Column: int(15), + }, + End: ast.Location{ + Line: int(290), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(290), + Column: int(19), + }, + End: ast.Location{ + Line: int(290), + Column: int(20), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(290), + Column: int(15), + }, + End: ast.Location{ + Line: int(290), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(290), + Column: int(15), + }, + End: ast.Location{ + Line: int(290), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(9), + }, + End: ast.Location{ + Line: int(291), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3364, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(13), + }, + End: ast.Location{ + Line: int(291), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3364, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(22), + }, + End: ast.Location{ + Line: int(291), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3364, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(18), + }, + End: ast.Location{ + Line: int(291), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3364, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(18), + }, + End: ast.Location{ + Line: int(291), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "first", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3364, + FreeVars: ast.Identifiers{ + "first", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(25), + }, + End: ast.Location{ + Line: int(291), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3364, + FreeVars: ast.Identifiers{ + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(32), + }, + End: ast.Location{ + Line: int(291), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "first", + "i", + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(9), + }, + End: ast.Location{ + Line: int(291), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(35), + }, + End: ast.Location{ + Line: int(292), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(35), + }, + End: ast.Location{ + Line: int(292), + Column: int(43), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "sep", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3386, + FreeVars: ast.Identifiers{ + "sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(44), + }, + End: ast.Location{ + Line: int(292), + Column: int(47), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(35), + }, + End: ast.Location{ + Line: int(292), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(15), + }, + End: ast.Location{ + Line: int(292), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(15), + }, + End: ast.Location{ + Line: int(292), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3398, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(24), + }, + End: ast.Location{ + Line: int(292), + Column: int(27), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3398, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(28), + }, + End: ast.Location{ + Line: int(292), + Column: int(29), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3398, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(24), + }, + End: ast.Location{ + Line: int(292), + Column: int(30), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(15), + }, + End: ast.Location{ + Line: int(292), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "i", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(15), + }, + End: ast.Location{ + Line: int(292), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "expected %s but arr[%d] was %s ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(15), + }, + End: ast.Location{ + Line: int(293), + Column: int(48), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(52), + }, + End: ast.Location{ + Line: int(293), + Column: int(55), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3421, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(52), + }, + End: ast.Location{ + Line: int(293), + Column: int(60), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "sep", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3425, + FreeVars: ast.Identifiers{ + "sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(61), + }, + End: ast.Location{ + Line: int(293), + Column: int(64), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3421, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(52), + }, + End: ast.Location{ + Line: int(293), + Column: int(65), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3421, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(67), + }, + End: ast.Location{ + Line: int(293), + Column: int(68), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(70), + }, + End: ast.Location{ + Line: int(293), + Column: int(73), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3421, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(70), + }, + End: ast.Location{ + Line: int(293), + Column: int(78), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3439, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(79), + }, + End: ast.Location{ + Line: int(293), + Column: int(82), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3439, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(83), + }, + End: ast.Location{ + Line: int(293), + Column: int(84), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3439, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(79), + }, + End: ast.Location{ + Line: int(293), + Column: int(85), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3421, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(70), + }, + End: ast.Location{ + Line: int(293), + Column: int(86), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "i", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(51), + }, + End: ast.Location{ + Line: int(293), + Column: int(87), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "i", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(15), + }, + End: ast.Location{ + Line: int(293), + Column: int(87), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "i", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(9), + }, + End: ast.Location{ + Line: int(293), + Column: int(87), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Var{ + Id: "first", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "first", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(294), + Column: int(15), + }, + End: ast.Location{ + Line: int(294), + Column: int(20), + }, + }, + }, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(9), + }, + End: ast.Location{ + Line: int(295), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(13), + }, + End: ast.Location{ + Line: int(295), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(22), + }, + End: ast.Location{ + Line: int(295), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(18), + }, + End: ast.Location{ + Line: int(295), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(18), + }, + End: ast.Location{ + Line: int(295), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(25), + }, + End: ast.Location{ + Line: int(295), + Column: int(30), + }, + }, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(42), + }, + End: ast.Location{ + Line: int(295), + Column: int(45), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(46), + }, + End: ast.Location{ + Line: int(295), + Column: int(47), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(42), + }, + End: ast.Location{ + Line: int(295), + Column: int(48), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(32), + }, + End: ast.Location{ + Line: int(295), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3458, + FreeVars: ast.Identifiers{ + "arr", + "i", + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(32), + }, + End: ast.Location{ + Line: int(295), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "i", + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(9), + }, + End: ast.Location{ + Line: int(295), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(9), + }, + End: ast.Location{ + Line: int(297), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(13), + }, + End: ast.Location{ + Line: int(297), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(22), + }, + End: ast.Location{ + Line: int(297), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(18), + }, + End: ast.Location{ + Line: int(297), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(18), + }, + End: ast.Location{ + Line: int(297), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(25), + }, + End: ast.Location{ + Line: int(297), + Column: int(30), + }, + }, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(48), + }, + End: ast.Location{ + Line: int(297), + Column: int(51), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(52), + }, + End: ast.Location{ + Line: int(297), + Column: int(53), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(48), + }, + End: ast.Location{ + Line: int(297), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "sep", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(42), + }, + End: ast.Location{ + Line: int(297), + Column: int(45), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(32), + }, + End: ast.Location{ + Line: int(297), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "running", + "sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(32), + }, + End: ast.Location{ + Line: int(297), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3483, + FreeVars: ast.Identifiers{ + "arr", + "i", + "running", + "sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(32), + }, + End: ast.Location{ + Line: int(297), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "i", + "running", + "sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(297), + Column: int(9), + }, + End: ast.Location{ + Line: int(297), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "first", + "i", + "running", + "sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(294), + Column: int(12), + }, + End: ast.Location{ + Line: int(297), + Column: int(55), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "aux", + "first", + "i", + "running", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(292), + Column: int(12), + }, + End: ast.Location{ + Line: int(297), + Column: int(55), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3078, + Ctx: p3335, FreeVars: ast.Identifiers{ "$std", "arr", @@ -42739,1929 +47652,171 @@ var _StdAst = &ast.DesugaredObject{ "sep", "std", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(15), - }, - End: ast.Location{ - Line: int(278), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(290), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(15), - }, - End: ast.Location{ - Line: int(278), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(15), - }, - End: ast.Location{ - Line: int(278), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(19), - }, - End: ast.Location{ - Line: int(278), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(25), - }, - End: ast.Location{ - Line: int(278), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{}, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(9), - }, - End: ast.Location{ - Line: int(279), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(9), - }, - End: ast.Location{ - Line: int(279), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(13), - }, - End: ast.Location{ - Line: int(279), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3117, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(18), - }, - End: ast.Location{ - Line: int(279), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3117, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(18), - }, - End: ast.Location{ - Line: int(279), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3117, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(22), - }, - End: ast.Location{ - Line: int(279), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3117, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(25), - }, - End: ast.Location{ - Line: int(279), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3117, - FreeVars: ast.Identifiers{ - "first", - }, - }, - Id: "first", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(32), - }, - End: ast.Location{ - Line: int(279), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3117, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(12), - }, - End: ast.Location{ - Line: int(285), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "aux", - "first", - "i", - "running", - "sep", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(15), - }, - End: ast.Location{ - Line: int(280), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(15), - }, - End: ast.Location{ - Line: int(280), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(15), - }, - End: ast.Location{ - Line: int(280), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(15), - }, - End: ast.Location{ - Line: int(280), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(24), - }, - End: ast.Location{ - Line: int(280), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3142, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(24), - }, - End: ast.Location{ - Line: int(280), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3142, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(28), - }, - End: ast.Location{ - Line: int(280), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3142, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(35), - }, - End: ast.Location{ - Line: int(280), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(35), - }, - End: ast.Location{ - Line: int(280), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(35), - }, - End: ast.Location{ - Line: int(280), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(44), - }, - End: ast.Location{ - Line: int(280), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3157, - FreeVars: ast.Identifiers{ - "sep", - }, - }, - Id: "sep", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(9), - }, - End: ast.Location{ - Line: int(281), - Column: int(87), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "i", - "sep", - "std", - }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(15), - }, - End: ast.Location{ - Line: int(281), - Column: int(87), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "i", - "sep", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(15), - }, - End: ast.Location{ - Line: int(281), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{}, - }, - Value: "expected %s but arr[%d] was %s ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(51), - }, - End: ast.Location{ - Line: int(281), - Column: int(87), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", - "std", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(52), - }, - End: ast.Location{ - Line: int(281), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3175, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(52), - }, - End: ast.Location{ - Line: int(281), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3175, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(52), - }, - End: ast.Location{ - Line: int(281), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(61), - }, - End: ast.Location{ - Line: int(281), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3184, - FreeVars: ast.Identifiers{ - "sep", - }, - }, - Id: "sep", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(67), - }, - End: ast.Location{ - Line: int(281), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3175, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(70), - }, - End: ast.Location{ - Line: int(281), - Column: int(86), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3175, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(70), - }, - End: ast.Location{ - Line: int(281), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3175, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(70), - }, - End: ast.Location{ - Line: int(281), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(79), - }, - End: ast.Location{ - Line: int(281), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3197, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(79), - }, - End: ast.Location{ - Line: int(281), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3197, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(83), - }, - End: ast.Location{ - Line: int(281), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3197, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(12), - }, - End: ast.Location{ - Line: int(285), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - "sep", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(15), - }, - End: ast.Location{ - Line: int(282), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "first", - }, - }, - Id: "first", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(9), - }, - End: ast.Location{ - Line: int(283), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "running", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(9), - }, - End: ast.Location{ - Line: int(283), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(13), - }, - End: ast.Location{ - Line: int(283), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(18), - }, - End: ast.Location{ - Line: int(283), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(18), - }, - End: ast.Location{ - Line: int(283), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(22), - }, - End: ast.Location{ - Line: int(283), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(25), - }, - End: ast.Location{ - Line: int(283), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(32), - }, - End: ast.Location{ - Line: int(283), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "arr", - "i", - "running", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(32), - }, - End: ast.Location{ - Line: int(283), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(42), - }, - End: ast.Location{ - Line: int(283), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(42), - }, - End: ast.Location{ - Line: int(283), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(46), - }, - End: ast.Location{ - Line: int(283), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3215, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(9), - }, - End: ast.Location{ - Line: int(285), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "running", - "sep", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(9), - }, - End: ast.Location{ - Line: int(285), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3078, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(13), - }, - End: ast.Location{ - Line: int(285), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(18), - }, - End: ast.Location{ - Line: int(285), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(18), - }, - End: ast.Location{ - Line: int(285), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(22), - }, - End: ast.Location{ - Line: int(285), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(25), - }, - End: ast.Location{ - Line: int(285), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(32), - }, - End: ast.Location{ - Line: int(285), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "arr", - "i", - "running", - "sep", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(32), - }, - End: ast.Location{ - Line: int(285), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "running", - "sep", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(32), - }, - End: ast.Location{ - Line: int(285), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(42), - }, - End: ast.Location{ - Line: int(285), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "sep", - }, - }, - Id: "sep", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(48), - }, - End: ast.Location{ - Line: int(285), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(48), - }, - End: ast.Location{ - Line: int(285), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(52), - }, - End: ast.Location{ - Line: int(285), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3241, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + End: ast.Location{ + Line: int(297), + Column: int(55), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3335, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "aux", + "first", + "i", + "running", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(288), + Column: int(7), + }, + End: ast.Location{ + Line: int(297), + Column: int(55), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(287), + Column: int(15), + }, + End: ast.Location{ + Line: int(287), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(287), + Column: int(20), + }, + End: ast.Location{ + Line: int(287), + Column: int(21), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "first", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(287), + Column: int(23), + }, + End: ast.Location{ + Line: int(287), + Column: int(28), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "running", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(287), + Column: int(30), + }, + End: ast.Location{ + Line: int(287), + Column: int(37), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p3516, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(287), + Column: int(11), + }, + End: ast.Location{ + Line: int(297), + Column: int(55), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -44671,129 +47826,45 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(5), - }, - End: ast.Location{ - Line: int(293), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "sep", - "std", - }, - }, Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(8), - }, - End: ast.Location{ - Line: int(286), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(9), - }, - End: ast.Location{ - Line: int(286), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(9), - }, - End: ast.Location{ - Line: int(286), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(9), - }, - End: ast.Location{ - Line: int(286), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(298), + Column: int(9), + }, + End: ast.Location{ + Line: int(298), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -44803,199 +47874,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(298), + Column: int(9), + }, + End: ast.Location{ + Line: int(298), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(21), - }, - End: ast.Location{ - Line: int(286), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3277, + Ctx: p3529, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(298), + Column: int(21), + }, + End: ast.Location{ + Line: int(298), + Column: int(24), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(7), - }, - End: ast.Location{ - Line: int(287), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(13), - }, - End: ast.Location{ - Line: int(287), - Column: int(74), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3069, + Ctx: p3525, FreeVars: ast.Identifiers{ "arr", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(13), - }, - End: ast.Location{ - Line: int(287), - Column: int(58), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(298), + Column: int(9), + }, + End: ast.Location{ + Line: int(298), + Column: int(25), }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{}, }, - Value: "join second parameter should be array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(298), + Column: int(8), + }, + End: ast.Location{ + Line: int(298), + Column: int(25), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(61), - }, - End: ast.Location{ - Line: int(287), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(61), - }, - End: ast.Location{ - Line: int(287), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(61), - }, - End: ast.Location{ - Line: int(287), - Column: int(64), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(299), + Column: int(61), + }, + End: ast.Location{ + Line: int(299), + Column: int(64), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -45005,156 +48024,198 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(299), + Column: int(61), + }, + End: ast.Location{ + Line: int(299), + Column: int(69), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(70), - }, - End: ast.Location{ - Line: int(287), - Column: int(73), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3294, + Ctx: p3543, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(299), + Column: int(70), + }, + End: ast.Location{ + Line: int(299), + Column: int(73), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(10), - }, - End: ast.Location{ - Line: int(293), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "sep", - "std", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(13), - }, - End: ast.Location{ - Line: int(288), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - }, - Target: &ast.Index{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(288), + Line: int(299), + Column: int(61), + }, + End: ast.Location{ + Line: int(299), + Column: int(74), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "join second parameter should be array, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(299), Column: int(13), }, End: ast.Location{ - Line: int(288), - Column: int(25), + Line: int(299), + Column: int(58), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(299), + Column: int(13), + }, + End: ast.Location{ + Line: int(299), + Column: int(74), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(299), + Column: int(7), + }, + End: ast.Location{ + Line: int(299), + Column: int(74), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(13), - }, - End: ast.Location{ - Line: int(288), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(300), + Column: int(13), + }, + End: ast.Location{ + Line: int(300), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -45164,176 +48225,188 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(300), + Column: int(13), + }, + End: ast.Location{ + Line: int(300), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "sep", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(26), - }, - End: ast.Location{ - Line: int(288), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3308, + Ctx: p3559, FreeVars: ast.Identifiers{ "sep", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(300), + Column: int(26), + }, + End: ast.Location{ + Line: int(300), + Column: int(29), + }, + }, }, - Id: "sep", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(289), - Column: int(7), + Line: int(300), + Column: int(13), }, End: ast.Location{ - Line: int(289), - Column: int(28), + Line: int(300), + Column: int(30), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "aux", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(289), - Column: int(7), - }, - End: ast.Location{ - Line: int(289), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p3069, + Ctx: p3525, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(301), + Column: int(7), + }, + End: ast.Location{ + Line: int(301), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(289), - Column: int(11), - }, - End: ast.Location{ - Line: int(289), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3317, + Ctx: p3568, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(301), + Column: int(11), + }, + End: ast.Location{ + Line: int(301), + Column: int(14), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3568, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(289), + Line: int(301), Column: int(16), }, End: ast.Location{ - Line: int(289), + Line: int(301), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3317, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3568, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(289), + Line: int(301), Column: int(19), }, End: ast.Location{ - Line: int(289), + Line: int(301), Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3317, - FreeVars: ast.Identifiers{}, }, Value: true, }, @@ -45341,136 +48414,93 @@ var _StdAst = &ast.DesugaredObject{ }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3568, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(289), + Line: int(301), Column: int(25), }, End: ast.Location{ - Line: int(289), + Line: int(301), Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3317, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(10), - }, - End: ast.Location{ - Line: int(293), - Column: int(83), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3069, + Ctx: p3525, FreeVars: ast.Identifiers{ "arr", "aux", - "sep", - "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(301), + Column: int(7), + }, + End: ast.Location{ + Line: int(301), + Column: int(28), + }, }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(13), - }, - End: ast.Location{ - Line: int(290), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(13), - }, - End: ast.Location{ - Line: int(290), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(13), - }, - End: ast.Location{ - Line: int(290), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(302), + Column: int(13), + }, + End: ast.Location{ + Line: int(302), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -45480,176 +48510,188 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(302), + Column: int(13), + }, + End: ast.Location{ + Line: int(302), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "sep", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(25), - }, - End: ast.Location{ - Line: int(290), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3334, + Ctx: p3583, FreeVars: ast.Identifiers{ "sep", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(302), + Column: int(25), + }, + End: ast.Location{ + Line: int(302), + Column: int(28), + }, + }, }, - Id: "sep", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(291), - Column: int(7), + Line: int(302), + Column: int(13), }, End: ast.Location{ - Line: int(291), - Column: int(28), + Line: int(302), + Column: int(29), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "arr", - "aux", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(7), - }, - End: ast.Location{ - Line: int(291), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p3069, + Ctx: p3525, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(303), + Column: int(7), + }, + End: ast.Location{ + Line: int(303), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(11), - }, - End: ast.Location{ - Line: int(291), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3343, + Ctx: p3592, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(303), + Column: int(11), + }, + End: ast.Location{ + Line: int(303), + Column: int(14), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3592, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(291), + Line: int(303), Column: int(16), }, End: ast.Location{ - Line: int(291), + Line: int(303), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3343, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3592, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(291), + Line: int(303), Column: int(19), }, End: ast.Location{ - Line: int(291), + Line: int(303), Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3343, - FreeVars: ast.Identifiers{}, }, Value: true, }, @@ -45657,186 +48699,93 @@ var _StdAst = &ast.DesugaredObject{ }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3592, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(291), + Line: int(303), Column: int(25), }, End: ast.Location{ - Line: int(291), + Line: int(303), Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3343, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "aux", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(293), + Line: int(303), Column: int(7), }, End: ast.Location{ - Line: int(293), - Column: int(83), + Line: int(303), + Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "sep", - "std", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(13), - }, - End: ast.Location{ - Line: int(293), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(13), - }, - End: ast.Location{ - Line: int(293), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{}, - }, - Value: "join first parameter should be string or array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(70), - }, - End: ast.Location{ - Line: int(293), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(70), - }, - End: ast.Location{ - Line: int(293), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(70), - }, - End: ast.Location{ - Line: int(293), - Column: int(73), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(305), + Column: int(70), + }, + End: ast.Location{ + Line: int(305), + Column: int(73), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -45846,220 +48795,441 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(305), + Column: int(70), + }, + End: ast.Location{ + Line: int(305), + Column: int(78), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "sep", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(79), - }, - End: ast.Location{ - Line: int(293), - Column: int(82), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3364, + Ctx: p3608, FreeVars: ast.Identifiers{ "sep", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(305), + Column: int(79), + }, + End: ast.Location{ + Line: int(305), + Column: int(82), + }, + }, }, - Id: "sep", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(305), + Column: int(70), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "join first parameter should be string or array, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(305), + Column: int(13), + }, + End: ast.Location{ + Line: int(305), + Column: int(67), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(305), + Column: int(13), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(305), + Column: int(7), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(302), + Column: int(10), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(300), + Column: int(10), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(298), + Column: int(5), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p3525, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(287), + Column: int(5), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(274), - Column: int(3), - }, - End: ast.Location{ - Line: int(293), - Column: int(83), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "lines", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arr", + Name: "sep", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(295), - Column: int(9), + Line: int(286), + Column: int(8), }, End: ast.Location{ - Line: int(295), - Column: int(12), + Line: int(286), + Column: int(11), }, - File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(286), + Column: int(13), + }, + End: ast.Location{ + Line: int(286), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(5), - }, - End: ast.Location{ - Line: int(296), - Column: int(31), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(286), + Column: int(3), + }, + End: ast.Location{ + Line: int(305), + Column: int(83), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "lines", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p3371, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(5), - }, - End: ast.Location{ - Line: int(296), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3371, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(5), - }, - End: ast.Location{ - Line: int(296), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(308), + Column: int(5), + }, + End: ast.Location{ + Line: int(308), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -46069,335 +49239,306 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3634, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(308), + Column: int(5), + }, + End: ast.Location{ + Line: int(308), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3638, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(296), + Line: int(308), Column: int(14), }, End: ast.Location{ - Line: int(296), + Line: int(308), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3381, - FreeVars: ast.Identifiers{}, }, - Value: "\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(20), - }, - End: ast.Location{ - Line: int(296), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3381, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(20), - }, - End: ast.Location{ - Line: int(296), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3381, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(26), - }, - End: ast.Location{ - Line: int(296), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3381, - FreeVars: ast.Identifiers{}, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3643, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(296), + Line: int(308), Column: int(27), }, End: ast.Location{ - Line: int(296), + Line: int(308), Column: int(29), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3389, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3638, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(308), + Column: int(26), + }, + End: ast.Location{ + Line: int(308), + Column: int(30), + }, + }, + }, + TrailingComma: false, }, + Left: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3638, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(308), + Column: int(20), + }, + End: ast.Location{ + Line: int(308), + Column: int(23), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3638, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(308), + Column: int(20), + }, + End: ast.Location{ + Line: int(308), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(3), - }, - End: ast.Location{ - Line: int(296), - Column: int(31), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3634, + FreeVars: ast.Identifiers{ + "arr", + "std", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(308), + Column: int(5), + }, + End: ast.Location{ + Line: int(308), + Column: int(31), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + TrailingComma: false, + TailStrict: false, }, - Value: "deepJoin", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(298), - Column: int(12), + Line: int(307), + Column: int(9), }, End: ast.Location{ - Line: int(298), - Column: int(15), + Line: int(307), + Column: int(12), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(5), - }, - End: ast.Location{ - Line: int(304), - Column: int(63), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(307), + Column: int(3), + }, + End: ast.Location{ + Line: int(308), + Column: int(31), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "deepJoin", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(8), - }, - End: ast.Location{ - Line: int(299), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(8), - }, - End: ast.Location{ - Line: int(299), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(8), - }, - End: ast.Location{ - Line: int(299), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(311), + Column: int(8), + }, + End: ast.Location{ + Line: int(311), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -46407,183 +49548,153 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(311), + Column: int(8), + }, + End: ast.Location{ + Line: int(311), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(21), - }, - End: ast.Location{ - Line: int(299), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3407, + Ctx: p3662, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(311), + Column: int(21), + }, + End: ast.Location{ + Line: int(311), + Column: int(24), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(300), - Column: int(7), - }, - End: ast.Location{ - Line: int(300), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(10), - }, - End: ast.Location{ - Line: int(304), - Column: int(63), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3396, + Ctx: p3658, FreeVars: ast.Identifiers{ - "$std", "arr", "std", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(13), - }, - End: ast.Location{ - Line: int(301), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(311), + Column: int(8), }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(311), + Column: int(25), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(13), - }, - End: ast.Location{ - Line: int(301), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "std", - }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), }, + }, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(312), + Column: int(7), + }, + End: ast.Location{ + Line: int(312), + Column: int(10), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(13), - }, - End: ast.Location{ - Line: int(301), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(313), + Column: int(13), + }, + End: ast.Location{ + Line: int(313), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -46593,132 +49704,130 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(313), + Column: int(13), + }, + End: ast.Location{ + Line: int(313), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(25), - }, - End: ast.Location{ - Line: int(301), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3424, + Ctx: p3677, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(313), + Column: int(25), + }, + End: ast.Location{ + Line: int(313), + Column: int(28), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(7), - }, - End: ast.Location{ - Line: int(302), - Column: int(51), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3396, + Ctx: p3658, FreeVars: ast.Identifiers{ - "$std", "arr", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(7), - }, - End: ast.Location{ - Line: int(302), - Column: int(15), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(313), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(313), + Column: int(29), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(7), - }, - End: ast.Location{ - Line: int(302), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(7), + }, + End: ast.Location{ + Line: int(314), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -46728,64 +49837,370 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(7), + }, + End: ast.Location{ + Line: int(314), + Column: int(15), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3689, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(302), + Line: int(314), Column: int(16), }, End: ast.Location{ - Line: int(302), + Line: int(314), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3436, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(20), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(302), - Column: int(50), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(21), + }, + End: ast.Location{ + Line: int(314), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "deepJoin", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3705, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(21), + }, + End: ast.Location{ + Line: int(314), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3709, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(34), + }, + End: ast.Location{ + Line: int(314), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3705, + FreeVars: ast.Identifiers{ + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(21), + }, + End: ast.Location{ + Line: int(314), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3689, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(46), + }, + End: ast.Location{ + Line: int(314), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -46793,376 +50208,288 @@ var _StdAst = &ast.DesugaredObject{ "arr", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(20), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(314), + Column: int(50), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(21), - }, - End: ast.Location{ - Line: int(302), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3452, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(21), - }, - End: ast.Location{ - Line: int(302), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3452, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(21), - }, - End: ast.Location{ - Line: int(302), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "deepJoin", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(34), - }, - End: ast.Location{ - Line: int(302), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3461, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(46), - }, - End: ast.Location{ - Line: int(302), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3436, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(7), - }, - End: ast.Location{ - Line: int(304), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3396, + Fodder: ast.Fodder{}, + Ctx: p3658, FreeVars: ast.Identifiers{ "$std", "arr", "std", }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(13), - }, - End: ast.Location{ - Line: int(304), - Column: int(63), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(7), }, + End: ast.Location{ + Line: int(314), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "Expected string or array, got %s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3658, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(316), + Column: int(13), + }, + End: ast.Location{ + Line: int(316), + Column: int(47), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(316), + Column: int(50), + }, + End: ast.Location{ + Line: int(316), + Column: int(53), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(316), + Column: int(50), + }, + End: ast.Location{ + Line: int(316), + Column: int(58), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3736, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(316), + Column: int(59), + }, + End: ast.Location{ + Line: int(316), + Column: int(62), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(316), + Column: int(50), + }, + End: ast.Location{ + Line: int(316), + Column: int(63), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -47170,606 +50497,248 @@ var _StdAst = &ast.DesugaredObject{ "arr", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(316), + Column: int(13), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(316), + Column: int(63), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(13), - }, - End: ast.Location{ - Line: int(304), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{}, - }, - Value: "Expected string or array, got %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(50), - }, - End: ast.Location{ - Line: int(304), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(50), - }, - End: ast.Location{ - Line: int(304), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3396, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(50), - }, - End: ast.Location{ - Line: int(304), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(59), - }, - End: ast.Location{ - Line: int(304), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3487, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(316), + Column: int(7), + }, + End: ast.Location{ + Line: int(316), + Column: int(63), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(313), + Column: int(10), + }, + End: ast.Location{ + Line: int(316), + Column: int(63), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p3658, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(311), + Column: int(5), + }, + End: ast.Location{ + Line: int(316), + Column: int(63), }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(3), - }, - End: ast.Location{ - Line: int(304), - Column: int(63), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(310), + Column: int(12), + }, + End: ast.Location{ + Line: int(310), + Column: int(15), + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "format", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, - Ctx: p12, + Ctx: p23, FreeVars: ast.Identifiers{ "$std", "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(307), - Column: int(10), - }, - End: ast.Location{ - Line: int(307), - Column: int(13), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "vals", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(307), - Column: int(15), - }, - End: ast.Location{ - Line: int(307), - Column: int(19), - }, - File: p1, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(310), + Column: int(3), + }, + End: ast.Location{ + Line: int(316), + Column: int(63), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "format", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "/////////////////////////////", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Parse the mini-language //", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(1), - Indent: int(4), - Comment: []string{ - "/////////////////////////////", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "vals", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "try_parse_mapping_key", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(11), - }, - End: ast.Location{ - Line: int(328), - Column: int(26), - }, - File: p1, - }, - Fodder: nil, - Ctx: p3502, - FreeVars: ast.Identifiers{ - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(33), - }, - End: ast.Location{ - Line: int(313), - Column: int(36), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(38), - }, - End: ast.Location{ - Line: int(313), - Column: int(39), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(14), - }, - End: ast.Location{ - Line: int(314), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(14), - }, - End: ast.Location{ - Line: int(314), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(18), - }, - End: ast.Location{ - Line: int(314), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(18), - }, - End: ast.Location{ - Line: int(314), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(18), - }, - End: ast.Location{ - Line: int(314), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(18), + }, + End: ast.Location{ + Line: int(326), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -47779,537 +50748,338 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(18), + }, + End: ast.Location{ + Line: int(326), + Column: int(28), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(29), - }, - End: ast.Location{ - Line: int(314), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3521, + Ctx: p3765, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(29), + }, + End: ast.Location{ + Line: int(326), + Column: int(32), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(18), + }, + End: ast.Location{ + Line: int(326), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(14), + }, + End: ast.Location{ + Line: int(326), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(7), - }, - End: ast.Location{ - Line: int(328), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3508, + Fodder: ast.Fodder{}, + Ctx: p3761, FreeVars: ast.Identifiers{ "i", "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(14), + }, + End: ast.Location{ + Line: int(326), + Column: int(33), + }, + }, }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(17), + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3775, + FreeVars: ast.Identifiers{ + "str", }, - End: ast.Location{ - Line: int(315), - Column: int(23), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(327), + Column: int(17), + }, + End: ast.Location{ + Line: int(327), + Column: int(20), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3775, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(327), + Column: int(21), + }, + End: ast.Location{ + Line: int(327), + Column: int(22), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3528, + Ctx: p3775, FreeVars: ast.Identifiers{ "i", "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(17), - }, - End: ast.Location{ - Line: int(315), - Column: int(20), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(327), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p3528, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(327), + Column: int(23), }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(21), - }, - End: ast.Location{ - Line: int(315), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3528, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "c", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(315), + Line: int(327), Column: int(13), }, End: ast.Location{ - Line: int(315), + Line: int(327), Column: int(23), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(7), - }, - End: ast.Location{ - Line: int(328), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "c", - "i", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(10), - }, - End: ast.Location{ - Line: int(316), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(10), - }, - End: ast.Location{ - Line: int(316), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "(", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(316), + Line: int(328), Column: int(15), }, End: ast.Location{ - Line: int(316), + Line: int(328), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{}, }, - Value: "(", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(328), + Column: int(10), + }, + End: ast.Location{ + Line: int(328), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{ + "c", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(317), - Column: int(9), + Line: int(328), + Column: int(10), }, End: ast.Location{ - Line: int(326), - Column: int(32), + Line: int(328), + Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "consume", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(317), - Column: int(15), - }, - End: ast.Location{ - Line: int(325), - Column: int(33), - }, - File: p1, - }, - Fodder: nil, - Ctx: p3547, - FreeVars: ast.Identifiers{ - "consume", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(317), - Column: int(23), - }, - End: ast.Location{ - Line: int(317), - Column: int(26), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(317), - Column: int(28), - }, - End: ast.Location{ - Line: int(317), - Column: int(29), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(317), - Column: int(31), - }, - End: ast.Location{ - Line: int(317), - Column: int(32), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(11), - }, - End: ast.Location{ - Line: int(325), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "consume", - "j", - "std", - "str", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(14), - }, - End: ast.Location{ - Line: int(318), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(14), - }, - End: ast.Location{ - Line: int(318), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(19), - }, - End: ast.Location{ - Line: int(318), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(19), - }, - End: ast.Location{ - Line: int(318), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(19), - }, - End: ast.Location{ - Line: int(318), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(330), + Column: int(19), + }, + End: ast.Location{ + Line: int(330), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -48319,351 +51089,549 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(330), + Column: int(19), + }, + End: ast.Location{ + Line: int(330), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(30), - }, - End: ast.Location{ - Line: int(318), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3567, + Ctx: p3800, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(330), + Column: int(30), + }, + End: ast.Location{ + Line: int(330), + Column: int(33), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(319), - Column: int(13), - }, - End: ast.Location{ - Line: int(319), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3552, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(319), + Line: int(330), Column: int(19), }, End: ast.Location{ - Line: int(319), - Column: int(43), + Line: int(330), + Column: int(34), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{}, }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + TrailingComma: false, + TailStrict: false, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(330), + Column: int(14), + }, + End: ast.Location{ + Line: int(330), + Column: int(15), + }, + }, + }, }, - }, - BranchFalse: &ast.Local{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "j", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(321), - Column: int(13), + Line: int(330), + Column: int(14), }, End: ast.Location{ - Line: int(325), - Column: int(33), + Line: int(330), + Column: int(34), }, - File: p1, }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(331), + Column: int(19), + }, + End: ast.Location{ + Line: int(331), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(12), - Comment: []string{}, }, }, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", + Ctx: p3796, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(331), + Column: int(13), + }, + End: ast.Location{ + Line: int(331), + Column: int(43), + }, }, }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(321), - Column: int(23), + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3813, + FreeVars: ast.Identifiers{ + "str", }, - End: ast.Location{ - Line: int(321), - Column: int(29), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(333), + Column: int(23), + }, + End: ast.Location{ + Line: int(333), + Column: int(26), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3813, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(333), + Column: int(27), + }, + End: ast.Location{ + Line: int(333), + Column: int(28), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3578, + Ctx: p3813, FreeVars: ast.Identifiers{ "j", "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(321), - Column: int(23), - }, - End: ast.Location{ - Line: int(321), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(333), + Column: int(23), }, - Fodder: ast.Fodder{}, - Ctx: p3578, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(333), + Column: int(29), }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(321), - Column: int(27), - }, - End: ast.Location{ - Line: int(321), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3578, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "c", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(321), + Line: int(333), Column: int(19), }, End: ast.Location{ - Line: int(321), + Line: int(333), Column: int(29), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(13), - }, - End: ast.Location{ - Line: int(325), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(16), - }, - End: ast.Location{ - Line: int(322), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(16), - }, - End: ast.Location{ - Line: int(322), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), Right: &ast.LiteralString{ + Value: ")", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(322), + Line: int(334), Column: int(21), }, End: ast.Location{ - Line: int(322), + Line: int(334), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3552, - FreeVars: ast.Identifiers{}, }, - Value: ")", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(334), + Column: int(16), + }, + End: ast.Location{ + Line: int(334), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "c", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(323), - Column: int(15), + Line: int(334), + Column: int(16), }, End: ast.Location{ - Line: int(323), - Column: int(41), + Line: int(334), + Column: int(24), }, - File: p1, }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(15), + }, + End: ast.Location{ + Line: int(335), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3830, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(23), + }, + End: ast.Location{ + Line: int(335), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3830, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(32), + }, + End: ast.Location{ + Line: int(335), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3830, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(28), + }, + End: ast.Location{ + Line: int(335), + Column: int(29), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3830, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(28), + }, + End: ast.Location{ + Line: int(335), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3830, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(39), + }, + End: ast.Location{ + Line: int(335), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3830, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(35), + }, + End: ast.Location{ + Line: int(335), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3830, + FreeVars: ast.Identifiers{ + "c", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(335), + Column: int(35), + }, + End: ast.Location{ + Line: int(335), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3552, + Ctx: p3796, FreeVars: ast.Identifiers{ "c", "consume", @@ -48671,424 +51639,417 @@ var _StdAst = &ast.DesugaredObject{ "str", "v", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(15), - }, - End: ast.Location{ - Line: int(323), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p3552, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(23), - }, - End: ast.Location{ - Line: int(323), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3599, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(28), - }, - End: ast.Location{ - Line: int(323), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3599, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(28), - }, - End: ast.Location{ - Line: int(323), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3599, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(32), - }, - End: ast.Location{ - Line: int(323), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3599, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(35), - }, - End: ast.Location{ - Line: int(323), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3599, - FreeVars: ast.Identifiers{ - "c", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(35), - }, - End: ast.Location{ - Line: int(323), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3599, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(39), - }, - End: ast.Location{ - Line: int(323), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3599, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(325), + Line: int(335), Column: int(15), }, End: ast.Location{ - Line: int(325), - Column: int(33), + Line: int(335), + Column: int(41), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3849, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(337), + Column: int(24), + }, + End: ast.Location{ + Line: int(337), + Column: int(25), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3849, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(337), + Column: int(20), + }, + End: ast.Location{ + Line: int(337), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3849, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(337), + Column: int(20), + }, + End: ast.Location{ + Line: int(337), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(337), + Column: int(17), + }, + End: ast.Location{ + Line: int(337), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3849, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(337), + Column: int(30), + }, + End: ast.Location{ + Line: int(337), + Column: int(31), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(337), + Column: int(27), + }, + End: ast.Location{ + Line: int(337), + Column: int(31), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(14), - Comment: []string{}, }, }, - Ctx: p3552, + Ctx: p3796, FreeVars: ast.Identifiers{ "j", "v", }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(337), + Column: int(15), }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(20), - }, - End: ast.Location{ - Line: int(325), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3619, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(20), - }, - End: ast.Location{ - Line: int(325), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3619, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(24), - }, - End: ast.Location{ - Line: int(325), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3619, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(17), - }, - End: ast.Location{ - Line: int(325), - Column: int(25), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(30), - }, - End: ast.Location{ - Line: int(325), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3619, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(27), - }, - End: ast.Location{ - Line: int(325), - Column: int(31), - }, - File: p1, + End: ast.Location{ + Line: int(337), + Column: int(33), }, }, }, - Locals: ast.LocalBinds{}, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(334), + Column: int(13), + }, + End: ast.Location{ + Line: int(337), + Column: int(33), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(333), + Column: int(13), + }, + End: ast.Location{ + Line: int(337), + Column: int(33), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p3796, + FreeVars: ast.Identifiers{ + "consume", + "j", + "std", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(330), + Column: int(11), + }, + End: ast.Location{ + Line: int(337), + Column: int(33), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(329), + Column: int(23), + }, + End: ast.Location{ + Line: int(329), + Column: int(26), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(329), + Column: int(28), + }, + End: ast.Location{ + Line: int(329), + Column: int(29), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(329), + Column: int(31), + }, + End: ast.Location{ + Line: int(329), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p3867, + FreeVars: ast.Identifiers{ + "consume", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(329), + Column: int(15), + }, + End: ast.Location{ + Line: int(337), + Column: int(33), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "consume", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -49098,644 +52059,3039 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(9), - }, - End: ast.Location{ - Line: int(326), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", - }, - }, Target: &ast.Var{ + Id: "consume", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(9), - }, - End: ast.Location{ - Line: int(326), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p3508, + Ctx: p3761, FreeVars: ast.Identifiers{ "consume", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(338), + Column: int(9), + }, + End: ast.Location{ + Line: int(338), + Column: int(16), + }, + }, }, - Id: "consume", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(17), - }, - End: ast.Location{ - Line: int(326), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3634, + Ctx: p3875, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(338), + Column: int(17), + }, + End: ast.Location{ + Line: int(338), + Column: int(20), + }, + }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(22), - }, - End: ast.Location{ - Line: int(326), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3634, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(22), - }, - End: ast.Location{ - Line: int(326), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3634, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3875, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(326), + Line: int(338), Column: int(26), }, End: ast.Location{ - Line: int(326), + Line: int(338), Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3634, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3875, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(338), + Column: int(22), + }, + End: ast.Location{ + Line: int(338), + Column: int(23), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3875, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(338), + Column: int(22), + }, + End: ast.Location{ + Line: int(338), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3875, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(326), + Line: int(338), Column: int(29), }, End: ast.Location{ - Line: int(326), + Line: int(338), Column: int(31), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3634, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(9), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{ + "consume", + "i", + "str", }, - End: ast.Location{ - Line: int(328), - Column: int(26), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(338), + Column: int(9), + }, + End: ast.Location{ + Line: int(338), + Column: int(32), + }, }, - File: p1, }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p3508, + Ctx: p3761, FreeVars: ast.Identifiers{ "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(329), + Column: int(9), + }, + End: ast.Location{ + Line: int(338), + Column: int(32), + }, }, }, + }, + BranchFalse: &ast.DesugaredObject{ Asserts: ast.Nodes{}, Fields: ast.DesugaredObjectFields{ ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(328), - Column: int(14), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(328), - Column: int(15), + Line: int(0), + Column: int(0), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3649, + Ctx: p3890, FreeVars: ast.Identifiers{ "i", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(340), + Column: int(14), + }, + End: ast.Location{ + Line: int(340), + Column: int(15), + }, + }, }, - Id: "i", }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(328), + Line: int(340), Column: int(11), }, End: ast.Location{ - Line: int(328), + Line: int(340), Column: int(15), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - Value: "v", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, Body: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3890, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(328), + Line: int(340), Column: int(20), }, End: ast.Location{ - Line: int(328), + Line: int(340), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3649, - FreeVars: ast.Identifiers{}, }, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(328), + Line: int(340), Column: int(17), }, End: ast.Location{ - Line: int(328), + Line: int(340), Column: int(24), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, }, Locals: ast.LocalBinds{}, - }, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(7), - }, - End: ast.Location{ - Line: int(328), - Column: int(26), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(36), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, }, - End: ast.Location{ - Line: int(314), - Column: int(60), + Ctx: p3761, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(340), + Column: int(9), + }, + End: ast.Location{ + Line: int(340), + Column: int(26), + }, }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3508, - FreeVars: ast.Identifiers{}, }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_mapping_key", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "try_parse_cflags", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(11), - }, - End: ast.Location{ - Line: int(346), - Column: int(91), - }, - File: p1, - }, - Fodder: nil, - Ctx: p3660, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(28), - }, - End: ast.Location{ - Line: int(330), - Column: int(31), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(33), - }, - End: ast.Location{ - Line: int(330), - Column: int(34), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(7), - }, - End: ast.Location{ - Line: int(346), - Column: int(91), - }, - File: p1, - }, - Fodder: ast.Fodder{ + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p3665, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3761, + FreeVars: ast.Identifiers{ + "c", + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(328), + Column: int(7), + }, + End: ast.Location{ + Line: int(340), + Column: int(26), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p3761, FreeVars: ast.Identifiers{ "i", "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(327), + Column: int(7), + }, + End: ast.Location{ + Line: int(340), + Column: int(26), + }, + }, }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(36), + }, + End: ast.Location{ + Line: int(326), + Column: int(60), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(7), + }, + End: ast.Location{ + Line: int(340), + Column: int(26), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(325), + Column: int(33), + }, + End: ast.Location{ + Line: int(325), + Column: int(36), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(325), + Column: int(38), + }, + End: ast.Location{ + Line: int(325), + Column: int(39), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p3905, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(325), + Column: int(11), + }, + End: ast.Location{ + Line: int(340), + Column: int(26), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "try_parse_mapping_key", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "consume", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(13), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: nil, - Ctx: p3669, - FreeVars: ast.Identifiers{ - "consume", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(21), - }, - End: ast.Location{ - Line: int(331), - Column: int(24), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(26), - }, - End: ast.Location{ - Line: int(331), - Column: int(27), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(29), - }, - End: ast.Location{ - Line: int(331), - Column: int(30), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(20), + }, + End: ast.Location{ + Line: int(344), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(20), + }, + End: ast.Location{ + Line: int(344), + Column: int(30), + }, + }, + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3924, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(31), + }, + End: ast.Location{ + Line: int(344), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: nil, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(20), + }, + End: ast.Location{ + Line: int(344), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(16), + }, + End: ast.Location{ + Line: int(344), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "j", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(16), + }, + End: ast.Location{ + Line: int(344), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3934, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(345), + Column: int(19), + }, + End: ast.Location{ + Line: int(345), + Column: int(22), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3934, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(345), + Column: int(23), + }, + End: ast.Location{ + Line: int(345), + Column: int(24), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3934, + FreeVars: ast.Identifiers{ + "j", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(345), + Column: int(19), + }, + End: ast.Location{ + Line: int(345), + Column: int(25), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "c", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(345), + Column: int(15), + }, + End: ast.Location{ + Line: int(345), + Column: int(25), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "#", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(17), + }, + End: ast.Location{ + Line: int(346), + Column: int(20), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(12), + }, + End: ast.Location{ + Line: int(346), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(12), + }, + End: ast.Location{ + Line: int(346), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(11), + }, + End: ast.Location{ + Line: int(347), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3951, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(19), + }, + End: ast.Location{ + Line: int(347), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3951, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(28), + }, + End: ast.Location{ + Line: int(347), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3951, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(24), + }, + End: ast.Location{ + Line: int(347), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3951, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(24), + }, + End: ast.Location{ + Line: int(347), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3963, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(40), + }, + End: ast.Location{ + Line: int(347), + Column: int(44), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(35), + }, + End: ast.Location{ + Line: int(347), + Column: int(44), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3951, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(33), + }, + End: ast.Location{ + Line: int(347), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3951, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(31), + }, + End: ast.Location{ + Line: int(347), + Column: int(32), + }, + }, + }, + }, + OpFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3951, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(31), + }, + End: ast.Location{ + Line: int(347), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(347), + Column: int(11), + }, + End: ast.Location{ + Line: int(347), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(348), + Column: int(22), + }, + End: ast.Location{ + Line: int(348), + Column: int(25), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(348), + Column: int(17), + }, + End: ast.Location{ + Line: int(348), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(348), + Column: int(17), + }, + End: ast.Location{ + Line: int(348), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(11), + }, + End: ast.Location{ + Line: int(349), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3980, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(19), + }, + End: ast.Location{ + Line: int(349), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3980, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(28), + }, + End: ast.Location{ + Line: int(349), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3980, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(24), + }, + End: ast.Location{ + Line: int(349), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3980, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(24), + }, + End: ast.Location{ + Line: int(349), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "zero", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3992, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(41), + }, + End: ast.Location{ + Line: int(349), + Column: int(45), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(35), + }, + End: ast.Location{ + Line: int(349), + Column: int(45), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3980, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(33), + }, + End: ast.Location{ + Line: int(349), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3980, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(31), + }, + End: ast.Location{ + Line: int(349), + Column: int(32), + }, + }, + }, + }, + OpFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3980, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(31), + }, + End: ast.Location{ + Line: int(349), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(11), + }, + End: ast.Location{ + Line: int(349), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(350), + Column: int(22), + }, + End: ast.Location{ + Line: int(350), + Column: int(25), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(350), + Column: int(17), + }, + End: ast.Location{ + Line: int(350), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(350), + Column: int(17), + }, + End: ast.Location{ + Line: int(350), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(11), + }, + End: ast.Location{ + Line: int(351), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4009, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(19), + }, + End: ast.Location{ + Line: int(351), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4009, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(28), + }, + End: ast.Location{ + Line: int(351), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4009, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(24), + }, + End: ast.Location{ + Line: int(351), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4009, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(24), + }, + End: ast.Location{ + Line: int(351), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "left", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4021, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(41), + }, + End: ast.Location{ + Line: int(351), + Column: int(45), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(35), + }, + End: ast.Location{ + Line: int(351), + Column: int(45), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4009, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(33), + }, + End: ast.Location{ + Line: int(351), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4009, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(31), + }, + End: ast.Location{ + Line: int(351), + Column: int(32), + }, + }, + }, + }, + OpFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4009, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(31), + }, + End: ast.Location{ + Line: int(351), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(351), + Column: int(11), + }, + End: ast.Location{ + Line: int(351), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(352), + Column: int(22), + }, + End: ast.Location{ + Line: int(352), + Column: int(25), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(352), + Column: int(17), + }, + End: ast.Location{ + Line: int(352), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(352), + Column: int(17), + }, + End: ast.Location{ + Line: int(352), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(11), + }, + End: ast.Location{ + Line: int(353), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4038, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(19), + }, + End: ast.Location{ + Line: int(353), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4038, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(28), + }, + End: ast.Location{ + Line: int(353), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4038, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(24), + }, + End: ast.Location{ + Line: int(353), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4038, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(24), + }, + End: ast.Location{ + Line: int(353), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4050, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(42), + }, + End: ast.Location{ + Line: int(353), + Column: int(46), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(35), + }, + End: ast.Location{ + Line: int(353), + Column: int(46), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4038, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(33), + }, + End: ast.Location{ + Line: int(353), + Column: int(48), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4038, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(31), + }, + End: ast.Location{ + Line: int(353), + Column: int(32), + }, + }, + }, + }, + OpFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4038, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(31), + }, + End: ast.Location{ + Line: int(353), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(353), + Column: int(11), + }, + End: ast.Location{ + Line: int(353), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "+", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(354), + Column: int(22), + }, + End: ast.Location{ + Line: int(354), + Column: int(25), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(354), + Column: int(17), + }, + End: ast.Location{ + Line: int(354), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(354), + Column: int(17), + }, + End: ast.Location{ + Line: int(354), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(11), + }, + End: ast.Location{ + Line: int(355), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4067, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(19), + }, + End: ast.Location{ + Line: int(355), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4067, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(28), + }, + End: ast.Location{ + Line: int(355), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4067, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(24), + }, + End: ast.Location{ + Line: int(355), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4067, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(24), + }, + End: ast.Location{ + Line: int(355), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4079, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(41), + }, + End: ast.Location{ + Line: int(355), + Column: int(45), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(35), + }, + End: ast.Location{ + Line: int(355), + Column: int(45), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4067, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(33), + }, + End: ast.Location{ + Line: int(355), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4067, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(31), + }, + End: ast.Location{ + Line: int(355), + Column: int(32), + }, + }, + }, + }, + OpFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4067, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(31), + }, + End: ast.Location{ + Line: int(355), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(355), + Column: int(11), + }, + End: ast.Location{ + Line: int(355), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4088, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(357), + Column: int(16), + }, + End: ast.Location{ + Line: int(357), + Column: int(17), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(357), + Column: int(13), + }, + End: ast.Location{ + Line: int(357), + Column: int(17), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4088, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(357), + Column: int(22), + }, + End: ast.Location{ + Line: int(357), + Column: int(23), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(357), + Column: int(19), + }, + End: ast.Location{ + Line: int(357), + Column: int(23), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "j", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(357), + Column: int(11), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(354), + Column: int(14), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(352), + Column: int(14), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(350), + Column: int(14), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(348), + Column: int(14), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(9), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(345), + Column: int(9), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(38), + }, + End: ast.Location{ + Line: int(344), + Column: int(62), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(344), + Column: int(9), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -49745,2452 +55101,107 @@ var _StdAst = &ast.DesugaredObject{ "str", "v", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(16), - }, - End: ast.Location{ - Line: int(332), - Column: int(35), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(16), - }, - End: ast.Location{ - Line: int(332), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(20), - }, - End: ast.Location{ - Line: int(332), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(20), - }, - End: ast.Location{ - Line: int(332), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(20), - }, - End: ast.Location{ - Line: int(332), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(31), - }, - End: ast.Location{ - Line: int(332), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3688, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(9), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(19), - }, - End: ast.Location{ - Line: int(333), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3695, - FreeVars: ast.Identifiers{ - "j", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(19), - }, - End: ast.Location{ - Line: int(333), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3695, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(23), - }, - End: ast.Location{ - Line: int(333), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3695, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(15), - }, - End: ast.Location{ - Line: int(333), - Column: int(25), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(9), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(12), - }, - End: ast.Location{ - Line: int(334), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(12), - }, - End: ast.Location{ - Line: int(334), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(17), - }, - End: ast.Location{ - Line: int(334), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{}, - }, - Value: "#", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(11), - }, - End: ast.Location{ - Line: int(335), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(11), - }, - End: ast.Location{ - Line: int(335), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(19), - }, - End: ast.Location{ - Line: int(335), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3716, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(24), - }, - End: ast.Location{ - Line: int(335), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3716, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(24), - }, - End: ast.Location{ - Line: int(335), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3716, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(28), - }, - End: ast.Location{ - Line: int(335), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3716, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(31), - }, - End: ast.Location{ - Line: int(335), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3716, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(31), - }, - End: ast.Location{ - Line: int(335), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3716, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: nil, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(33), - }, - End: ast.Location{ - Line: int(335), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3716, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(40), - }, - End: ast.Location{ - Line: int(335), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3731, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(35), - }, - End: ast.Location{ - Line: int(335), - Column: int(44), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(336), - Column: int(14), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(336), - Column: int(17), - }, - End: ast.Location{ - Line: int(336), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(336), - Column: int(17), - }, - End: ast.Location{ - Line: int(336), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(336), - Column: int(22), - }, - End: ast.Location{ - Line: int(336), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(11), - }, - End: ast.Location{ - Line: int(337), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(11), - }, - End: ast.Location{ - Line: int(337), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(19), - }, - End: ast.Location{ - Line: int(337), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3747, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(24), - }, - End: ast.Location{ - Line: int(337), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3747, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(24), - }, - End: ast.Location{ - Line: int(337), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3747, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(28), - }, - End: ast.Location{ - Line: int(337), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3747, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(31), - }, - End: ast.Location{ - Line: int(337), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3747, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(31), - }, - End: ast.Location{ - Line: int(337), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3747, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: nil, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(33), - }, - End: ast.Location{ - Line: int(337), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3747, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "zero", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(41), - }, - End: ast.Location{ - Line: int(337), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3762, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(35), - }, - End: ast.Location{ - Line: int(337), - Column: int(45), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(14), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(17), - }, - End: ast.Location{ - Line: int(338), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(17), - }, - End: ast.Location{ - Line: int(338), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(22), - }, - End: ast.Location{ - Line: int(338), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(11), - }, - End: ast.Location{ - Line: int(339), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(11), - }, - End: ast.Location{ - Line: int(339), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(19), - }, - End: ast.Location{ - Line: int(339), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3778, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(24), - }, - End: ast.Location{ - Line: int(339), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3778, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(24), - }, - End: ast.Location{ - Line: int(339), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3778, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(28), - }, - End: ast.Location{ - Line: int(339), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3778, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(31), - }, - End: ast.Location{ - Line: int(339), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3778, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(31), - }, - End: ast.Location{ - Line: int(339), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3778, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: nil, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(33), - }, - End: ast.Location{ - Line: int(339), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3778, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "left", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(41), - }, - End: ast.Location{ - Line: int(339), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3793, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(35), - }, - End: ast.Location{ - Line: int(339), - Column: int(45), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(14), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(17), - }, - End: ast.Location{ - Line: int(340), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(17), - }, - End: ast.Location{ - Line: int(340), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(22), - }, - End: ast.Location{ - Line: int(340), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(11), - }, - End: ast.Location{ - Line: int(341), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(11), - }, - End: ast.Location{ - Line: int(341), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(19), - }, - End: ast.Location{ - Line: int(341), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3809, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(24), - }, - End: ast.Location{ - Line: int(341), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3809, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(24), - }, - End: ast.Location{ - Line: int(341), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3809, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(28), - }, - End: ast.Location{ - Line: int(341), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3809, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(31), - }, - End: ast.Location{ - Line: int(341), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3809, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(31), - }, - End: ast.Location{ - Line: int(341), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3809, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: nil, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(33), - }, - End: ast.Location{ - Line: int(341), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3809, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(42), - }, - End: ast.Location{ - Line: int(341), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3824, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(35), - }, - End: ast.Location{ - Line: int(341), - Column: int(46), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(14), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(17), - }, - End: ast.Location{ - Line: int(342), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(17), - }, - End: ast.Location{ - Line: int(342), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(22), - }, - End: ast.Location{ - Line: int(342), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{}, - }, - Value: "+", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(11), - }, - End: ast.Location{ - Line: int(343), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(11), - }, - End: ast.Location{ - Line: int(343), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(19), - }, - End: ast.Location{ - Line: int(343), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3840, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(24), - }, - End: ast.Location{ - Line: int(343), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3840, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(24), - }, - End: ast.Location{ - Line: int(343), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3840, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(28), - }, - End: ast.Location{ - Line: int(343), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3840, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(31), - }, - End: ast.Location{ - Line: int(343), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3840, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(31), - }, - End: ast.Location{ - Line: int(343), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3840, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: nil, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(33), - }, - End: ast.Location{ - Line: int(343), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3840, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "plus", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(41), - }, - End: ast.Location{ - Line: int(343), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3855, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(35), - }, - End: ast.Location{ - Line: int(343), - Column: int(45), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(11), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3675, - FreeVars: ast.Identifiers{ - "j", - "v", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(16), - }, - End: ast.Location{ - Line: int(345), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3863, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(13), - }, - End: ast.Location{ - Line: int(345), - Column: int(17), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(22), - }, - End: ast.Location{ - Line: int(345), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3863, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(19), - }, - End: ast.Location{ - Line: int(345), - Column: int(23), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - }, - }, - }, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(9), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(332), - Column: int(38), - }, - End: ast.Location{ - Line: int(332), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3675, - FreeVars: ast.Identifiers{}, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(343), + Column: int(21), + }, + End: ast.Location{ + Line: int(343), + Column: int(24), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(343), + Column: int(26), + }, + End: ast.Location{ + Line: int(343), + Column: int(27), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(343), + Column: int(29), + }, + End: ast.Location{ + Line: int(343), + Column: int(30), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p4112, + FreeVars: ast.Identifiers{ + "consume", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(343), + Column: int(13), + }, + End: ast.Location{ + Line: int(357), + Column: int(25), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "consume", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -52200,140 +55211,107 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(7), - }, - End: ast.Location{ - Line: int(346), - Column: int(91), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3665, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", - }, - }, Target: &ast.Var{ + Id: "consume", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(7), - }, - End: ast.Location{ - Line: int(346), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p3665, + Ctx: p4117, FreeVars: ast.Identifiers{ "consume", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(358), + Column: int(7), + }, + End: ast.Location{ + Line: int(358), + Column: int(14), + }, + }, }, - Id: "consume", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(15), - }, - End: ast.Location{ - Line: int(346), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3877, + Ctx: p4121, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(358), + Column: int(15), + }, + End: ast.Location{ + Line: int(358), + Column: int(18), + }, + }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "i", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(20), - }, - End: ast.Location{ - Line: int(346), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3877, + Ctx: p4121, FreeVars: ast.Identifiers{ "i", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(358), + Column: int(20), + }, + End: ast.Location{ + Line: int(358), + Column: int(21), + }, + }, }, - Id: "i", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(23), - }, - End: ast.Location{ - Line: int(346), - Column: int(90), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3877, - FreeVars: ast.Identifiers{}, - }, Asserts: ast.Nodes{}, Fields: ast.DesugaredObjectFields{ ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -52343,56 +55321,56 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "alt", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4129, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(30), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(35), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3885, - FreeVars: ast.Identifiers{}, }, Value: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(25), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(35), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "zero", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -52402,56 +55380,56 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "zero", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4129, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(43), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(48), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3885, - FreeVars: ast.Identifiers{}, }, Value: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(37), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(48), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "left", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -52461,56 +55439,56 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "left", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4129, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(56), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(61), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3885, - FreeVars: ast.Identifiers{}, }, Value: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(50), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(61), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -52520,128 +55498,251 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "blank", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4129, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(70), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(75), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3885, - FreeVars: ast.Identifiers{}, }, Value: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(63), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(75), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - Value: "plus", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4129, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(83), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(88), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p3885, - FreeVars: ast.Identifiers{}, }, Value: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(346), + Line: int(358), Column: int(77), }, End: ast.Location{ - Line: int(346), + Line: int(358), Column: int(88), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, }, Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4121, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(358), + Column: int(23), + }, + End: ast.Location{ + Line: int(358), + Column: int(90), + }, + }, + }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4117, + FreeVars: ast.Identifiers{ + "consume", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(358), + Column: int(7), + }, + End: ast.Location{ + Line: int(358), + Column: int(91), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p4117, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(343), + Column: int(7), + }, + End: ast.Location{ + Line: int(358), + Column: int(91), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(342), + Column: int(28), + }, + End: ast.Location{ + Line: int(342), + Column: int(31), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(342), + Column: int(33), + }, + End: ast.Location{ + Line: int(342), + Column: int(34), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p4142, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(342), + Column: int(11), + }, + End: ast.Location{ + Line: int(358), + Column: int(91), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "try_parse_cflags", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -52651,274 +55752,169 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_mapping_key", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "try_parse_field_width", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(11), - }, - End: ast.Location{ - Line: int(377), - Column: int(27), - }, - File: p1, - }, - Fodder: nil, - Ctx: p3899, - FreeVars: ast.Identifiers{ - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(33), - }, - End: ast.Location{ - Line: int(348), - Column: int(36), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(38), - }, - End: ast.Location{ - Line: int(348), - Column: int(39), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(7), - }, - End: ast.Location{ - Line: int(377), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(10), - }, - End: ast.Location{ - Line: int(349), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(10), - }, - End: ast.Location{ - Line: int(349), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ + Right: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "*", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(349), - Column: int(10), + Line: int(361), + Column: int(43), }, End: ast.Location{ - Line: int(349), - Column: int(11), + Line: int(361), + Column: int(46), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "i", }, }, - Id: "i", + Kind: ast.LiteralStringKind(1), }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(14), - }, - End: ast.Location{ - Line: int(349), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ + Left: &ast.Index{ + Target: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(349), - Column: int(14), + Line: int(361), + Column: int(33), }, End: ast.Location{ - Line: int(349), - Column: int(24), + Line: int(361), + Column: int(36), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(14), - }, - End: ast.Location{ - Line: int(349), - Column: int(17), - }, - File: p1, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(37), }, + End: ast.Location{ + Line: int(361), + Column: int(38), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(33), + }, + End: ast.Location{ + Line: int(361), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(33), + }, + End: ast.Location{ + Line: int(361), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(14), + }, + End: ast.Location{ + Line: int(361), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -52928,514 +55924,4556 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(14), + }, + End: ast.Location{ + Line: int(361), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(25), - }, - End: ast.Location{ - Line: int(349), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3921, + Ctx: p4168, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(25), + }, + End: ast.Location{ + Line: int(361), + Column: int(28), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(33), - }, - End: ast.Location{ - Line: int(349), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Left: &ast.Index{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(33), - }, - End: ast.Location{ - Line: int(349), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3904, + Ctx: p4151, FreeVars: ast.Identifiers{ - "i", + "std", "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(33), - }, - End: ast.Location{ - Line: int(349), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(37), - }, - End: ast.Location{ - Line: int(349), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(349), - Column: int(43), + Line: int(361), + Column: int(14), }, End: ast.Location{ - Line: int(349), - Column: int(46), + Line: int(361), + Column: int(29), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{}, - }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(9), - }, - End: ast.Location{ - Line: int(350), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(14), - }, - End: ast.Location{ - Line: int(350), - Column: int(19), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(10), }, - Fodder: ast.Fodder{}, - Ctx: p3938, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(361), + Column: int(11), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(14), - }, - End: ast.Location{ - Line: int(350), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3938, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(18), - }, - End: ast.Location{ - Line: int(350), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3938, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, }, - PlusSuper: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(350), - Column: int(11), + Line: int(361), + Column: int(10), }, End: ast.Location{ - Line: int(350), - Column: int(19), + Line: int(361), + Column: int(29), }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(24), - }, - End: ast.Location{ - Line: int(350), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3938, - FreeVars: ast.Identifiers{}, - }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(21), - }, - End: ast.Location{ - Line: int(350), - Column: int(27), - }, - File: p1, }, }, + Op: ast.BinaryOp(9), }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(9), - }, - End: ast.Location{ - Line: int(377), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p3904, + Fodder: ast.Fodder{}, + Ctx: p4151, FreeVars: ast.Identifiers{ "i", "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(10), + }, + End: ast.Location{ + Line: int(361), + Column: int(46), + }, + }, }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4180, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(362), + Column: int(18), + }, + End: ast.Location{ + Line: int(362), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4180, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(362), + Column: int(14), + }, + End: ast.Location{ + Line: int(362), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4180, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(362), + Column: int(14), + }, + End: ast.Location{ + Line: int(362), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(362), + Column: int(11), + }, + End: ast.Location{ + Line: int(362), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "*", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4180, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(362), + Column: int(24), + }, + End: ast.Location{ + Line: int(362), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(362), + Column: int(21), + }, + End: ast.Location{ + Line: int(362), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(362), + Column: int(9), + }, + End: ast.Location{ + Line: int(362), + Column: int(29), + }, + }, + }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "consume", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(15), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: nil, - Ctx: p3951, - FreeVars: ast.Identifiers{ - "consume", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(23), - }, - End: ast.Location{ - Line: int(352), - Column: int(26), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(28), - }, - End: ast.Location{ - Line: int(352), - Column: int(29), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(31), - }, - End: ast.Location{ - Line: int(352), - Column: int(32), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(22), + }, + End: ast.Location{ + Line: int(365), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(22), + }, + End: ast.Location{ + Line: int(365), + Column: int(32), + }, + }, + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4202, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(33), + }, + End: ast.Location{ + Line: int(365), + Column: int(36), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: nil, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(22), + }, + End: ast.Location{ + Line: int(365), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(18), + }, + End: ast.Location{ + Line: int(365), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "j", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(18), + }, + End: ast.Location{ + Line: int(365), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4212, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(366), + Column: int(21), + }, + End: ast.Location{ + Line: int(366), + Column: int(24), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4212, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(366), + Column: int(25), + }, + End: ast.Location{ + Line: int(366), + Column: int(26), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4212, + FreeVars: ast.Identifiers{ + "j", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(366), + Column: int(21), + }, + End: ast.Location{ + Line: int(366), + Column: int(27), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "c", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(366), + Column: int(17), + }, + End: ast.Location{ + Line: int(366), + Column: int(27), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(367), + Column: int(19), + }, + End: ast.Location{ + Line: int(367), + Column: int(22), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(367), + Column: int(14), + }, + End: ast.Location{ + Line: int(367), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(367), + Column: int(14), + }, + End: ast.Location{ + Line: int(367), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(13), + }, + End: ast.Location{ + Line: int(368), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(21), + }, + End: ast.Location{ + Line: int(368), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(30), + }, + End: ast.Location{ + Line: int(368), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(26), + }, + End: ast.Location{ + Line: int(368), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(26), + }, + End: ast.Location{ + Line: int(368), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(42), + }, + End: ast.Location{ + Line: int(368), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(37), + }, + End: ast.Location{ + Line: int(368), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(33), + }, + End: ast.Location{ + Line: int(368), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(33), + }, + End: ast.Location{ + Line: int(368), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4229, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(33), + }, + End: ast.Location{ + Line: int(368), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(368), + Column: int(13), + }, + End: ast.Location{ + Line: int(368), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "1", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(369), + Column: int(24), + }, + End: ast.Location{ + Line: int(369), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(369), + Column: int(19), + }, + End: ast.Location{ + Line: int(369), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(369), + Column: int(19), + }, + End: ast.Location{ + Line: int(369), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(13), + }, + End: ast.Location{ + Line: int(370), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(21), + }, + End: ast.Location{ + Line: int(370), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(30), + }, + End: ast.Location{ + Line: int(370), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(26), + }, + End: ast.Location{ + Line: int(370), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(26), + }, + End: ast.Location{ + Line: int(370), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(42), + }, + End: ast.Location{ + Line: int(370), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(37), + }, + End: ast.Location{ + Line: int(370), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(33), + }, + End: ast.Location{ + Line: int(370), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(33), + }, + End: ast.Location{ + Line: int(370), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4257, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(33), + }, + End: ast.Location{ + Line: int(370), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(13), + }, + End: ast.Location{ + Line: int(370), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "2", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(371), + Column: int(24), + }, + End: ast.Location{ + Line: int(371), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(371), + Column: int(19), + }, + End: ast.Location{ + Line: int(371), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(371), + Column: int(19), + }, + End: ast.Location{ + Line: int(371), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(13), + }, + End: ast.Location{ + Line: int(372), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(21), + }, + End: ast.Location{ + Line: int(372), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(30), + }, + End: ast.Location{ + Line: int(372), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(26), + }, + End: ast.Location{ + Line: int(372), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(26), + }, + End: ast.Location{ + Line: int(372), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(42), + }, + End: ast.Location{ + Line: int(372), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(37), + }, + End: ast.Location{ + Line: int(372), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(33), + }, + End: ast.Location{ + Line: int(372), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(33), + }, + End: ast.Location{ + Line: int(372), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4285, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(33), + }, + End: ast.Location{ + Line: int(372), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(13), + }, + End: ast.Location{ + Line: int(372), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "3", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(373), + Column: int(24), + }, + End: ast.Location{ + Line: int(373), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(373), + Column: int(19), + }, + End: ast.Location{ + Line: int(373), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(373), + Column: int(19), + }, + End: ast.Location{ + Line: int(373), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(13), + }, + End: ast.Location{ + Line: int(374), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(21), + }, + End: ast.Location{ + Line: int(374), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(30), + }, + End: ast.Location{ + Line: int(374), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(26), + }, + End: ast.Location{ + Line: int(374), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(26), + }, + End: ast.Location{ + Line: int(374), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(42), + }, + End: ast.Location{ + Line: int(374), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(37), + }, + End: ast.Location{ + Line: int(374), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(33), + }, + End: ast.Location{ + Line: int(374), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(33), + }, + End: ast.Location{ + Line: int(374), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4313, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(33), + }, + End: ast.Location{ + Line: int(374), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(374), + Column: int(13), + }, + End: ast.Location{ + Line: int(374), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "4", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(375), + Column: int(24), + }, + End: ast.Location{ + Line: int(375), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(375), + Column: int(19), + }, + End: ast.Location{ + Line: int(375), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(375), + Column: int(19), + }, + End: ast.Location{ + Line: int(375), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(13), + }, + End: ast.Location{ + Line: int(376), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(21), + }, + End: ast.Location{ + Line: int(376), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(30), + }, + End: ast.Location{ + Line: int(376), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(26), + }, + End: ast.Location{ + Line: int(376), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(26), + }, + End: ast.Location{ + Line: int(376), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(42), + }, + End: ast.Location{ + Line: int(376), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(37), + }, + End: ast.Location{ + Line: int(376), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(33), + }, + End: ast.Location{ + Line: int(376), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(33), + }, + End: ast.Location{ + Line: int(376), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4341, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(33), + }, + End: ast.Location{ + Line: int(376), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(376), + Column: int(13), + }, + End: ast.Location{ + Line: int(376), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "5", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(377), + Column: int(24), + }, + End: ast.Location{ + Line: int(377), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(377), + Column: int(19), + }, + End: ast.Location{ + Line: int(377), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(377), + Column: int(19), + }, + End: ast.Location{ + Line: int(377), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(13), + }, + End: ast.Location{ + Line: int(378), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(21), + }, + End: ast.Location{ + Line: int(378), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(30), + }, + End: ast.Location{ + Line: int(378), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(26), + }, + End: ast.Location{ + Line: int(378), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(26), + }, + End: ast.Location{ + Line: int(378), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "5", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(42), + }, + End: ast.Location{ + Line: int(378), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(37), + }, + End: ast.Location{ + Line: int(378), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(33), + }, + End: ast.Location{ + Line: int(378), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(33), + }, + End: ast.Location{ + Line: int(378), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4369, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(33), + }, + End: ast.Location{ + Line: int(378), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(378), + Column: int(13), + }, + End: ast.Location{ + Line: int(378), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "6", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(379), + Column: int(24), + }, + End: ast.Location{ + Line: int(379), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(379), + Column: int(19), + }, + End: ast.Location{ + Line: int(379), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(379), + Column: int(19), + }, + End: ast.Location{ + Line: int(379), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(13), + }, + End: ast.Location{ + Line: int(380), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(21), + }, + End: ast.Location{ + Line: int(380), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(30), + }, + End: ast.Location{ + Line: int(380), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(26), + }, + End: ast.Location{ + Line: int(380), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(26), + }, + End: ast.Location{ + Line: int(380), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "6", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(42), + }, + End: ast.Location{ + Line: int(380), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(37), + }, + End: ast.Location{ + Line: int(380), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(33), + }, + End: ast.Location{ + Line: int(380), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(33), + }, + End: ast.Location{ + Line: int(380), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4397, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(33), + }, + End: ast.Location{ + Line: int(380), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(13), + }, + End: ast.Location{ + Line: int(380), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "7", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(381), + Column: int(24), + }, + End: ast.Location{ + Line: int(381), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(381), + Column: int(19), + }, + End: ast.Location{ + Line: int(381), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(381), + Column: int(19), + }, + End: ast.Location{ + Line: int(381), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(13), + }, + End: ast.Location{ + Line: int(382), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(21), + }, + End: ast.Location{ + Line: int(382), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(30), + }, + End: ast.Location{ + Line: int(382), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(26), + }, + End: ast.Location{ + Line: int(382), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(26), + }, + End: ast.Location{ + Line: int(382), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "7", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(42), + }, + End: ast.Location{ + Line: int(382), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(37), + }, + End: ast.Location{ + Line: int(382), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(33), + }, + End: ast.Location{ + Line: int(382), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(33), + }, + End: ast.Location{ + Line: int(382), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4425, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(33), + }, + End: ast.Location{ + Line: int(382), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(382), + Column: int(13), + }, + End: ast.Location{ + Line: int(382), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "8", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(383), + Column: int(24), + }, + End: ast.Location{ + Line: int(383), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(383), + Column: int(19), + }, + End: ast.Location{ + Line: int(383), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(383), + Column: int(19), + }, + End: ast.Location{ + Line: int(383), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(13), + }, + End: ast.Location{ + Line: int(384), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(21), + }, + End: ast.Location{ + Line: int(384), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(30), + }, + End: ast.Location{ + Line: int(384), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(26), + }, + End: ast.Location{ + Line: int(384), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(26), + }, + End: ast.Location{ + Line: int(384), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "8", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(42), + }, + End: ast.Location{ + Line: int(384), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(37), + }, + End: ast.Location{ + Line: int(384), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(33), + }, + End: ast.Location{ + Line: int(384), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(33), + }, + End: ast.Location{ + Line: int(384), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4453, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(33), + }, + End: ast.Location{ + Line: int(384), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(384), + Column: int(13), + }, + End: ast.Location{ + Line: int(384), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "9", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(385), + Column: int(24), + }, + End: ast.Location{ + Line: int(385), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(385), + Column: int(19), + }, + End: ast.Location{ + Line: int(385), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(385), + Column: int(19), + }, + End: ast.Location{ + Line: int(385), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "consume", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(13), + }, + End: ast.Location{ + Line: int(386), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(21), + }, + End: ast.Location{ + Line: int(386), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(30), + }, + End: ast.Location{ + Line: int(386), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(26), + }, + End: ast.Location{ + Line: int(386), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(26), + }, + End: ast.Location{ + Line: int(386), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "9", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(42), + }, + End: ast.Location{ + Line: int(386), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(37), + }, + End: ast.Location{ + Line: int(386), + Column: int(39), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(33), + }, + End: ast.Location{ + Line: int(386), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(33), + }, + End: ast.Location{ + Line: int(386), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4481, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(33), + }, + End: ast.Location{ + Line: int(386), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(386), + Column: int(13), + }, + End: ast.Location{ + Line: int(386), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4501, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(388), + Column: int(18), + }, + End: ast.Location{ + Line: int(388), + Column: int(19), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(388), + Column: int(15), + }, + End: ast.Location{ + Line: int(388), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4501, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(388), + Column: int(24), + }, + End: ast.Location{ + Line: int(388), + Column: int(25), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(388), + Column: int(21), + }, + End: ast.Location{ + Line: int(388), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "j", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(388), + Column: int(13), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(385), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(383), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(381), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(379), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(377), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(375), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(373), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(371), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(369), + Column: int(16), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(367), + Column: int(11), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p4198, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(366), + Column: int(11), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(40), + }, + End: ast.Location{ + Line: int(365), + Column: int(64), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(365), + Column: int(11), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -53445,4202 +60483,107 @@ var _StdAst = &ast.DesugaredObject{ "str", "v", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(18), - }, - End: ast.Location{ - Line: int(353), - Column: int(37), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(18), - }, - End: ast.Location{ - Line: int(353), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(22), - }, - End: ast.Location{ - Line: int(353), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(22), - }, - End: ast.Location{ - Line: int(353), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(22), - }, - End: ast.Location{ - Line: int(353), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(33), - }, - End: ast.Location{ - Line: int(353), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3970, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(11), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(21), - }, - End: ast.Location{ - Line: int(354), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3977, - FreeVars: ast.Identifiers{ - "j", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(21), - }, - End: ast.Location{ - Line: int(354), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3977, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(25), - }, - End: ast.Location{ - Line: int(354), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3977, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(17), - }, - End: ast.Location{ - Line: int(354), - Column: int(27), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(11), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(14), - }, - End: ast.Location{ - Line: int(355), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(14), - }, - End: ast.Location{ - Line: int(355), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(19), - }, - End: ast.Location{ - Line: int(355), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(13), - }, - End: ast.Location{ - Line: int(356), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(13), - }, - End: ast.Location{ - Line: int(356), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(21), - }, - End: ast.Location{ - Line: int(356), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(26), - }, - End: ast.Location{ - Line: int(356), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(26), - }, - End: ast.Location{ - Line: int(356), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(30), - }, - End: ast.Location{ - Line: int(356), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(33), - }, - End: ast.Location{ - Line: int(356), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(33), - }, - End: ast.Location{ - Line: int(356), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(33), - }, - End: ast.Location{ - Line: int(356), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(37), - }, - End: ast.Location{ - Line: int(356), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(42), - }, - End: ast.Location{ - Line: int(356), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3998, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(19), - }, - End: ast.Location{ - Line: int(357), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(19), - }, - End: ast.Location{ - Line: int(357), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(24), - }, - End: ast.Location{ - Line: int(357), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "1", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(13), - }, - End: ast.Location{ - Line: int(358), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(13), - }, - End: ast.Location{ - Line: int(358), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(21), - }, - End: ast.Location{ - Line: int(358), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(26), - }, - End: ast.Location{ - Line: int(358), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(26), - }, - End: ast.Location{ - Line: int(358), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(30), - }, - End: ast.Location{ - Line: int(358), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(33), - }, - End: ast.Location{ - Line: int(358), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(33), - }, - End: ast.Location{ - Line: int(358), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(33), - }, - End: ast.Location{ - Line: int(358), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(37), - }, - End: ast.Location{ - Line: int(358), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(42), - }, - End: ast.Location{ - Line: int(358), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4028, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(19), - }, - End: ast.Location{ - Line: int(359), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(19), - }, - End: ast.Location{ - Line: int(359), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(24), - }, - End: ast.Location{ - Line: int(359), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "2", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(13), - }, - End: ast.Location{ - Line: int(360), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(13), - }, - End: ast.Location{ - Line: int(360), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(21), - }, - End: ast.Location{ - Line: int(360), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(26), - }, - End: ast.Location{ - Line: int(360), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(26), - }, - End: ast.Location{ - Line: int(360), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(30), - }, - End: ast.Location{ - Line: int(360), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(33), - }, - End: ast.Location{ - Line: int(360), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(33), - }, - End: ast.Location{ - Line: int(360), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(33), - }, - End: ast.Location{ - Line: int(360), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(37), - }, - End: ast.Location{ - Line: int(360), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(42), - }, - End: ast.Location{ - Line: int(360), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4058, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(19), - }, - End: ast.Location{ - Line: int(361), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(19), - }, - End: ast.Location{ - Line: int(361), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(24), - }, - End: ast.Location{ - Line: int(361), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "3", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(13), - }, - End: ast.Location{ - Line: int(362), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(13), - }, - End: ast.Location{ - Line: int(362), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(21), - }, - End: ast.Location{ - Line: int(362), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(26), - }, - End: ast.Location{ - Line: int(362), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(26), - }, - End: ast.Location{ - Line: int(362), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(30), - }, - End: ast.Location{ - Line: int(362), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(33), - }, - End: ast.Location{ - Line: int(362), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(33), - }, - End: ast.Location{ - Line: int(362), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(33), - }, - End: ast.Location{ - Line: int(362), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(37), - }, - End: ast.Location{ - Line: int(362), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(42), - }, - End: ast.Location{ - Line: int(362), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(363), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(363), - Column: int(19), - }, - End: ast.Location{ - Line: int(363), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(363), - Column: int(19), - }, - End: ast.Location{ - Line: int(363), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(363), - Column: int(24), - }, - End: ast.Location{ - Line: int(363), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "4", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(13), - }, - End: ast.Location{ - Line: int(364), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(13), - }, - End: ast.Location{ - Line: int(364), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(21), - }, - End: ast.Location{ - Line: int(364), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(26), - }, - End: ast.Location{ - Line: int(364), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(26), - }, - End: ast.Location{ - Line: int(364), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(30), - }, - End: ast.Location{ - Line: int(364), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(33), - }, - End: ast.Location{ - Line: int(364), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(33), - }, - End: ast.Location{ - Line: int(364), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(33), - }, - End: ast.Location{ - Line: int(364), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(37), - }, - End: ast.Location{ - Line: int(364), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(42), - }, - End: ast.Location{ - Line: int(364), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4118, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(19), - }, - End: ast.Location{ - Line: int(365), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(19), - }, - End: ast.Location{ - Line: int(365), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(24), - }, - End: ast.Location{ - Line: int(365), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "5", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(13), - }, - End: ast.Location{ - Line: int(366), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(13), - }, - End: ast.Location{ - Line: int(366), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(21), - }, - End: ast.Location{ - Line: int(366), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(26), - }, - End: ast.Location{ - Line: int(366), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(26), - }, - End: ast.Location{ - Line: int(366), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(30), - }, - End: ast.Location{ - Line: int(366), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(33), - }, - End: ast.Location{ - Line: int(366), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(33), - }, - End: ast.Location{ - Line: int(366), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(33), - }, - End: ast.Location{ - Line: int(366), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(37), - }, - End: ast.Location{ - Line: int(366), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(42), - }, - End: ast.Location{ - Line: int(366), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4148, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "5", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(19), - }, - End: ast.Location{ - Line: int(367), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(19), - }, - End: ast.Location{ - Line: int(367), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(24), - }, - End: ast.Location{ - Line: int(367), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "6", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(13), - }, - End: ast.Location{ - Line: int(368), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(13), - }, - End: ast.Location{ - Line: int(368), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(21), - }, - End: ast.Location{ - Line: int(368), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(26), - }, - End: ast.Location{ - Line: int(368), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(26), - }, - End: ast.Location{ - Line: int(368), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(30), - }, - End: ast.Location{ - Line: int(368), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(33), - }, - End: ast.Location{ - Line: int(368), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(33), - }, - End: ast.Location{ - Line: int(368), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(33), - }, - End: ast.Location{ - Line: int(368), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(37), - }, - End: ast.Location{ - Line: int(368), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(42), - }, - End: ast.Location{ - Line: int(368), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4178, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "6", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(19), - }, - End: ast.Location{ - Line: int(369), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(19), - }, - End: ast.Location{ - Line: int(369), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(24), - }, - End: ast.Location{ - Line: int(369), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "7", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(13), - }, - End: ast.Location{ - Line: int(370), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(13), - }, - End: ast.Location{ - Line: int(370), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(21), - }, - End: ast.Location{ - Line: int(370), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(26), - }, - End: ast.Location{ - Line: int(370), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(26), - }, - End: ast.Location{ - Line: int(370), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(30), - }, - End: ast.Location{ - Line: int(370), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(33), - }, - End: ast.Location{ - Line: int(370), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(33), - }, - End: ast.Location{ - Line: int(370), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(33), - }, - End: ast.Location{ - Line: int(370), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(37), - }, - End: ast.Location{ - Line: int(370), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(42), - }, - End: ast.Location{ - Line: int(370), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4208, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "7", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(19), - }, - End: ast.Location{ - Line: int(371), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(19), - }, - End: ast.Location{ - Line: int(371), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(24), - }, - End: ast.Location{ - Line: int(371), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "8", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(13), - }, - End: ast.Location{ - Line: int(372), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(13), - }, - End: ast.Location{ - Line: int(372), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(21), - }, - End: ast.Location{ - Line: int(372), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(26), - }, - End: ast.Location{ - Line: int(372), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(26), - }, - End: ast.Location{ - Line: int(372), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(30), - }, - End: ast.Location{ - Line: int(372), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(33), - }, - End: ast.Location{ - Line: int(372), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(33), - }, - End: ast.Location{ - Line: int(372), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(33), - }, - End: ast.Location{ - Line: int(372), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(37), - }, - End: ast.Location{ - Line: int(372), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(42), - }, - End: ast.Location{ - Line: int(372), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4238, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "8", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(16), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(19), - }, - End: ast.Location{ - Line: int(373), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(19), - }, - End: ast.Location{ - Line: int(373), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(24), - }, - End: ast.Location{ - Line: int(373), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "9", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(13), - }, - End: ast.Location{ - Line: int(374), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(13), - }, - End: ast.Location{ - Line: int(374), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(21), - }, - End: ast.Location{ - Line: int(374), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(26), - }, - End: ast.Location{ - Line: int(374), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(26), - }, - End: ast.Location{ - Line: int(374), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(30), - }, - End: ast.Location{ - Line: int(374), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(33), - }, - End: ast.Location{ - Line: int(374), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(33), - }, - End: ast.Location{ - Line: int(374), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(33), - }, - End: ast.Location{ - Line: int(374), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(37), - }, - End: ast.Location{ - Line: int(374), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(42), - }, - End: ast.Location{ - Line: int(374), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4268, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "9", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(13), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p3957, - FreeVars: ast.Identifiers{ - "j", - "v", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(18), - }, - End: ast.Location{ - Line: int(376), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4290, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(15), - }, - End: ast.Location{ - Line: int(376), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(24), - }, - End: ast.Location{ - Line: int(376), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4290, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(21), - }, - End: ast.Location{ - Line: int(376), - Column: int(25), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(11), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(40), - }, - End: ast.Location{ - Line: int(353), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3957, - FreeVars: ast.Identifiers{}, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(364), + Column: int(23), + }, + End: ast.Location{ + Line: int(364), + Column: int(26), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(364), + Column: int(28), + }, + End: ast.Location{ + Line: int(364), + Column: int(29), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(364), + Column: int(31), + }, + End: ast.Location{ + Line: int(364), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p4535, + FreeVars: ast.Identifiers{ + "consume", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(364), + Column: int(15), + }, + End: ast.Location{ + Line: int(388), + Column: int(27), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "consume", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -57650,151 +60593,278 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(9), - }, - End: ast.Location{ - Line: int(377), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3904, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", - }, - }, Target: &ast.Var{ + Id: "consume", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(9), - }, - End: ast.Location{ - Line: int(377), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p3904, + Ctx: p4151, FreeVars: ast.Identifiers{ "consume", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(389), + Column: int(9), + }, + End: ast.Location{ + Line: int(389), + Column: int(16), + }, + }, }, - Id: "consume", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(17), - }, - End: ast.Location{ - Line: int(377), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p4304, + Ctx: p4543, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(389), + Column: int(17), + }, + End: ast.Location{ + Line: int(389), + Column: int(20), + }, + }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "i", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(22), - }, - End: ast.Location{ - Line: int(377), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p4304, + Ctx: p4543, FreeVars: ast.Identifiers{ "i", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(389), + Column: int(22), + }, + End: ast.Location{ + Line: int(389), + Column: int(23), + }, + }, }, - Id: "i", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4543, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(377), + Line: int(389), Column: int(25), }, End: ast.Location{ - Line: int(377), + Line: int(389), Column: int(26), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p4304, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "consume", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(389), + Column: int(9), + }, + End: ast.Location{ + Line: int(389), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(364), + Column: int(9), + }, + End: ast.Location{ + Line: int(389), + Column: int(27), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p4151, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(361), + Column: int(7), + }, + End: ast.Location{ + Line: int(389), + Column: int(27), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(360), + Column: int(33), + }, + End: ast.Location{ + Line: int(360), + Column: int(36), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(360), + Column: int(38), + }, + End: ast.Location{ + Line: int(360), + Column: int(39), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p4555, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(360), + Column: int(11), + }, + End: ast.Location{ + Line: int(389), + Column: int(27), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "try_parse_field_width", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -57804,126 +60874,769 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_mapping_key", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "try_parse_precision", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(11), - }, - End: ast.Location{ - Line: int(385), - Column: int(26), - }, - File: p1, - }, - Fodder: nil, - Ctx: p4314, - FreeVars: ast.Identifiers{ - "std", - "try_parse_field_width", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(31), - }, - End: ast.Location{ - Line: int(379), - Column: int(34), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(36), - }, - End: ast.Location{ - Line: int(379), - Column: int(37), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(18), + }, + End: ast.Location{ + Line: int(392), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(18), + }, + End: ast.Location{ + Line: int(392), + Column: int(28), + }, + }, + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4571, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(29), + }, + End: ast.Location{ + Line: int(392), + Column: int(32), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: nil, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(18), + }, + End: ast.Location{ + Line: int(392), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(14), + }, + End: ast.Location{ + Line: int(392), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(14), + }, + End: ast.Location{ + Line: int(392), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4581, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(393), + Column: int(17), + }, + End: ast.Location{ + Line: int(393), + Column: int(20), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4581, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(393), + Column: int(21), + }, + End: ast.Location{ + Line: int(393), + Column: int(22), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4581, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(393), + Column: int(17), + }, + End: ast.Location{ + Line: int(393), + Column: int(23), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "c", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(393), + Column: int(13), + }, + End: ast.Location{ + Line: int(393), + Column: int(23), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ".", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(394), + Column: int(15), + }, + End: ast.Location{ + Line: int(394), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(394), + Column: int(10), + }, + End: ast.Location{ + Line: int(394), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(394), + Column: int(10), + }, + End: ast.Location{ + Line: int(394), + Column: int(18), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "try_parse_field_width", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "try_parse_field_width", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(395), + Column: int(9), + }, + End: ast.Location{ + Line: int(395), + Column: int(30), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4598, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(395), + Column: int(31), + }, + End: ast.Location{ + Line: int(395), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4598, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(395), + Column: int(40), + }, + End: ast.Location{ + Line: int(395), + Column: int(41), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4598, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(395), + Column: int(36), + }, + End: ast.Location{ + Line: int(395), + Column: int(37), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4598, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(395), + Column: int(36), + }, + End: ast.Location{ + Line: int(395), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "i", + "str", + "try_parse_field_width", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(395), + Column: int(9), + }, + End: ast.Location{ + Line: int(395), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4610, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(397), + Column: int(14), + }, + End: ast.Location{ + Line: int(397), + Column: int(15), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(397), + Column: int(11), + }, + End: ast.Location{ + Line: int(397), + Column: int(15), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4610, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(397), + Column: int(20), + }, + End: ast.Location{ + Line: int(397), + Column: int(24), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(397), + Column: int(17), + }, + End: ast.Location{ + Line: int(397), + Column: int(24), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(397), + Column: int(9), + }, + End: ast.Location{ + Line: int(397), + Column: int(26), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "c", + "i", + "str", + "try_parse_field_width", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(394), + Column: int(7), + }, + End: ast.Location{ + Line: int(397), + Column: int(26), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p4567, + FreeVars: ast.Identifiers{ + "i", + "str", + "try_parse_field_width", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(393), + Column: int(7), + }, + End: ast.Location{ + Line: int(397), + Column: int(26), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4567, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(36), + }, + End: ast.Location{ + Line: int(392), + Column: int(60), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(392), + Column: int(7), + }, + End: ast.Location{ + Line: int(397), + Column: int(26), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -57932,542 +61645,203 @@ var _StdAst = &ast.DesugaredObject{ "str", "try_parse_field_width", }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(14), - }, - End: ast.Location{ - Line: int(380), - Column: int(33), - }, - File: p1, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(391), + Column: int(31), }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", + End: ast.Location{ + Line: int(391), + Column: int(34), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(14), - }, - End: ast.Location{ - Line: int(380), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "i", - }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(391), + Column: int(36), + }, + End: ast.Location{ + Line: int(391), + Column: int(37), }, - Id: "i", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(18), - }, - End: ast.Location{ - Line: int(380), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(18), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p4625, + FreeVars: ast.Identifiers{ + "std", + "try_parse_field_width", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(391), + Column: int(11), + }, + End: ast.Location{ + Line: int(397), + Column: int(26), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "try_parse_precision", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(401), + Column: int(18), + }, + End: ast.Location{ + Line: int(401), + Column: int(21), + }, + }, }, - End: ast.Location{ - Line: int(380), - Column: int(28), + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - File: p1, + Kind: ast.LiteralStringKind(1), }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(18), - }, - End: ast.Location{ - Line: int(380), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: nil, + Ctx: p4637, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(29), - }, - End: ast.Location{ - Line: int(380), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4333, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(7), - }, - End: ast.Location{ - Line: int(385), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "i", - "str", - "try_parse_field_width", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(17), - }, - End: ast.Location{ - Line: int(381), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4340, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(17), - }, - End: ast.Location{ - Line: int(381), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4340, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(21), - }, - End: ast.Location{ - Line: int(381), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4340, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(13), - }, - End: ast.Location{ - Line: int(381), - Column: int(23), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(7), - }, - End: ast.Location{ - Line: int(385), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "c", - "i", - "str", - "try_parse_field_width", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(10), - }, - End: ast.Location{ - Line: int(382), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(10), - }, - End: ast.Location{ - Line: int(382), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(15), - }, - End: ast.Location{ - Line: int(382), + Line: int(401), Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{}, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(9), - }, - End: ast.Location{ - Line: int(383), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "i", - "str", - "try_parse_field_width", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(9), - }, End: ast.Location{ - Line: int(383), - Column: int(30), + Line: int(401), + Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4320, - FreeVars: ast.Identifiers{ - "try_parse_field_width", }, }, - Id: "try_parse_field_width", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(31), - }, - End: ast.Location{ - Line: int(383), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p4361, + Ctx: p4641, FreeVars: ast.Identifiers{ "str", }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(383), - Column: int(36), + Line: int(401), + Column: int(29), }, End: ast.Location{ - Line: int(383), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4361, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(36), - }, - End: ast.Location{ - Line: int(383), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4361, - FreeVars: ast.Identifiers{ - "i", + Line: int(401), + Column: int(32), }, }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(40), - }, - End: ast.Location{ - Line: int(383), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4361, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", }, }, CommaFodder: nil, @@ -58475,1095 +61849,718 @@ var _StdAst = &ast.DesugaredObject{ }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(385), - Column: int(9), + Line: int(401), + Column: int(18), }, End: ast.Location{ - Line: int(385), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, + Line: int(401), + Column: int(33), }, }, - Ctx: p4320, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, FreeVars: ast.Identifiers{ "i", }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(401), + Column: int(14), }, - Body: &ast.Var{ + End: ast.Location{ + Line: int(401), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(401), + Column: int(14), + }, + End: ast.Location{ + Line: int(401), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4651, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(385), - Column: int(14), + Line: int(402), + Column: int(17), }, End: ast.Location{ - Line: int(385), - Column: int(15), + Line: int(402), + Column: int(20), }, - File: p1, }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p4375, + Ctx: p4651, FreeVars: ast.Identifiers{ "i", }, - }, - Id: "i", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(385), - Column: int(11), - }, - End: ast.Location{ - Line: int(385), - Column: int(15), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(402), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(402), + Column: int(22), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "v", - Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4651, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(402), + Column: int(17), + }, + End: ast.Location{ + Line: int(402), + Column: int(23), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "c", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(402), + Column: int(13), + }, + End: ast.Location{ + Line: int(402), + Column: int(23), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "L", BlockIndent: "", BlockTermIndent: "", - }, - Body: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(385), - Column: int(20), + Line: int(403), + Column: int(39), }, End: ast.Location{ - Line: int(385), - Column: int(24), + Line: int(403), + Column: int(42), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p4375, - FreeVars: ast.Identifiers{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(34), + }, + End: ast.Location{ + Line: int(403), + Column: int(35), + }, + }, }, }, - PlusSuper: false, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(34), + }, + End: ast.Location{ + Line: int(403), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "l", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(27), + }, + End: ast.Location{ + Line: int(403), + Column: int(30), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(22), + }, + End: ast.Location{ + Line: int(403), + Column: int(23), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(22), + }, + End: ast.Location{ + Line: int(403), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "h", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(15), + }, + End: ast.Location{ + Line: int(403), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(10), + }, + End: ast.Location{ + Line: int(403), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(10), + }, + End: ast.Location{ + Line: int(403), + Column: int(18), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(10), + }, + End: ast.Location{ + Line: int(403), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(385), - Column: int(17), + Line: int(403), + Column: int(10), }, End: ast.Location{ - Line: int(385), - Column: int(24), + Line: int(403), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(404), + Column: int(13), + }, + End: ast.Location{ + Line: int(404), + Column: int(14), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(404), + Column: int(9), + }, + End: ast.Location{ + Line: int(404), + Column: int(10), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(404), + Column: int(9), + }, + End: ast.Location{ + Line: int(404), + Column: int(14), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(406), + Column: int(9), + }, + End: ast.Location{ + Line: int(406), + Column: int(10), }, - File: p1, }, }, }, - Locals: ast.LocalBinds{}, - }, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(7), + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, }, - End: ast.Location{ - Line: int(385), - Column: int(26), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(403), + Column: int(7), + }, + End: ast.Location{ + Line: int(406), + Column: int(10), + }, + }, }, - File: p1, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p4637, + FreeVars: ast.Identifiers{ + "i", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(380), - Column: int(36), + Line: int(402), + Column: int(7), }, End: ast.Location{ - Line: int(380), - Column: int(60), + Line: int(406), + Column: int(10), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p4320, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(401), + Column: int(36), + }, + End: ast.Location{ + Line: int(401), + Column: int(60), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(401), + Column: int(7), + }, + End: ast.Location{ + Line: int(406), + Column: int(10), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Ignored, if it exists.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_mapping_key", - "try_parse_precision", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "try_parse_length_modifier", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(11), - }, - End: ast.Location{ - Line: int(394), - Column: int(10), - }, - File: p1, - }, - Fodder: nil, - Ctx: p4387, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "str", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(388), + Line: int(400), Column: int(37), }, End: ast.Location{ - Line: int(388), + Line: int(400), Column: int(40), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "i", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(388), + Line: int(400), Column: int(42), }, End: ast.Location{ - Line: int(388), + Line: int(400), Column: int(43), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p4694, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(400), + Column: int(11), + }, + End: ast.Location{ + Line: int(406), + Column: int(10), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(14), - }, - End: ast.Location{ - Line: int(389), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(14), - }, - End: ast.Location{ - Line: int(389), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(18), - }, - End: ast.Location{ - Line: int(389), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(18), - }, - End: ast.Location{ - Line: int(389), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(18), - }, - End: ast.Location{ - Line: int(389), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(29), - }, - End: ast.Location{ - Line: int(389), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4406, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(390), - Column: int(7), - }, - End: ast.Location{ - Line: int(394), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(390), - Column: int(17), - }, - End: ast.Location{ - Line: int(390), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4413, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(390), - Column: int(17), - }, - End: ast.Location{ - Line: int(390), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4413, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(390), - Column: int(21), - }, - End: ast.Location{ - Line: int(390), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4413, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(390), - Column: int(13), - }, - End: ast.Location{ - Line: int(390), - Column: int(23), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(7), - }, - End: ast.Location{ - Line: int(394), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(10), - }, - End: ast.Location{ - Line: int(391), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(10), - }, - End: ast.Location{ - Line: int(391), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(10), - }, - End: ast.Location{ - Line: int(391), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(10), - }, - End: ast.Location{ - Line: int(391), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(15), - }, - End: ast.Location{ - Line: int(391), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{}, - }, - Value: "h", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(22), - }, - End: ast.Location{ - Line: int(391), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(22), - }, - End: ast.Location{ - Line: int(391), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(27), - }, - End: ast.Location{ - Line: int(391), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{}, - }, - Value: "l", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(34), - }, - End: ast.Location{ - Line: int(391), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(34), - }, - End: ast.Location{ - Line: int(391), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(39), - }, - End: ast.Location{ - Line: int(391), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{}, - }, - Value: "L", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(9), - }, - End: ast.Location{ - Line: int(392), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(9), - }, - End: ast.Location{ - Line: int(392), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(13), - }, - End: ast.Location{ - Line: int(392), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(9), - }, - End: ast.Location{ - Line: int(394), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4393, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(7), - }, - End: ast.Location{ - Line: int(394), - Column: int(10), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(36), - }, - End: ast.Location{ - Line: int(389), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4393, - FreeVars: ast.Identifiers{}, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, }, - Fun: nil, + EqFodder: nil, + Variable: "try_parse_length_modifier", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -59573,248 +62570,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "parse_conv_type", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(11), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: nil, - Ctx: p4458, - FreeVars: ast.Identifiers{ - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(27), - }, - End: ast.Location{ - Line: int(396), - Column: int(30), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(32), - }, - End: ast.Location{ - Line: int(396), - Column: int(33), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(14), - }, - End: ast.Location{ - Line: int(397), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(14), - }, - End: ast.Location{ - Line: int(397), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(18), - }, - End: ast.Location{ - Line: int(397), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(18), - }, - End: ast.Location{ - Line: int(397), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(18), - }, - End: ast.Location{ - Line: int(397), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(18), + }, + End: ast.Location{ + Line: int(409), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -59824,5138 +62625,5300 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(18), + }, + End: ast.Location{ + Line: int(409), + Column: int(28), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(29), - }, - End: ast.Location{ - Line: int(397), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p4477, + Ctx: p4710, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(29), + }, + End: ast.Location{ + Line: int(409), + Column: int(32), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(18), + }, + End: ast.Location{ + Line: int(409), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(14), + }, + End: ast.Location{ + Line: int(409), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(398), - Column: int(7), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4464, + Fodder: ast.Fodder{}, + Ctx: p4706, FreeVars: ast.Identifiers{ "i", + "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(14), + }, + End: ast.Location{ + Line: int(409), + Column: int(33), + }, + }, }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(398), - Column: int(17), + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4720, + FreeVars: ast.Identifiers{ + "str", }, - End: ast.Location{ - Line: int(398), - Column: int(23), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(410), + Column: int(17), + }, + End: ast.Location{ + Line: int(410), + Column: int(20), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4720, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(410), + Column: int(21), + }, + End: ast.Location{ + Line: int(410), + Column: int(22), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p4484, + Ctx: p4720, FreeVars: ast.Identifiers{ "i", "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(398), - Column: int(17), - }, - End: ast.Location{ - Line: int(398), - Column: int(20), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(410), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p4484, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(410), + Column: int(23), }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(398), - Column: int(21), - }, - End: ast.Location{ - Line: int(398), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4484, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "c", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(398), + Line: int(410), Column: int(13), }, End: ast.Location{ - Line: int(398), + Line: int(410), Column: int(23), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(7), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(10), - }, - End: ast.Location{ - Line: int(399), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(10), - }, - End: ast.Location{ - Line: int(399), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(10), - }, - End: ast.Location{ - Line: int(399), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(10), - }, - End: ast.Location{ - Line: int(399), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(15), - }, - End: ast.Location{ - Line: int(399), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(22), - }, - End: ast.Location{ - Line: int(399), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(22), - }, - End: ast.Location{ - Line: int(399), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(27), - }, - End: ast.Location{ - Line: int(399), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(34), - }, - End: ast.Location{ - Line: int(399), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(34), - }, - End: ast.Location{ - Line: int(399), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "u", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(399), + Line: int(411), Column: int(39), }, End: ast.Location{ - Line: int(399), + Line: int(411), Column: int(42), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, }, - Value: "u", Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(34), + }, + End: ast.Location{ + Line: int(411), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(34), + }, + End: ast.Location{ + Line: int(411), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(27), + }, + End: ast.Location{ + Line: int(411), + Column: int(30), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(22), + }, + End: ast.Location{ + Line: int(411), + Column: int(23), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(22), + }, + End: ast.Location{ + Line: int(411), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "d", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(15), + }, + End: ast.Location{ + Line: int(411), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(10), + }, + End: ast.Location{ + Line: int(411), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(10), + }, + End: ast.Location{ + Line: int(411), + Column: int(18), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(10), + }, + End: ast.Location{ + Line: int(411), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(10), + }, + End: ast.Location{ + Line: int(411), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4750, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(18), + }, + End: ast.Location{ + Line: int(412), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4750, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(14), + }, + End: ast.Location{ + Line: int(412), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4750, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(14), + }, + End: ast.Location{ + Line: int(412), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(11), + }, + End: ast.Location{ + Line: int(412), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "d", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4750, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(24), + }, + End: ast.Location{ + Line: int(412), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(21), + }, + End: ast.Location{ + Line: int(412), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4750, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(35), + }, + End: ast.Location{ + Line: int(412), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(29), + }, + End: ast.Location{ + Line: int(412), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(412), + Column: int(9), + }, + End: ast.Location{ + Line: int(412), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "o", BlockIndent: "", BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(413), + Column: int(20), + }, + End: ast.Location{ + Line: int(413), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(413), + Column: int(15), + }, + End: ast.Location{ + Line: int(413), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(413), + Column: int(15), + }, + End: ast.Location{ + Line: int(413), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4771, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(18), + }, + End: ast.Location{ + Line: int(414), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4771, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(14), + }, + End: ast.Location{ + Line: int(414), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4771, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(14), + }, + End: ast.Location{ + Line: int(414), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(11), + }, + End: ast.Location{ + Line: int(414), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "o", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4771, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(24), + }, + End: ast.Location{ + Line: int(414), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(21), + }, + End: ast.Location{ + Line: int(414), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4771, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(35), + }, + End: ast.Location{ + Line: int(414), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(29), + }, + End: ast.Location{ + Line: int(414), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(414), + Column: int(9), + }, + End: ast.Location{ + Line: int(414), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "x", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(415), + Column: int(20), + }, + End: ast.Location{ + Line: int(415), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(415), + Column: int(15), + }, + End: ast.Location{ + Line: int(415), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(415), + Column: int(15), + }, + End: ast.Location{ + Line: int(415), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4792, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(18), + }, + End: ast.Location{ + Line: int(416), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4792, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(14), + }, + End: ast.Location{ + Line: int(416), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4792, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(14), + }, + End: ast.Location{ + Line: int(416), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(11), + }, + End: ast.Location{ + Line: int(416), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "x", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4792, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(24), + }, + End: ast.Location{ + Line: int(416), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(21), + }, + End: ast.Location{ + Line: int(416), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4792, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(35), + }, + End: ast.Location{ + Line: int(416), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(29), + }, + End: ast.Location{ + Line: int(416), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(416), + Column: int(9), + }, + End: ast.Location{ + Line: int(416), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "X", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(417), + Column: int(20), + }, + End: ast.Location{ + Line: int(417), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(417), + Column: int(15), + }, + End: ast.Location{ + Line: int(417), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(417), + Column: int(15), + }, + End: ast.Location{ + Line: int(417), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4813, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(18), + }, + End: ast.Location{ + Line: int(418), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4813, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(14), + }, + End: ast.Location{ + Line: int(418), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4813, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(14), + }, + End: ast.Location{ + Line: int(418), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(11), + }, + End: ast.Location{ + Line: int(418), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "x", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4813, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(24), + }, + End: ast.Location{ + Line: int(418), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(21), + }, + End: ast.Location{ + Line: int(418), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4813, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(35), + }, + End: ast.Location{ + Line: int(418), + Column: int(39), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(29), + }, + End: ast.Location{ + Line: int(418), + Column: int(39), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(418), + Column: int(9), + }, + End: ast.Location{ + Line: int(418), + Column: int(41), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "e", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(419), + Column: int(20), + }, + End: ast.Location{ + Line: int(419), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(419), + Column: int(15), + }, + End: ast.Location{ + Line: int(419), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(419), + Column: int(15), + }, + End: ast.Location{ + Line: int(419), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4834, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(18), + }, + End: ast.Location{ + Line: int(420), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4834, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(14), + }, + End: ast.Location{ + Line: int(420), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4834, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(14), + }, + End: ast.Location{ + Line: int(420), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(11), + }, + End: ast.Location{ + Line: int(420), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "e", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4834, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(24), + }, + End: ast.Location{ + Line: int(420), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(21), + }, + End: ast.Location{ + Line: int(420), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4834, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(35), + }, + End: ast.Location{ + Line: int(420), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(29), + }, + End: ast.Location{ + Line: int(420), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(420), + Column: int(9), + }, + End: ast.Location{ + Line: int(420), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "E", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(421), + Column: int(20), + }, + End: ast.Location{ + Line: int(421), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(421), + Column: int(15), + }, + End: ast.Location{ + Line: int(421), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(421), + Column: int(15), + }, + End: ast.Location{ + Line: int(421), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4855, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(18), + }, + End: ast.Location{ + Line: int(422), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4855, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(14), + }, + End: ast.Location{ + Line: int(422), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4855, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(14), + }, + End: ast.Location{ + Line: int(422), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(11), + }, + End: ast.Location{ + Line: int(422), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "e", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4855, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(24), + }, + End: ast.Location{ + Line: int(422), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(21), + }, + End: ast.Location{ + Line: int(422), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4855, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(35), + }, + End: ast.Location{ + Line: int(422), + Column: int(39), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(29), + }, + End: ast.Location{ + Line: int(422), + Column: int(39), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(422), + Column: int(9), + }, + End: ast.Location{ + Line: int(422), + Column: int(41), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "f", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(423), + Column: int(20), + }, + End: ast.Location{ + Line: int(423), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(423), + Column: int(15), + }, + End: ast.Location{ + Line: int(423), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(423), + Column: int(15), + }, + End: ast.Location{ + Line: int(423), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4876, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(18), + }, + End: ast.Location{ + Line: int(424), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4876, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(14), + }, + End: ast.Location{ + Line: int(424), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4876, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(14), + }, + End: ast.Location{ + Line: int(424), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(11), + }, + End: ast.Location{ + Line: int(424), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "f", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4876, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(24), + }, + End: ast.Location{ + Line: int(424), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(21), + }, + End: ast.Location{ + Line: int(424), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4876, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(35), + }, + End: ast.Location{ + Line: int(424), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(29), + }, + End: ast.Location{ + Line: int(424), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(424), + Column: int(9), + }, + End: ast.Location{ + Line: int(424), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "F", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(425), + Column: int(20), + }, + End: ast.Location{ + Line: int(425), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(425), + Column: int(15), + }, + End: ast.Location{ + Line: int(425), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(425), + Column: int(15), + }, + End: ast.Location{ + Line: int(425), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4897, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(18), + }, + End: ast.Location{ + Line: int(426), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4897, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(14), + }, + End: ast.Location{ + Line: int(426), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4897, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(14), + }, + End: ast.Location{ + Line: int(426), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(11), + }, + End: ast.Location{ + Line: int(426), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "f", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4897, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(24), + }, + End: ast.Location{ + Line: int(426), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(21), + }, + End: ast.Location{ + Line: int(426), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4897, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(35), + }, + End: ast.Location{ + Line: int(426), + Column: int(39), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(29), + }, + End: ast.Location{ + Line: int(426), + Column: int(39), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(426), + Column: int(9), + }, + End: ast.Location{ + Line: int(426), + Column: int(41), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "g", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(427), + Column: int(20), + }, + End: ast.Location{ + Line: int(427), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(427), + Column: int(15), + }, + End: ast.Location{ + Line: int(427), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(427), + Column: int(15), + }, + End: ast.Location{ + Line: int(427), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4918, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(18), + }, + End: ast.Location{ + Line: int(428), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4918, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(14), + }, + End: ast.Location{ + Line: int(428), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4918, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(14), + }, + End: ast.Location{ + Line: int(428), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(11), + }, + End: ast.Location{ + Line: int(428), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "g", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4918, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(24), + }, + End: ast.Location{ + Line: int(428), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(21), + }, + End: ast.Location{ + Line: int(428), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4918, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(35), + }, + End: ast.Location{ + Line: int(428), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(29), + }, + End: ast.Location{ + Line: int(428), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(428), + Column: int(9), + }, + End: ast.Location{ + Line: int(428), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "G", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(429), + Column: int(20), + }, + End: ast.Location{ + Line: int(429), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(429), + Column: int(15), + }, + End: ast.Location{ + Line: int(429), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(429), + Column: int(15), + }, + End: ast.Location{ + Line: int(429), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4939, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(18), + }, + End: ast.Location{ + Line: int(430), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4939, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(14), + }, + End: ast.Location{ + Line: int(430), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4939, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(14), + }, + End: ast.Location{ + Line: int(430), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(11), + }, + End: ast.Location{ + Line: int(430), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "g", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4939, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(24), + }, + End: ast.Location{ + Line: int(430), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(21), + }, + End: ast.Location{ + Line: int(430), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4939, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(35), + }, + End: ast.Location{ + Line: int(430), + Column: int(39), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(29), + }, + End: ast.Location{ + Line: int(430), + Column: int(39), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(430), + Column: int(9), + }, + End: ast.Location{ + Line: int(430), + Column: int(41), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "c", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(431), + Column: int(20), + }, + End: ast.Location{ + Line: int(431), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(431), + Column: int(15), + }, + End: ast.Location{ + Line: int(431), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(431), + Column: int(15), + }, + End: ast.Location{ + Line: int(431), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4960, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(18), + }, + End: ast.Location{ + Line: int(432), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4960, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(14), + }, + End: ast.Location{ + Line: int(432), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4960, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(14), + }, + End: ast.Location{ + Line: int(432), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(11), + }, + End: ast.Location{ + Line: int(432), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "c", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4960, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(24), + }, + End: ast.Location{ + Line: int(432), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(21), + }, + End: ast.Location{ + Line: int(432), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4960, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(35), + }, + End: ast.Location{ + Line: int(432), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(29), + }, + End: ast.Location{ + Line: int(432), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(432), + Column: int(9), + }, + End: ast.Location{ + Line: int(432), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(433), + Column: int(20), + }, + End: ast.Location{ + Line: int(433), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(433), + Column: int(15), + }, + End: ast.Location{ + Line: int(433), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(433), + Column: int(15), + }, + End: ast.Location{ + Line: int(433), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4981, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(18), + }, + End: ast.Location{ + Line: int(434), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4981, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(14), + }, + End: ast.Location{ + Line: int(434), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4981, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(14), + }, + End: ast.Location{ + Line: int(434), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(11), + }, + End: ast.Location{ + Line: int(434), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4981, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(24), + }, + End: ast.Location{ + Line: int(434), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(21), + }, + End: ast.Location{ + Line: int(434), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4981, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(35), + }, + End: ast.Location{ + Line: int(434), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(29), + }, + End: ast.Location{ + Line: int(434), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(434), + Column: int(9), + }, + End: ast.Location{ + Line: int(434), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(435), + Column: int(20), + }, + End: ast.Location{ + Line: int(435), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(435), + Column: int(15), + }, + End: ast.Location{ + Line: int(435), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(435), + Column: int(15), + }, + End: ast.Location{ + Line: int(435), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5002, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(18), + }, + End: ast.Location{ + Line: int(436), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5002, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(14), + }, + End: ast.Location{ + Line: int(436), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5002, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(14), + }, + End: ast.Location{ + Line: int(436), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(11), + }, + End: ast.Location{ + Line: int(436), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5002, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(24), + }, + End: ast.Location{ + Line: int(436), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(21), + }, + End: ast.Location{ + Line: int(436), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5002, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(35), + }, + End: ast.Location{ + Line: int(436), + Column: int(40), + }, + }, + }, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(29), + }, + End: ast.Location{ + Line: int(436), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(436), + Column: int(9), + }, + End: ast.Location{ + Line: int(436), + Column: int(42), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(438), + Column: int(50), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Unrecognised conversion type: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(438), + Column: int(15), + }, + End: ast.Location{ + Line: int(438), + Column: int(47), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(438), + Column: int(15), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(438), + Column: int(9), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(435), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(433), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(431), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(429), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(427), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(425), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(423), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(421), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(419), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(417), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(415), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(413), + Column: int(12), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(9), - }, - End: ast.Location{ - Line: int(400), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(14), - }, - End: ast.Location{ - Line: int(400), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4518, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(14), - }, - End: ast.Location{ - Line: int(400), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4518, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(18), - }, - End: ast.Location{ - Line: int(400), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4518, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(11), - }, - End: ast.Location{ - Line: int(400), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(24), - }, - End: ast.Location{ - Line: int(400), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4518, - FreeVars: ast.Identifiers{}, - }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(21), - }, - End: ast.Location{ - Line: int(400), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(35), - }, - End: ast.Location{ - Line: int(400), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4518, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(29), - }, - End: ast.Location{ - Line: int(400), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(15), - }, - End: ast.Location{ - Line: int(401), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(15), - }, - End: ast.Location{ - Line: int(401), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(20), - }, - End: ast.Location{ - Line: int(401), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "o", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(9), - }, - End: ast.Location{ - Line: int(402), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(14), - }, - End: ast.Location{ - Line: int(402), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4541, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(14), - }, - End: ast.Location{ - Line: int(402), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4541, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(18), - }, - End: ast.Location{ - Line: int(402), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4541, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(11), - }, - End: ast.Location{ - Line: int(402), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(24), - }, - End: ast.Location{ - Line: int(402), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4541, - FreeVars: ast.Identifiers{}, - }, - Value: "o", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(21), - }, - End: ast.Location{ - Line: int(402), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(35), - }, - End: ast.Location{ - Line: int(402), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4541, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(29), - }, - End: ast.Location{ - Line: int(402), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(7), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(15), - }, - End: ast.Location{ - Line: int(403), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(15), - }, - End: ast.Location{ - Line: int(403), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(20), - }, - End: ast.Location{ - Line: int(403), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(9), - }, - End: ast.Location{ - Line: int(404), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(14), - }, - End: ast.Location{ - Line: int(404), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4564, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(14), - }, - End: ast.Location{ - Line: int(404), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4564, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(18), - }, - End: ast.Location{ - Line: int(404), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4564, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(11), - }, - End: ast.Location{ - Line: int(404), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(24), - }, - End: ast.Location{ - Line: int(404), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4564, - FreeVars: ast.Identifiers{}, - }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(21), - }, - End: ast.Location{ - Line: int(404), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(35), - }, - End: ast.Location{ - Line: int(404), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4564, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(29), - }, - End: ast.Location{ - Line: int(404), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(15), - }, - End: ast.Location{ - Line: int(405), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(15), - }, - End: ast.Location{ - Line: int(405), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(20), - }, - End: ast.Location{ - Line: int(405), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "X", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(9), - }, - End: ast.Location{ - Line: int(406), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(14), - }, - End: ast.Location{ - Line: int(406), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4587, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(14), - }, - End: ast.Location{ - Line: int(406), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4587, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(18), - }, - End: ast.Location{ - Line: int(406), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4587, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(11), - }, - End: ast.Location{ - Line: int(406), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(24), - }, - End: ast.Location{ - Line: int(406), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4587, - FreeVars: ast.Identifiers{}, - }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(21), - }, - End: ast.Location{ - Line: int(406), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(35), - }, - End: ast.Location{ - Line: int(406), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4587, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(29), - }, - End: ast.Location{ - Line: int(406), - Column: int(39), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(15), - }, - End: ast.Location{ - Line: int(407), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(15), - }, - End: ast.Location{ - Line: int(407), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(20), - }, - End: ast.Location{ - Line: int(407), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(9), - }, - End: ast.Location{ - Line: int(408), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(14), - }, - End: ast.Location{ - Line: int(408), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4610, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(14), - }, - End: ast.Location{ - Line: int(408), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4610, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(18), - }, - End: ast.Location{ - Line: int(408), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4610, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(11), - }, - End: ast.Location{ - Line: int(408), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(24), - }, - End: ast.Location{ - Line: int(408), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4610, - FreeVars: ast.Identifiers{}, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(21), - }, - End: ast.Location{ - Line: int(408), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(35), - }, - End: ast.Location{ - Line: int(408), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4610, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(29), - }, - End: ast.Location{ - Line: int(408), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(15), - }, - End: ast.Location{ - Line: int(409), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(15), - }, - End: ast.Location{ - Line: int(409), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(20), - }, - End: ast.Location{ - Line: int(409), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "E", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(9), - }, - End: ast.Location{ - Line: int(410), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(14), - }, - End: ast.Location{ - Line: int(410), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4633, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(14), - }, - End: ast.Location{ - Line: int(410), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4633, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(18), - }, - End: ast.Location{ - Line: int(410), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4633, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(11), - }, - End: ast.Location{ - Line: int(410), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(24), - }, - End: ast.Location{ - Line: int(410), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4633, - FreeVars: ast.Identifiers{}, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(21), - }, - End: ast.Location{ - Line: int(410), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(35), - }, - End: ast.Location{ - Line: int(410), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4633, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(29), - }, - End: ast.Location{ - Line: int(410), - Column: int(39), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(15), - }, - End: ast.Location{ - Line: int(411), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(15), - }, - End: ast.Location{ - Line: int(411), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(20), - }, - End: ast.Location{ - Line: int(411), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(9), - }, - End: ast.Location{ - Line: int(412), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(14), - }, - End: ast.Location{ - Line: int(412), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4656, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(14), - }, - End: ast.Location{ - Line: int(412), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4656, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(18), - }, - End: ast.Location{ - Line: int(412), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4656, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(11), - }, - End: ast.Location{ - Line: int(412), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(24), - }, - End: ast.Location{ - Line: int(412), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4656, - FreeVars: ast.Identifiers{}, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(21), - }, - End: ast.Location{ - Line: int(412), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(35), - }, - End: ast.Location{ - Line: int(412), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4656, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(29), - }, - End: ast.Location{ - Line: int(412), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(15), - }, - End: ast.Location{ - Line: int(413), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(15), - }, - End: ast.Location{ - Line: int(413), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(20), - }, - End: ast.Location{ - Line: int(413), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "F", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(9), - }, - End: ast.Location{ - Line: int(414), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(14), - }, - End: ast.Location{ - Line: int(414), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4679, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(14), - }, - End: ast.Location{ - Line: int(414), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4679, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(18), - }, - End: ast.Location{ - Line: int(414), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4679, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(11), - }, - End: ast.Location{ - Line: int(414), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(24), - }, - End: ast.Location{ - Line: int(414), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4679, - FreeVars: ast.Identifiers{}, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(21), - }, - End: ast.Location{ - Line: int(414), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(35), - }, - End: ast.Location{ - Line: int(414), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4679, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(29), - }, - End: ast.Location{ - Line: int(414), - Column: int(39), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(15), - }, - End: ast.Location{ - Line: int(415), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(15), - }, - End: ast.Location{ - Line: int(415), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(20), - }, - End: ast.Location{ - Line: int(415), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "g", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(9), - }, - End: ast.Location{ - Line: int(416), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(14), - }, - End: ast.Location{ - Line: int(416), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4702, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(14), - }, - End: ast.Location{ - Line: int(416), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4702, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(18), - }, - End: ast.Location{ - Line: int(416), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4702, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(11), - }, - End: ast.Location{ - Line: int(416), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(24), - }, - End: ast.Location{ - Line: int(416), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4702, - FreeVars: ast.Identifiers{}, - }, - Value: "g", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(21), - }, - End: ast.Location{ - Line: int(416), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(35), - }, - End: ast.Location{ - Line: int(416), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4702, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(29), - }, - End: ast.Location{ - Line: int(416), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(15), - }, - End: ast.Location{ - Line: int(417), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(15), - }, - End: ast.Location{ - Line: int(417), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(20), - }, - End: ast.Location{ - Line: int(417), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "G", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(9), - }, - End: ast.Location{ - Line: int(418), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(14), - }, - End: ast.Location{ - Line: int(418), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4725, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(14), - }, - End: ast.Location{ - Line: int(418), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4725, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(18), - }, - End: ast.Location{ - Line: int(418), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4725, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(11), - }, - End: ast.Location{ - Line: int(418), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(24), - }, - End: ast.Location{ - Line: int(418), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4725, - FreeVars: ast.Identifiers{}, - }, - Value: "g", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(21), - }, - End: ast.Location{ - Line: int(418), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(35), - }, - End: ast.Location{ - Line: int(418), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4725, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(29), - }, - End: ast.Location{ - Line: int(418), - Column: int(39), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(15), - }, - End: ast.Location{ - Line: int(419), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(15), - }, - End: ast.Location{ - Line: int(419), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(20), - }, - End: ast.Location{ - Line: int(419), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "c", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(9), - }, - End: ast.Location{ - Line: int(420), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(14), - }, - End: ast.Location{ - Line: int(420), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4748, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(14), - }, - End: ast.Location{ - Line: int(420), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4748, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(18), - }, - End: ast.Location{ - Line: int(420), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4748, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(11), - }, - End: ast.Location{ - Line: int(420), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(24), - }, - End: ast.Location{ - Line: int(420), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4748, - FreeVars: ast.Identifiers{}, - }, - Value: "c", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(21), - }, - End: ast.Location{ - Line: int(420), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(35), - }, - End: ast.Location{ - Line: int(420), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4748, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(29), - }, - End: ast.Location{ - Line: int(420), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(15), - }, - End: ast.Location{ - Line: int(421), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(15), - }, - End: ast.Location{ - Line: int(421), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(20), - }, - End: ast.Location{ - Line: int(421), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(9), - }, - End: ast.Location{ - Line: int(422), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(14), - }, - End: ast.Location{ - Line: int(422), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(14), - }, - End: ast.Location{ - Line: int(422), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(18), - }, - End: ast.Location{ - Line: int(422), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(11), - }, - End: ast.Location{ - Line: int(422), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(24), - }, - End: ast.Location{ - Line: int(422), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{}, - }, - Value: "s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(21), - }, - End: ast.Location{ - Line: int(422), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(35), - }, - End: ast.Location{ - Line: int(422), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(29), - }, - End: ast.Location{ - Line: int(422), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(12), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(15), - }, - End: ast.Location{ - Line: int(423), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(15), - }, - End: ast.Location{ - Line: int(423), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(20), - }, - End: ast.Location{ - Line: int(423), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(9), - }, - End: ast.Location{ - Line: int(424), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(14), - }, - End: ast.Location{ - Line: int(424), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4794, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(14), - }, - End: ast.Location{ - Line: int(424), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4794, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(18), - }, - End: ast.Location{ - Line: int(424), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4794, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(11), - }, - End: ast.Location{ - Line: int(424), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(24), - }, - End: ast.Location{ - Line: int(424), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4794, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(21), - }, - End: ast.Location{ - Line: int(424), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(35), - }, - End: ast.Location{ - Line: int(424), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4794, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(29), - }, - End: ast.Location{ - Line: int(424), - Column: int(40), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(9), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(15), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(15), - }, - End: ast.Location{ - Line: int(426), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, - }, - Value: "Unrecognised conversion type: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(50), - }, - End: ast.Location{ - Line: int(426), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, + End: ast.Location{ + Line: int(438), + Column: int(51), }, }, }, }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p4706, + FreeVars: ast.Identifiers{ + "i", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(397), + Line: int(410), Column: int(7), }, End: ast.Location{ - Line: int(426), + Line: int(438), Column: int(51), }, - File: p1, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p4706, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(397), + Line: int(409), Column: int(36), }, End: ast.Location{ - Line: int(397), + Line: int(409), Column: int(60), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p4464, - FreeVars: ast.Identifiers{}, }, - Value: "Truncated format code.", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(7), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(408), + Column: int(27), + }, + End: ast.Location{ + Line: int(408), + Column: int(30), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(408), + Column: int(32), + }, + End: ast.Location{ + Line: int(408), + Column: int(33), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5053, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(408), + Column: int(11), + }, + End: ast.Location{ + Line: int(438), + Column: int(51), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "parse_conv_type", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -64965,142 +67928,2244 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(2), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Parsed initial %, now the rest.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "parse_conv_type", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "parse_code", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(11), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: nil, - Ctx: p4820, - FreeVars: ast.Identifiers{ - "parse_conv_type", - "std", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(22), - }, - End: ast.Location{ - Line: int(430), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(27), - }, - End: ast.Location{ - Line: int(430), - Column: int(28), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(18), + }, + End: ast.Location{ + Line: int(443), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(18), + }, + End: ast.Location{ + Line: int(443), + Column: int(28), + }, + }, + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5069, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(29), + }, + End: ast.Location{ + Line: int(443), + Column: int(32), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: nil, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(18), + }, + End: ast.Location{ + Line: int(443), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(14), + }, + End: ast.Location{ + Line: int(443), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(14), + }, + End: ast.Location{ + Line: int(443), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "try_parse_mapping_key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5079, + FreeVars: ast.Identifiers{ + "try_parse_mapping_key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(444), + Column: int(20), + }, + End: ast.Location{ + Line: int(444), + Column: int(41), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5083, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(444), + Column: int(42), + }, + End: ast.Location{ + Line: int(444), + Column: int(45), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5083, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(444), + Column: int(47), + }, + End: ast.Location{ + Line: int(444), + Column: int(48), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5079, + FreeVars: ast.Identifiers{ + "i", + "str", + "try_parse_mapping_key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(444), + Column: int(20), + }, + End: ast.Location{ + Line: int(444), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "mkey", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(444), + Column: int(13), + }, + End: ast.Location{ + Line: int(444), + Column: int(49), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "try_parse_cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5092, + FreeVars: ast.Identifiers{ + "try_parse_cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(22), + }, + End: ast.Location{ + Line: int(445), + Column: int(38), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5096, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(39), + }, + End: ast.Location{ + Line: int(445), + Column: int(42), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "mkey", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "mkey", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(44), + }, + End: ast.Location{ + Line: int(445), + Column: int(48), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5096, + FreeVars: ast.Identifiers{ + "mkey", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(44), + }, + End: ast.Location{ + Line: int(445), + Column: int(50), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5092, + FreeVars: ast.Identifiers{ + "mkey", + "str", + "try_parse_cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(22), + }, + End: ast.Location{ + Line: int(445), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "cflags", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(13), + }, + End: ast.Location{ + Line: int(445), + Column: int(51), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "try_parse_field_width", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5108, + FreeVars: ast.Identifiers{ + "try_parse_field_width", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(18), + }, + End: ast.Location{ + Line: int(446), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5112, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(40), + }, + End: ast.Location{ + Line: int(446), + Column: int(43), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(45), + }, + End: ast.Location{ + Line: int(446), + Column: int(51), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5112, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(45), + }, + End: ast.Location{ + Line: int(446), + Column: int(53), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5108, + FreeVars: ast.Identifiers{ + "cflags", + "str", + "try_parse_field_width", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(18), + }, + End: ast.Location{ + Line: int(446), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "fw", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(13), + }, + End: ast.Location{ + Line: int(446), + Column: int(54), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "try_parse_precision", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5124, + FreeVars: ast.Identifiers{ + "try_parse_precision", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(447), + Column: int(20), + }, + End: ast.Location{ + Line: int(447), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5128, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(447), + Column: int(40), + }, + End: ast.Location{ + Line: int(447), + Column: int(43), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "fw", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(447), + Column: int(45), + }, + End: ast.Location{ + Line: int(447), + Column: int(47), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5128, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(447), + Column: int(45), + }, + End: ast.Location{ + Line: int(447), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5124, + FreeVars: ast.Identifiers{ + "fw", + "str", + "try_parse_precision", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(447), + Column: int(20), + }, + End: ast.Location{ + Line: int(447), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "prec", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(447), + Column: int(13), + }, + End: ast.Location{ + Line: int(447), + Column: int(50), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "try_parse_length_modifier", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5140, + FreeVars: ast.Identifiers{ + "try_parse_length_modifier", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(448), + Column: int(23), + }, + End: ast.Location{ + Line: int(448), + Column: int(48), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5144, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(448), + Column: int(49), + }, + End: ast.Location{ + Line: int(448), + Column: int(52), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(448), + Column: int(54), + }, + End: ast.Location{ + Line: int(448), + Column: int(58), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5144, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(448), + Column: int(54), + }, + End: ast.Location{ + Line: int(448), + Column: int(60), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5140, + FreeVars: ast.Identifiers{ + "prec", + "str", + "try_parse_length_modifier", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(448), + Column: int(23), + }, + End: ast.Location{ + Line: int(448), + Column: int(61), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "len_mod", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(448), + Column: int(13), + }, + End: ast.Location{ + Line: int(448), + Column: int(61), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "parse_conv_type", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5156, + FreeVars: ast.Identifiers{ + "parse_conv_type", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(449), + Column: int(21), + }, + End: ast.Location{ + Line: int(449), + Column: int(36), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5160, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(449), + Column: int(37), + }, + End: ast.Location{ + Line: int(449), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "len_mod", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5160, + FreeVars: ast.Identifiers{ + "len_mod", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(449), + Column: int(42), + }, + End: ast.Location{ + Line: int(449), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5156, + FreeVars: ast.Identifiers{ + "len_mod", + "parse_conv_type", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(449), + Column: int(21), + }, + End: ast.Location{ + Line: int(449), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "ctype", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(449), + Column: int(13), + }, + End: ast.Location{ + Line: int(449), + Column: int(50), + }, + }, + }, + }, + Body: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "ctype", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ctype", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(451), + Column: int(12), + }, + End: ast.Location{ + Line: int(451), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5172, + FreeVars: ast.Identifiers{ + "ctype", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(451), + Column: int(12), + }, + End: ast.Location{ + Line: int(451), + Column: int(19), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(451), + Column: int(9), + }, + End: ast.Location{ + Line: int(451), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "code", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "mkey", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "mkey", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "mkey", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(453), + Column: int(17), + }, + End: ast.Location{ + Line: int(453), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "mkey", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(453), + Column: int(17), + }, + End: ast.Location{ + Line: int(453), + Column: int(23), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(453), + Column: int(11), + }, + End: ast.Location{ + Line: int(453), + Column: int(23), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "cflags", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(454), + Column: int(19), + }, + End: ast.Location{ + Line: int(454), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(454), + Column: int(19), + }, + End: ast.Location{ + Line: int(454), + Column: int(27), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(454), + Column: int(11), + }, + End: ast.Location{ + Line: int(454), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "fw", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(455), + Column: int(15), + }, + End: ast.Location{ + Line: int(455), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(455), + Column: int(15), + }, + End: ast.Location{ + Line: int(455), + Column: int(19), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(455), + Column: int(11), + }, + End: ast.Location{ + Line: int(455), + Column: int(19), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(456), + Column: int(17), + }, + End: ast.Location{ + Line: int(456), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(456), + Column: int(17), + }, + End: ast.Location{ + Line: int(456), + Column: int(23), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(456), + Column: int(11), + }, + End: ast.Location{ + Line: int(456), + Column: int(23), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "ctype", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ctype", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(457), + Column: int(18), + }, + End: ast.Location{ + Line: int(457), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "v", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "ctype", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(457), + Column: int(18), + }, + End: ast.Location{ + Line: int(457), + Column: int(25), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(457), + Column: int(11), + }, + End: ast.Location{ + Line: int(457), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "ctype", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ctype", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(458), + Column: int(17), + }, + End: ast.Location{ + Line: int(458), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "ctype", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(458), + Column: int(17), + }, + End: ast.Location{ + Line: int(458), + Column: int(27), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(458), + Column: int(11), + }, + End: ast.Location{ + Line: int(458), + Column: int(27), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5172, + FreeVars: ast.Identifiers{ + "cflags", + "ctype", + "fw", + "mkey", + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(452), + Column: int(15), + }, + End: ast.Location{ + Line: int(459), + Column: int(10), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(452), + Column: int(9), + }, + End: ast.Location{ + Line: int(459), + Column: int(10), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "cflags", + "ctype", + "fw", + "mkey", + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(450), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "cflags", + "fw", + "len_mod", + "mkey", + "parse_conv_type", + "prec", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(449), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "cflags", + "fw", + "mkey", + "parse_conv_type", + "prec", + "str", + "try_parse_length_modifier", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(448), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "cflags", + "fw", + "mkey", + "parse_conv_type", + "str", + "try_parse_length_modifier", + "try_parse_precision", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(447), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "cflags", + "mkey", + "parse_conv_type", + "str", + "try_parse_field_width", + "try_parse_length_modifier", + "try_parse_precision", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "mkey", + "parse_conv_type", + "str", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_length_modifier", + "try_parse_precision", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5065, + FreeVars: ast.Identifiers{ + "i", + "parse_conv_type", + "str", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_length_modifier", + "try_parse_mapping_key", + "try_parse_precision", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(444), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Truncated format code.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5065, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(36), + }, + End: ast.Location{ + Line: int(443), + Column: int(60), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(443), + Column: int(7), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -65114,2238 +70179,93 @@ var _StdAst = &ast.DesugaredObject{ "try_parse_mapping_key", "try_parse_precision", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(14), - }, - End: ast.Location{ - Line: int(431), - Column: int(33), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(14), - }, - End: ast.Location{ - Line: int(431), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(18), - }, - End: ast.Location{ - Line: int(431), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(18), - }, - End: ast.Location{ - Line: int(431), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(18), - }, - End: ast.Location{ - Line: int(431), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(29), - }, - End: ast.Location{ - Line: int(431), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4839, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "i", - "parse_conv_type", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "mkey", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(20), - }, - End: ast.Location{ - Line: int(432), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4846, - FreeVars: ast.Identifiers{ - "i", - "str", - "try_parse_mapping_key", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(20), - }, - End: ast.Location{ - Line: int(432), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4846, - FreeVars: ast.Identifiers{ - "try_parse_mapping_key", - }, - }, - Id: "try_parse_mapping_key", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(42), - }, - End: ast.Location{ - Line: int(432), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4852, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(47), - }, - End: ast.Location{ - Line: int(432), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4852, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(13), - }, - End: ast.Location{ - Line: int(432), - Column: int(49), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "mkey", - "parse_conv_type", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_precision", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "cflags", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(22), - }, - End: ast.Location{ - Line: int(433), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4861, - FreeVars: ast.Identifiers{ - "mkey", - "str", - "try_parse_cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(22), - }, - End: ast.Location{ - Line: int(433), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4861, - FreeVars: ast.Identifiers{ - "try_parse_cflags", - }, - }, - Id: "try_parse_cflags", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(39), - }, - End: ast.Location{ - Line: int(433), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4867, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(44), - }, - End: ast.Location{ - Line: int(433), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4867, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(44), - }, - End: ast.Location{ - Line: int(433), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Id: "mkey", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(13), - }, - End: ast.Location{ - Line: int(433), - Column: int(51), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "cflags", - "mkey", - "parse_conv_type", - "str", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_precision", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "fw", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(18), - }, - End: ast.Location{ - Line: int(434), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4879, - FreeVars: ast.Identifiers{ - "cflags", - "str", - "try_parse_field_width", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(18), - }, - End: ast.Location{ - Line: int(434), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4879, - FreeVars: ast.Identifiers{ - "try_parse_field_width", - }, - }, - Id: "try_parse_field_width", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(40), - }, - End: ast.Location{ - Line: int(434), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4885, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(45), - }, - End: ast.Location{ - Line: int(434), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4885, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(45), - }, - End: ast.Location{ - Line: int(434), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(13), - }, - End: ast.Location{ - Line: int(434), - Column: int(54), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "mkey", - "parse_conv_type", - "str", - "try_parse_length_modifier", - "try_parse_precision", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "prec", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(20), - }, - End: ast.Location{ - Line: int(435), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4897, - FreeVars: ast.Identifiers{ - "fw", - "str", - "try_parse_precision", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(20), - }, - End: ast.Location{ - Line: int(435), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4897, - FreeVars: ast.Identifiers{ - "try_parse_precision", - }, - }, - Id: "try_parse_precision", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(40), - }, - End: ast.Location{ - Line: int(435), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4903, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(45), - }, - End: ast.Location{ - Line: int(435), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4903, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(45), - }, - End: ast.Location{ - Line: int(435), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(13), - }, - End: ast.Location{ - Line: int(435), - Column: int(50), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "mkey", - "parse_conv_type", - "prec", - "str", - "try_parse_length_modifier", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "len_mod", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(23), - }, - End: ast.Location{ - Line: int(436), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4915, - FreeVars: ast.Identifiers{ - "prec", - "str", - "try_parse_length_modifier", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(23), - }, - End: ast.Location{ - Line: int(436), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4915, - FreeVars: ast.Identifiers{ - "try_parse_length_modifier", - }, - }, - Id: "try_parse_length_modifier", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(49), - }, - End: ast.Location{ - Line: int(436), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4921, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(54), - }, - End: ast.Location{ - Line: int(436), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4921, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(54), - }, - End: ast.Location{ - Line: int(436), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(13), - }, - End: ast.Location{ - Line: int(436), - Column: int(61), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(437), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "len_mod", - "mkey", - "parse_conv_type", - "prec", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "ctype", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(437), - Column: int(21), - }, - End: ast.Location{ - Line: int(437), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4933, - FreeVars: ast.Identifiers{ - "len_mod", - "parse_conv_type", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(437), - Column: int(21), - }, - End: ast.Location{ - Line: int(437), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4933, - FreeVars: ast.Identifiers{ - "parse_conv_type", - }, - }, - Id: "parse_conv_type", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(437), - Column: int(37), - }, - End: ast.Location{ - Line: int(437), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4939, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(437), - Column: int(42), - }, - End: ast.Location{ - Line: int(437), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4939, - FreeVars: ast.Identifiers{ - "len_mod", - }, - }, - Id: "len_mod", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(437), - Column: int(13), - }, - End: ast.Location{ - Line: int(437), - Column: int(50), - }, - File: p1, - }, - }, - }, - Body: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(438), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p4826, - FreeVars: ast.Identifiers{ - "cflags", - "ctype", - "fw", - "mkey", - "prec", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(439), - Column: int(12), - }, - End: ast.Location{ - Line: int(439), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4949, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(439), - Column: int(12), - }, - End: ast.Location{ - Line: int(439), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Id: "ctype", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(439), - Column: int(9), - }, - End: ast.Location{ - Line: int(439), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "code", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(440), - Column: int(15), - }, - End: ast.Location{ - Line: int(447), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4949, - FreeVars: ast.Identifiers{ - "cflags", - "ctype", - "fw", - "mkey", - "prec", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mkey", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(441), - Column: int(17), - }, - End: ast.Location{ - Line: int(441), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(441), - Column: int(17), - }, - End: ast.Location{ - Line: int(441), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Id: "mkey", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(441), - Column: int(11), - }, - End: ast.Location{ - Line: int(441), - Column: int(23), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "cflags", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(442), - Column: int(19), - }, - End: ast.Location{ - Line: int(442), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(442), - Column: int(19), - }, - End: ast.Location{ - Line: int(442), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(442), - Column: int(11), - }, - End: ast.Location{ - Line: int(442), - Column: int(27), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(15), - }, - End: ast.Location{ - Line: int(443), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(15), - }, - End: ast.Location{ - Line: int(443), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(11), - }, - End: ast.Location{ - Line: int(443), - Column: int(19), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prec", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(17), - }, - End: ast.Location{ - Line: int(444), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(17), - }, - End: ast.Location{ - Line: int(444), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(11), - }, - End: ast.Location{ - Line: int(444), - Column: int(23), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(18), - }, - End: ast.Location{ - Line: int(445), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(18), - }, - End: ast.Location{ - Line: int(445), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Id: "ctype", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(11), - }, - End: ast.Location{ - Line: int(445), - Column: int(25), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(17), - }, - End: ast.Location{ - Line: int(446), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(17), - }, - End: ast.Location{ - Line: int(446), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Id: "ctype", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(11), - }, - End: ast.Location{ - Line: int(446), - Column: int(27), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(440), - Column: int(9), - }, - End: ast.Location{ - Line: int(447), - Column: int(10), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - }, - }, - }, - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(7), - }, - End: ast.Location{ - Line: int(448), - Column: int(8), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(36), - }, - End: ast.Location{ - Line: int(431), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p4826, - FreeVars: ast.Identifiers{}, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(442), + Column: int(22), + }, + End: ast.Location{ + Line: int(442), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(442), + Column: int(27), + }, + End: ast.Location{ + Line: int(442), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5233, + FreeVars: ast.Identifiers{ + "parse_conv_type", + "std", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_length_modifier", + "try_parse_mapping_key", + "try_parse_precision", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(442), + Column: int(11), + }, + End: ast.Location{ + Line: int(460), + Column: int(8), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "parse_code", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -67355,303 +70275,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Parse a format string (containing none or more % format tags).", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "parse_code", - "std", - "str", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "parse_codes", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(11), - }, - End: ast.Location{ - Line: int(460), - Column: int(48), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5003, - FreeVars: ast.Identifiers{ - "parse_code", - "parse_codes", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(23), - }, - End: ast.Location{ - Line: int(451), - Column: int(26), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(28), - }, - End: ast.Location{ - Line: int(451), - Column: int(29), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "out", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(31), - }, - End: ast.Location{ - Line: int(451), - Column: int(34), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cur", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(36), - }, - End: ast.Location{ - Line: int(451), - Column: int(39), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "cur", - "i", - "out", - "parse_code", - "parse_codes", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(10), - }, - End: ast.Location{ - Line: int(452), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(10), - }, - End: ast.Location{ - Line: int(452), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(15), - }, - End: ast.Location{ - Line: int(452), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(15), - }, - End: ast.Location{ - Line: int(452), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(15), - }, - End: ast.Location{ - Line: int(452), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(464), + Column: int(15), + }, + End: ast.Location{ + Line: int(464), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -67661,314 +70330,1233 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(464), + Column: int(15), + }, + End: ast.Location{ + Line: int(464), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(26), - }, - End: ast.Location{ - Line: int(452), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5023, + Ctx: p5249, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(464), + Column: int(26), + }, + End: ast.Location{ + Line: int(464), + Column: int(29), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(9), - }, - End: ast.Location{ - Line: int(453), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "cur", - "out", - }, - }, - Left: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(9), - }, - End: ast.Location{ - Line: int(453), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p5008, + Fodder: ast.Fodder{}, + Ctx: p5245, FreeVars: ast.Identifiers{ - "out", + "std", + "str", }, - }, - Id: "out", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(453), + Line: int(464), Column: int(15), }, End: ast.Location{ - Line: int(453), - Column: int(20), + Line: int(464), + Column: int(30), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "cur", }, }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(464), + Column: int(10), + }, + End: ast.Location{ + Line: int(464), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(464), + Column: int(10), + }, + End: ast.Location{ + Line: int(464), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Array{ Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "cur", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(16), - }, - End: ast.Location{ - Line: int(453), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5034, + Ctx: p5259, FreeVars: ast.Identifiers{ "cur", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(465), + Column: int(16), + }, + End: ast.Location{ + Line: int(465), + Column: int(19), + }, + }, }, - Id: "cur", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(465), + Column: int(15), + }, + End: ast.Location{ + Line: int(465), + Column: int(20), + }, + }, + }, + TrailingComma: false, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Left: &ast.Var{ + Id: "out", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "out", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(465), + Column: int(9), + }, + End: ast.Location{ + Line: int(465), + Column: int(12), + }, + }, + }, }, - }, - BranchFalse: &ast.Local{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "cur", + "out", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(455), + Line: int(465), Column: int(9), }, End: ast.Location{ - Line: int(460), - Column: int(48), + Line: int(465), + Column: int(20), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "cur", - "i", - "out", - "parse_code", - "parse_codes", - "str", }, }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "c", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(19), + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5270, + FreeVars: ast.Identifiers{ + "str", }, - End: ast.Location{ - Line: int(455), - Column: int(25), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(467), + Column: int(19), + }, + End: ast.Location{ + Line: int(467), + Column: int(22), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5270, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(467), + Column: int(23), + }, + End: ast.Location{ + Line: int(467), + Column: int(24), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5042, + Ctx: p5270, FreeVars: ast.Identifiers{ "i", "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(19), - }, - End: ast.Location{ - Line: int(455), - Column: int(22), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(467), + Column: int(19), }, - Fodder: ast.Fodder{}, - Ctx: p5042, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(467), + Column: int(25), }, }, - Id: "str", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(23), - }, - End: ast.Location{ - Line: int(455), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5042, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "c", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(455), + Line: int(467), Column: int(15), }, End: ast.Location{ - Line: int(455), + Line: int(467), Column: int(25), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(456), - Column: int(9), + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(468), + Column: int(17), + }, + End: ast.Location{ + Line: int(468), + Column: int(20), + }, + }, }, - End: ast.Location{ - Line: int(460), - Column: int(48), - }, - File: p1, + Kind: ast.LiteralStringKind(1), }, + Left: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(468), + Column: int(12), + }, + End: ast.Location{ + Line: int(468), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(468), + Column: int(12), + }, + End: ast.Location{ + Line: int(468), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "parse_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5285, + FreeVars: ast.Identifiers{ + "parse_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(21), + }, + End: ast.Location{ + Line: int(469), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5289, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(32), + }, + End: ast.Location{ + Line: int(469), + Column: int(35), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5289, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(41), + }, + End: ast.Location{ + Line: int(469), + Column: int(42), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5289, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(37), + }, + End: ast.Location{ + Line: int(469), + Column: int(38), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5289, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(37), + }, + End: ast.Location{ + Line: int(469), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5285, + FreeVars: ast.Identifiers{ + "i", + "parse_code", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(21), + }, + End: ast.Location{ + Line: int(469), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "r", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(17), + }, + End: ast.Location{ + Line: int(469), + Column: int(43), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "parse_codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "parse_codes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(11), + }, + End: ast.Location{ + Line: int(470), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5303, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(23), + }, + End: ast.Location{ + Line: int(470), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(28), + }, + End: ast.Location{ + Line: int(470), + Column: int(29), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "i", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5303, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(28), + }, + End: ast.Location{ + Line: int(470), + Column: int(31), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "cur", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5314, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(40), + }, + End: ast.Location{ + Line: int(470), + Column: int(43), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(45), + }, + End: ast.Location{ + Line: int(470), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "code", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5314, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(45), + }, + End: ast.Location{ + Line: int(470), + Column: int(51), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5303, + FreeVars: ast.Identifiers{ + "cur", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(39), + }, + End: ast.Location{ + Line: int(470), + Column: int(52), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "out", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5303, + FreeVars: ast.Identifiers{ + "out", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(33), + }, + End: ast.Location{ + Line: int(470), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5303, + FreeVars: ast.Identifiers{ + "cur", + "out", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(33), + }, + End: ast.Location{ + Line: int(470), + Column: int(52), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5303, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(54), + }, + End: ast.Location{ + Line: int(470), + Column: int(56), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "cur", + "out", + "parse_codes", + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(470), + Column: int(11), + }, + End: ast.Location{ + Line: int(470), + Column: int(57), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "cur", + "i", + "out", + "parse_code", + "parse_codes", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(469), + Column: int(11), + }, + End: ast.Location{ + Line: int(470), + Column: int(57), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "parse_codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "parse_codes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(11), + }, + End: ast.Location{ + Line: int(472), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(23), + }, + End: ast.Location{ + Line: int(472), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(32), + }, + End: ast.Location{ + Line: int(472), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(28), + }, + End: ast.Location{ + Line: int(472), + Column: int(29), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(28), + }, + End: ast.Location{ + Line: int(472), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "out", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{ + "out", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(35), + }, + End: ast.Location{ + Line: int(472), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "c", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{ + "c", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(46), + }, + End: ast.Location{ + Line: int(472), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cur", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{ + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(40), + }, + End: ast.Location{ + Line: int(472), + Column: int(43), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5335, + FreeVars: ast.Identifiers{ + "c", + "cur", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(40), + }, + End: ast.Location{ + Line: int(472), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "c", + "cur", + "i", + "out", + "parse_codes", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(11), + }, + End: ast.Location{ + Line: int(472), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p5008, + Ctx: p5245, FreeVars: ast.Identifiers{ "c", "cur", @@ -67978,907 +71566,201 @@ var _StdAst = &ast.DesugaredObject{ "parse_codes", "str", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(456), - Column: int(12), - }, - End: ast.Location{ - Line: int(456), - Column: int(20), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(468), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "c", + End: ast.Location{ + Line: int(472), + Column: int(48), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(456), - Column: int(12), - }, - End: ast.Location{ - Line: int(456), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(456), - Column: int(17), - }, - End: ast.Location{ - Line: int(456), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(11), - }, - End: ast.Location{ - Line: int(458), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "cur", - "i", - "out", - "parse_code", - "parse_codes", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "r", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(21), - }, - End: ast.Location{ - Line: int(457), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5061, - FreeVars: ast.Identifiers{ - "i", - "parse_code", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(21), - }, - End: ast.Location{ - Line: int(457), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5061, - FreeVars: ast.Identifiers{ - "parse_code", - }, - }, - Id: "parse_code", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(32), - }, - End: ast.Location{ - Line: int(457), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5067, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(37), - }, - End: ast.Location{ - Line: int(457), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5067, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(37), - }, - End: ast.Location{ - Line: int(457), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5067, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(41), - }, - End: ast.Location{ - Line: int(457), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5067, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(17), - }, - End: ast.Location{ - Line: int(457), - Column: int(43), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(11), - }, - End: ast.Location{ - Line: int(458), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "cur", - "out", - "parse_codes", - "r", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(11), - }, - End: ast.Location{ - Line: int(458), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "parse_codes", - }, - }, - Id: "parse_codes", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(23), - }, - End: ast.Location{ - Line: int(458), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5081, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(28), - }, - End: ast.Location{ - Line: int(458), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5081, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(28), - }, - End: ast.Location{ - Line: int(458), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(33), - }, - End: ast.Location{ - Line: int(458), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5081, - FreeVars: ast.Identifiers{ - "cur", - "out", - "r", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(33), - }, - End: ast.Location{ - Line: int(458), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5081, - FreeVars: ast.Identifiers{ - "out", - }, - }, - Id: "out", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(39), - }, - End: ast.Location{ - Line: int(458), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5081, - FreeVars: ast.Identifiers{ - "cur", - "r", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(40), - }, - End: ast.Location{ - Line: int(458), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5096, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(45), - }, - End: ast.Location{ - Line: int(458), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5096, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(45), - }, - End: ast.Location{ - Line: int(458), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "code", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(54), - }, - End: ast.Location{ - Line: int(458), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5081, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - ElseFodder: ast.Fodder{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(11), - }, - End: ast.Location{ - Line: int(460), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "c", - "cur", - "i", - "out", - "parse_codes", - "str", - }, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "cur", + "i", + "out", + "parse_code", + "parse_codes", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(467), + Column: int(9), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(11), - }, - End: ast.Location{ - Line: int(460), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5008, - FreeVars: ast.Identifiers{ - "parse_codes", - }, - }, - Id: "parse_codes", + End: ast.Location{ + Line: int(472), + Column: int(48), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(23), - }, - End: ast.Location{ - Line: int(460), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(28), - }, - End: ast.Location{ - Line: int(460), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(28), - }, - End: ast.Location{ - Line: int(460), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(32), - }, - End: ast.Location{ - Line: int(460), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(35), - }, - End: ast.Location{ - Line: int(460), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "out", - }, - }, - Id: "out", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(40), - }, - End: ast.Location{ - Line: int(460), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "c", - "cur", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(40), - }, - End: ast.Location{ - Line: int(460), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(460), - Column: int(46), - }, - End: ast.Location{ - Line: int(460), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5245, + FreeVars: ast.Identifiers{ + "cur", + "i", + "out", + "parse_code", + "parse_codes", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(464), + Column: int(7), + }, + End: ast.Location{ + Line: int(472), + Column: int(48), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(463), + Column: int(23), + }, + End: ast.Location{ + Line: int(463), + Column: int(26), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(463), + Column: int(28), + }, + End: ast.Location{ + Line: int(463), + Column: int(29), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "out", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(463), + Column: int(31), + }, + End: ast.Location{ + Line: int(463), + Column: int(34), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cur", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(463), + Column: int(36), + }, + End: ast.Location{ + Line: int(463), + Column: int(39), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5360, + FreeVars: ast.Identifiers{ + "parse_code", + "parse_codes", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(463), + Column: int(11), + }, + End: ast.Location{ + Line: int(472), + Column: int(48), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "parse_codes", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -68888,780 +71770,602 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(462), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "parse_codes", - "std", - "str", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "codes", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(462), - Column: int(19), - }, - End: ast.Location{ - Line: int(462), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5132, - FreeVars: ast.Identifiers{ - "parse_codes", - "str", - }, - }, Target: &ast.Var{ + Id: "parse_codes", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(462), - Column: int(19), - }, - End: ast.Location{ - Line: int(462), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5132, + Ctx: p5366, FreeVars: ast.Identifiers{ "parse_codes", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(474), + Column: int(19), + }, + End: ast.Location{ + Line: int(474), + Column: int(30), + }, + }, }, - Id: "parse_codes", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(462), - Column: int(31), - }, - End: ast.Location{ - Line: int(462), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5138, + Ctx: p5370, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(474), + Column: int(31), + }, + End: ast.Location{ + Line: int(474), + Column: int(34), + }, + }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5370, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(462), + Line: int(474), Column: int(36), }, End: ast.Location{ - Line: int(462), + Line: int(474), Column: int(37), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5138, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5370, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(462), + Line: int(474), Column: int(39), }, End: ast.Location{ - Line: int(462), + Line: int(474), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5138, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5370, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(462), + Line: int(474), Column: int(43), }, End: ast.Location{ - Line: int(462), + Line: int(474), Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5138, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5366, + FreeVars: ast.Identifiers{ + "parse_codes", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(474), + Column: int(19), + }, + End: ast.Location{ + Line: int(474), + Column: int(46), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "codes", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(462), + Line: int(474), Column: int(11), }, End: ast.Location{ - Line: int(462), + Line: int(474), Column: int(46), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(2), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "///////////////////////", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Format the values //", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(1), - Indent: int(4), - Comment: []string{ - "///////////////////////", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Useful utilities", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "std", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "padding", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(11), - }, - End: ast.Location{ - Line: int(476), - Column: int(17), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5152, - FreeVars: ast.Identifiers{}, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(19), - }, - End: ast.Location{ - Line: int(470), - Column: int(20), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "s", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(22), - }, - End: ast.Location{ - Line: int(470), - Column: int(23), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(471), - Column: int(7), - }, - End: ast.Location{ - Line: int(476), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5156, - FreeVars: ast.Identifiers{ - "s", - "w", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(471), - Column: int(13), - }, - End: ast.Location{ - Line: int(475), - Column: int(28), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5160, - FreeVars: ast.Identifiers{ - "aux", - "s", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(471), - Column: int(17), - }, - End: ast.Location{ - Line: int(471), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(471), - Column: int(20), - }, - End: ast.Location{ - Line: int(471), - Column: int(21), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(9), - }, - End: ast.Location{ - Line: int(475), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p5165, - FreeVars: ast.Identifiers{ - "aux", - "s", - "v", - "w", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(12), - }, - End: ast.Location{ - Line: int(472), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5165, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(12), - }, - End: ast.Location{ - Line: int(472), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5165, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Id: "w", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5385, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(472), + Line: int(484), Column: int(17), }, End: ast.Location{ - Line: int(472), + Line: int(484), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5165, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + Left: &ast.Var{ + Id: "w", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5385, + FreeVars: ast.Identifiers{ + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(484), + Column: int(12), + }, + End: ast.Location{ + Line: int(484), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5385, + FreeVars: ast.Identifiers{ + "w", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(473), - Column: int(11), - }, - End: ast.Location{ - Line: int(473), + Line: int(484), Column: int(12), }, - File: p1, + End: ast.Location{ + Line: int(484), + Column: int(18), + }, }, + }, + Op: ast.BinaryOp(10), + }, + BranchTrue: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p5165, + Ctx: p5385, FreeVars: ast.Identifiers{ "v", }, - }, - Id: "v", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(475), + Line: int(485), Column: int(11), }, End: ast.Location{ - Line: int(475), - Column: int(28), + Line: int(485), + Column: int(12), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5165, - FreeVars: ast.Identifiers{ - "aux", - "s", - "v", - "w", }, }, + }, + BranchFalse: &ast.Apply{ Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(11), - }, - End: ast.Location{ - Line: int(475), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p5165, + Ctx: p5385, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(487), + Column: int(11), + }, + End: ast.Location{ + Line: int(487), + Column: int(14), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(15), - }, - End: ast.Location{ - Line: int(475), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5183, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(15), - }, - End: ast.Location{ - Line: int(475), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5183, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Id: "w", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5399, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(475), + Line: int(487), Column: int(19), }, End: ast.Location{ - Line: int(475), + Line: int(487), Column: int(20), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5183, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, + Left: &ast.Var{ + Id: "w", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5399, + FreeVars: ast.Identifiers{ + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(487), + Column: int(15), + }, + End: ast.Location{ + Line: int(487), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5399, + FreeVars: ast.Identifiers{ + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(487), + Column: int(15), + }, + End: ast.Location{ + Line: int(487), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(22), + Right: &ast.Var{ + Id: "s", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5399, + FreeVars: ast.Identifiers{ + "s", }, - End: ast.Location{ - Line: int(475), - Column: int(27), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(487), + Column: int(26), + }, + End: ast.Location{ + Line: int(487), + Column: int(27), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5399, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(487), + Column: int(22), + }, + End: ast.Location{ + Line: int(487), + Column: int(23), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5183, + Ctx: p5399, FreeVars: ast.Identifiers{ "s", "v", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(22), - }, - End: ast.Location{ - Line: int(475), - Column: int(23), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(487), + Column: int(22), }, - Fodder: ast.Fodder{}, - Ctx: p5183, - FreeVars: ast.Identifiers{ - "v", + End: ast.Location{ + Line: int(487), + Column: int(27), }, }, - Id: "v", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(26), - }, - End: ast.Location{ - Line: int(475), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5183, - FreeVars: ast.Identifiers{ - "s", - }, - }, - Id: "s", - }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5385, + FreeVars: ast.Identifiers{ + "aux", + "s", + "v", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(487), + Column: int(11), + }, + End: ast.Location{ + Line: int(487), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p5385, + FreeVars: ast.Identifiers{ + "aux", + "s", + "v", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(484), + Column: int(9), + }, + End: ast.Location{ + Line: int(487), + Column: int(28), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "w", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(483), + Column: int(17), + }, + End: ast.Location{ + Line: int(483), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(483), + Column: int(20), + }, + End: ast.Location{ + Line: int(483), + Column: int(21), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5414, + FreeVars: ast.Identifiers{ + "aux", + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(483), + Column: int(13), + }, + End: ast.Location{ + Line: int(487), + Column: int(28), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -69671,127 +72375,214 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(476), - Column: int(7), - }, - End: ast.Location{ - Line: int(476), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5156, - FreeVars: ast.Identifiers{ - "aux", - "w", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(476), - Column: int(7), - }, - End: ast.Location{ - Line: int(476), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p5156, + Ctx: p5419, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(488), + Column: int(7), + }, + End: ast.Location{ + Line: int(488), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "w", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(476), - Column: int(11), - }, - End: ast.Location{ - Line: int(476), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5201, + Ctx: p5423, FreeVars: ast.Identifiers{ "w", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(488), + Column: int(11), + }, + End: ast.Location{ + Line: int(488), + Column: int(12), + }, + }, }, - Id: "w", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5423, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(476), + Line: int(488), Column: int(14), }, End: ast.Location{ - Line: int(476), + Line: int(488), Column: int(16), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5201, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5419, + FreeVars: ast.Identifiers{ + "aux", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(488), + Column: int(7), + }, + End: ast.Location{ + Line: int(488), + Column: int(17), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5419, + FreeVars: ast.Identifiers{ + "s", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(483), + Column: int(7), + }, + End: ast.Location{ + Line: int(488), + Column: int(17), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "w", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(482), + Column: int(19), + }, + End: ast.Location{ + Line: int(482), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "s", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(482), + Column: int(22), + }, + End: ast.Location{ + Line: int(482), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5430, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(482), + Column: int(11), + }, + End: ast.Location{ + Line: int(488), + Column: int(17), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "padding", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -69801,153 +72592,308 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Add s to the left of str so that its length is at least w.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "padding", - "std", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "pad_left", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(11), - }, - End: ast.Location{ - Line: int(480), - Column: int(44), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5210, - FreeVars: ast.Identifiers{ - "padding", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(20), - }, - End: ast.Location{ - Line: int(479), - Column: int(23), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(25), - }, - End: ast.Location{ - Line: int(479), - Column: int(26), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "s", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(28), - }, - End: ast.Location{ - Line: int(479), - Column: int(29), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(7), + Right: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5436, + FreeVars: ast.Identifiers{ + "str", }, - End: ast.Location{ - Line: int(480), - Column: int(44), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(41), + }, + End: ast.Location{ + Line: int(492), + Column: int(44), + }, }, - File: p1, }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "padding", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5436, + FreeVars: ast.Identifiers{ + "padding", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(7), + }, + End: ast.Location{ + Line: int(492), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(19), + }, + End: ast.Location{ + Line: int(492), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5449, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(19), + }, + End: ast.Location{ + Line: int(492), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5453, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(30), + }, + End: ast.Location{ + Line: int(492), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5449, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(19), + }, + End: ast.Location{ + Line: int(492), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "w", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5449, + FreeVars: ast.Identifiers{ + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(15), + }, + End: ast.Location{ + Line: int(492), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5449, + FreeVars: ast.Identifiers{ + "std", + "str", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(15), + }, + End: ast.Location{ + Line: int(492), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "s", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5449, + FreeVars: ast.Identifiers{ + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(36), + }, + End: ast.Location{ + Line: int(492), + Column: int(37), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5436, + FreeVars: ast.Identifiers{ + "padding", + "s", + "std", + "str", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(7), + }, + End: ast.Location{ + Line: int(492), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5214, + Ctx: p5436, FreeVars: ast.Identifiers{ "padding", "s", @@ -69955,301 +72901,108 @@ var _StdAst = &ast.DesugaredObject{ "str", "w", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(492), + Column: int(7), + }, + End: ast.Location{ + Line: int(492), + Column: int(44), + }, + }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(7), - }, - End: ast.Location{ - Line: int(480), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5214, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(7), - }, - End: ast.Location{ - Line: int(480), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5214, - FreeVars: ast.Identifiers{ - "padding", - }, - }, - Id: "padding", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(15), - }, - End: ast.Location{ - Line: int(480), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5223, - FreeVars: ast.Identifiers{ - "std", - "str", - "w", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(15), - }, - End: ast.Location{ - Line: int(480), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5223, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Id: "w", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(19), - }, - End: ast.Location{ - Line: int(480), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5223, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(19), - }, - End: ast.Location{ - Line: int(480), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5223, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(19), - }, - End: ast.Location{ - Line: int(480), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(30), - }, - End: ast.Location{ - Line: int(480), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5236, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(36), - }, - End: ast.Location{ - Line: int(480), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5223, - FreeVars: ast.Identifiers{ - "s", - }, - }, - Id: "s", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(480), - Column: int(41), - }, - End: ast.Location{ - Line: int(480), - Column: int(44), - }, - File: p1, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(491), + Column: int(20), }, - Fodder: ast.Fodder{}, - Ctx: p5214, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(491), + Column: int(23), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "w", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(491), + Column: int(25), + }, + End: ast.Location{ + Line: int(491), + Column: int(26), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "s", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(491), + Column: int(28), + }, + End: ast.Location{ + Line: int(491), + Column: int(29), }, }, - Id: "str", }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5464, + FreeVars: ast.Identifiers{ + "padding", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(491), + Column: int(11), + }, + End: ast.Location{ + Line: int(492), + Column: int(44), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "pad_left", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -70259,209 +73012,252 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Add s to the right of str so that its length is at least w.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "padding", - "std", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "pad_right", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(11), - }, - End: ast.Location{ - Line: int(484), - Column: int(44), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5248, - FreeVars: ast.Identifiers{ - "padding", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(21), - }, - End: ast.Location{ - Line: int(483), - Column: int(24), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(26), - }, - End: ast.Location{ - Line: int(483), - Column: int(27), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "s", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(29), - }, - End: ast.Location{ - Line: int(483), - Column: int(30), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(7), - }, - End: ast.Location{ - Line: int(484), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5252, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(7), - }, - End: ast.Location{ - Line: int(484), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5252, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(13), + Target: &ast.Var{ + Id: "padding", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5472, + FreeVars: ast.Identifiers{ + "padding", }, - End: ast.Location{ - Line: int(484), - Column: int(44), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(13), + }, + End: ast.Location{ + Line: int(496), + Column: int(20), + }, }, - File: p1, }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(25), + }, + End: ast.Location{ + Line: int(496), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5481, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(25), + }, + End: ast.Location{ + Line: int(496), + Column: int(35), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5485, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(36), + }, + End: ast.Location{ + Line: int(496), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5481, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(25), + }, + End: ast.Location{ + Line: int(496), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "w", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5481, + FreeVars: ast.Identifiers{ + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(21), + }, + End: ast.Location{ + Line: int(496), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5481, + FreeVars: ast.Identifiers{ + "std", + "str", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(21), + }, + End: ast.Location{ + Line: int(496), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "s", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5481, + FreeVars: ast.Identifiers{ + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(42), + }, + End: ast.Location{ + Line: int(496), + Column: int(43), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5252, + Ctx: p5472, FreeVars: ast.Identifiers{ "padding", "s", @@ -70469,610 +73265,2056 @@ var _StdAst = &ast.DesugaredObject{ "str", "w", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(13), - }, - End: ast.Location{ - Line: int(484), - Column: int(20), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p5252, - FreeVars: ast.Identifiers{ - "padding", + End: ast.Location{ + Line: int(496), + Column: int(44), }, }, - Id: "padding", }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(21), + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5472, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(7), + }, + End: ast.Location{ + Line: int(496), + Column: int(10), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5472, + FreeVars: ast.Identifiers{ + "padding", + "s", + "std", + "str", + "w", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(496), + Column: int(7), + }, + End: ast.Location{ + Line: int(496), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(495), + Column: int(21), + }, + End: ast.Location{ + Line: int(495), + Column: int(24), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "w", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(495), + Column: int(26), + }, + End: ast.Location{ + Line: int(495), + Column: int(27), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "s", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(495), + Column: int(29), + }, + End: ast.Location{ + Line: int(495), + Column: int(30), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5499, + FreeVars: ast.Identifiers{ + "padding", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(495), + Column: int(11), + }, + End: ast.Location{ + Line: int(496), + Column: int(44), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "pad_right", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(514), + Column: int(19), + }, + End: ast.Location{ + Line: int(514), + Column: int(20), + }, }, - End: ast.Location{ - Line: int(484), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5263, - FreeVars: ast.Identifiers{ - "std", - "str", - "w", }, }, Left: &ast.Var{ + Id: "mag", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: ast.Identifiers{ + "mag", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(484), - Column: int(21), + Line: int(514), + Column: int(12), }, End: ast.Location{ - Line: int(484), - Column: int(22), + Line: int(514), + Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5263, - FreeVars: ast.Identifiers{ - "w", }, }, - Id: "w", }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(25), - }, - End: ast.Location{ - Line: int(484), - Column: int(40), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: ast.Identifiers{ + "mag", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(514), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p5263, - FreeVars: ast.Identifiers{ - "std", - "str", + End: ast.Location{ + Line: int(514), + Column: int(20), }, }, - Target: &ast.Index{ + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5509, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(515), + Column: int(11), + }, + End: ast.Location{ + Line: int(515), + Column: int(14), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5521, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(518), + Column: int(21), + }, + End: ast.Location{ + Line: int(518), + Column: int(22), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(518), + Column: int(16), + }, + End: ast.Location{ + Line: int(518), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(518), + Column: int(16), + }, + End: ast.Location{ + Line: int(518), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Var{ + Id: "zero_prefix", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "zero_prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(519), + Column: int(15), + }, + End: ast.Location{ + Line: int(519), + Column: int(26), + }, + }, + }, + }, + BranchFalse: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(44), + }, + End: ast.Location{ + Line: int(521), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "radix", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "radix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(48), + }, + End: ast.Location{ + Line: int(521), + Column: int(53), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "n", + "radix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(44), + }, + End: ast.Location{ + Line: int(521), + Column: int(53), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(15), + }, + End: ast.Location{ + Line: int(521), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(19), + }, + End: ast.Location{ + Line: int(521), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5551, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(19), + }, + End: ast.Location{ + Line: int(521), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "radix", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5556, + FreeVars: ast.Identifiers{ + "radix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(33), + }, + End: ast.Location{ + Line: int(521), + Column: int(38), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5556, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(29), + }, + End: ast.Location{ + Line: int(521), + Column: int(30), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5556, + FreeVars: ast.Identifiers{ + "n", + "radix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(29), + }, + End: ast.Location{ + Line: int(521), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5551, + FreeVars: ast.Identifiers{ + "n", + "radix", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(19), + }, + End: ast.Location{ + Line: int(521), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "aux", + "n", + "radix", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(15), + }, + End: ast.Location{ + Line: int(521), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "n", + "radix", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(15), + }, + End: ast.Location{ + Line: int(521), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p5521, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "n", + "radix", + "std", + "zero_prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(518), + Column: int(13), + }, + End: ast.Location{ + Line: int(521), + Column: int(54), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "n", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(517), + Column: int(21), + }, + End: ast.Location{ + Line: int(517), + Column: int(22), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5568, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "radix", + "std", + "zero_prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(517), + Column: int(17), + }, + End: ast.Location{ + Line: int(521), + Column: int(54), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "aux", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5509, + FreeVars: ast.Identifiers{ + "aux", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(484), - Column: int(25), + Line: int(522), + Column: int(11), }, End: ast.Location{ - Line: int(484), - Column: int(35), + Line: int(522), + Column: int(14), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5263, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(25), - }, - End: ast.Location{ - Line: int(484), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "mag", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5576, + FreeVars: ast.Identifiers{ + "mag", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(484), - Column: int(36), + Line: int(522), + Column: int(15), }, End: ast.Location{ - Line: int(484), - Column: int(39), + Line: int(522), + Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5276, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: ast.Identifiers{ + "aux", + "mag", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(522), + Column: int(11), + }, + End: ast.Location{ + Line: int(522), + Column: int(19), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5509, + FreeVars: ast.Identifiers{ + "$std", + "mag", + "radix", + "std", + "zero_prefix", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(484), - Column: int(42), + Line: int(517), + Column: int(11), }, End: ast.Location{ - Line: int(484), - Column: int(43), + Line: int(522), + Column: int(19), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5263, - FreeVars: ast.Identifiers{ - "s", }, }, - Id: "s", }, - CommaFodder: nil, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p5509, + FreeVars: ast.Identifiers{ + "$std", + "mag", + "radix", + "std", + "zero_prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(514), + Column: int(9), + }, + End: ast.Location{ + Line: int(522), + Column: int(19), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "dec", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(513), + Column: int(13), + }, + End: ast.Location{ + Line: int(522), + Column: int(19), + }, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Render a sign & magnitude integer (radix ranges from decimal to binary).", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// neg should be a boolean, and when true indicates that we should render a negative number.", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// mag must always be a whole number >= 0, it's the magnitude of the integer to render", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// min_chars must be a whole number >= 0", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// It is the field width, i.e. std.length() of the result should be >= min_chars", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// min_digits must be a whole number >= 0. It's the number of zeroes to pad with.", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// blank must be a boolean, if true adds an additional ' ' in front of a positive number, so", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// that it is aligned with negative numbers with the same number of digits.", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// plus must be a boolean, if true adds a '+' in front of a positive number, so that it is", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// aligned with negative numbers with the same number of digits. This takes precedence over", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// blank, if both are true.", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// radix must be a whole number >1 and <= 10. It is the base of the system of numerals.", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// zero_prefix is a string prefixed before the sign to all numbers that are not 0.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "render_int", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(11), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5298, - FreeVars: ast.Identifiers{ - "$std", - "pad_left", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "neg", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(22), + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "plus", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(50), + }, + End: ast.Location{ + Line: int(523), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "blank", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(41), + }, + End: ast.Location{ + Line: int(523), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "neg", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "neg", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(34), + }, + End: ast.Location{ + Line: int(523), + Column: int(37), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "blank", + "neg", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(34), + }, + End: ast.Location{ + Line: int(523), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "blank", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(34), + }, + End: ast.Location{ + Line: int(523), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(60), + }, + End: ast.Location{ + Line: int(523), + Column: int(61), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(67), + }, + End: ast.Location{ + Line: int(523), + Column: int(68), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "blank", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(31), + }, + End: ast.Location{ + Line: int(523), + Column: int(68), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "min_chars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "min_chars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(18), + }, + End: ast.Location{ + Line: int(523), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5590, + FreeVars: ast.Identifiers{ + "blank", + "min_chars", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(18), + }, + End: ast.Location{ + Line: int(523), + Column: int(69), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + EqFodder: ast.Fodder{}, + Variable: "zp", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(13), + }, + End: ast.Location{ + Line: int(523), + Column: int(69), + }, + }, }, - End: ast.Location{ - Line: int(499), - Column: int(25), + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(524), + Column: int(19), + }, + End: ast.Location{ + Line: int(524), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "max", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5612, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(524), + Column: int(19), + }, + End: ast.Location{ + Line: int(524), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5616, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(524), + Column: int(27), + }, + End: ast.Location{ + Line: int(524), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "min_digits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5616, + FreeVars: ast.Identifiers{ + "min_digits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(524), + Column: int(31), + }, + End: ast.Location{ + Line: int(524), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5612, + FreeVars: ast.Identifiers{ + "min_digits", + "std", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(524), + Column: int(19), + }, + End: ast.Location{ + Line: int(524), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "zp2", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(524), + Column: int(13), + }, + End: ast.Location{ + Line: int(524), + Column: int(42), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "pad_left", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5625, + FreeVars: ast.Identifiers{ + "pad_left", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(525), + Column: int(20), + }, + End: ast.Location{ + Line: int(525), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "dec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5629, + FreeVars: ast.Identifiers{ + "dec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(525), + Column: int(29), + }, + End: ast.Location{ + Line: int(525), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5629, + FreeVars: ast.Identifiers{ + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(525), + Column: int(34), + }, + End: ast.Location{ + Line: int(525), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5629, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(525), + Column: int(39), + }, + End: ast.Location{ + Line: int(525), + Column: int(42), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5625, + FreeVars: ast.Identifiers{ + "dec", + "pad_left", + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(525), + Column: int(20), + }, + End: ast.Location{ + Line: int(525), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "dec2", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(525), + Column: int(13), + }, + End: ast.Location{ + Line: int(525), + Column: int(43), + }, + }, + }, + }, + Body: &ast.Binary{ + Right: &ast.Var{ + Id: "dec2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "dec2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(80), + }, + End: ast.Location{ + Line: int(526), + Column: int(84), + }, + }, + }, + }, + Left: &ast.Conditional{ + Cond: &ast.Var{ + Id: "neg", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "neg", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(11), + }, + End: ast.Location{ + Line: int(526), + Column: int(14), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(20), + }, + End: ast.Location{ + Line: int(526), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Var{ + Id: "plus", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(32), + }, + End: ast.Location{ + Line: int(526), + Column: int(36), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "+", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(42), + }, + End: ast.Location{ + Line: int(526), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Var{ + Id: "blank", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(54), + }, + End: ast.Location{ + Line: int(526), + Column: int(59), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(65), + }, + End: ast.Location{ + Line: int(526), + Column: int(68), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(74), + }, + End: ast.Location{ + Line: int(526), + Column: int(76), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(51), + }, + End: ast.Location{ + Line: int(526), + Column: int(76), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(29), + }, + End: ast.Location{ + Line: int(526), + Column: int(76), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(8), + }, + End: ast.Location{ + Line: int(526), + Column: int(76), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + "dec2", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(526), + Column: int(7), + }, + End: ast.Location{ + Line: int(526), + Column: int(84), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + "dec", + "neg", + "pad_left", + "plus", + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(525), + Column: int(7), + }, + End: ast.Location{ + Line: int(526), + Column: int(84), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + "dec", + "min_digits", + "neg", + "pad_left", + "plus", + "std", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(524), + Column: int(7), + }, + End: ast.Location{ + Line: int(526), + Column: int(84), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5637, + FreeVars: ast.Identifiers{ + "blank", + "dec", + "min_chars", + "min_digits", + "neg", + "pad_left", + "plus", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(7), + }, + End: ast.Location{ + Line: int(526), + Column: int(84), + }, }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "mag", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(27), - }, - End: ast.Location{ - Line: int(499), - Column: int(30), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_chars", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(32), - }, - End: ast.Location{ - Line: int(499), - Column: int(41), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_digits", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(43), - }, - End: ast.Location{ - Line: int(499), - Column: int(53), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(55), - }, - End: ast.Location{ - Line: int(499), - Column: int(60), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(62), - }, - End: ast.Location{ - Line: int(499), - Column: int(66), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "radix", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(68), - }, - End: ast.Location{ - Line: int(499), - Column: int(73), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "zero_prefix", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(75), - }, - End: ast.Location{ - Line: int(499), - Column: int(86), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(501), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), Comment: []string{ "// dec is the minimal string needed to represent the number as text.", }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), }, }, - Ctx: p5304, + Ctx: p5637, FreeVars: ast.Identifiers{ "$std", "blank", @@ -71086,699 +75328,1224 @@ var _StdAst = &ast.DesugaredObject{ "std", "zero_prefix", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(513), + Column: int(7), + }, + End: ast.Location{ + Line: int(526), + Column: int(84), + }, + }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "dec", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(502), - Column: int(9), - }, - End: ast.Location{ - Line: int(510), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p5309, - FreeVars: ast.Identifiers{ - "$std", - "mag", - "radix", - "std", - "zero_prefix", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(502), - Column: int(12), - }, - End: ast.Location{ - Line: int(502), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5309, - FreeVars: ast.Identifiers{ - "mag", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(502), - Column: int(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "neg", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(22), + }, + End: ast.Location{ + Line: int(511), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "mag", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(27), + }, + End: ast.Location{ + Line: int(511), + Column: int(30), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "min_chars", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(32), + }, + End: ast.Location{ + Line: int(511), + Column: int(41), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "min_digits", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(43), + }, + End: ast.Location{ + Line: int(511), + Column: int(53), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "blank", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(55), + }, + End: ast.Location{ + Line: int(511), + Column: int(60), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "plus", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(62), + }, + End: ast.Location{ + Line: int(511), + Column: int(66), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "radix", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(68), + }, + End: ast.Location{ + Line: int(511), + Column: int(73), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "zero_prefix", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(75), + }, + End: ast.Location{ + Line: int(511), + Column: int(86), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5666, + FreeVars: ast.Identifiers{ + "$std", + "pad_left", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(11), + }, + End: ast.Location{ + Line: int(526), + Column: int(84), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "render_int", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Var{ + Id: "capitals", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5676, + FreeVars: ast.Identifiers{ + "capitals", }, - End: ast.Location{ - Line: int(502), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5309, - FreeVars: ast.Identifiers{ - "mag", - }, - }, - Id: "mag", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(502), - Column: int(19), - }, - End: ast.Location{ - Line: int(502), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5309, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(503), - Column: int(11), - }, - End: ast.Location{ - Line: int(503), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5309, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(505), - Column: int(11), - }, - End: ast.Location{ - Line: int(510), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5309, - FreeVars: ast.Identifiers{ - "$std", - "mag", - "radix", - "std", - "zero_prefix", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "aux", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(505), - Column: int(17), - }, - End: ast.Location{ - Line: int(509), - Column: int(54), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(531), + Column: int(29), }, - Fodder: nil, - Ctx: p5324, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "radix", - "std", - "zero_prefix", + End: ast.Location{ + Line: int(531), + Column: int(37), }, }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(505), - Column: int(21), - }, - End: ast.Location{ - Line: int(505), - Column: int(22), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(13), - }, - End: ast.Location{ - Line: int(509), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "radix", - "std", - "zero_prefix", - }, - }, - Cond: &ast.Binary{ + }, + }, + BranchTrue: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "A", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(16), - }, - End: ast.Location{ - Line: int(506), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(16), - }, - End: ast.Location{ - Line: int(506), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(21), - }, - End: ast.Location{ - Line: int(506), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5329, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ + Ctx: p5681, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(507), - Column: int(15), + Line: int(531), + Column: int(44), }, End: ast.Location{ - Line: int(507), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, + Line: int(531), + Column: int(47), }, }, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "zero_prefix", - }, }, - Id: "zero_prefix", + Kind: ast.LiteralStringKind(1), }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "B", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5681, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(509), - Column: int(15), + Line: int(531), + Column: int(49), }, End: ast.Location{ - Line: int(509), + Line: int(531), + Column: int(52), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "C", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5681, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(531), Column: int(54), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "radix", - "std", + End: ast.Location{ + Line: int(531), + Column: int(57), + }, }, }, - Left: &ast.Apply{ + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "D", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5681, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(531), + Column: int(59), + }, + End: ast.Location{ + Line: int(531), + Column: int(62), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "E", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5681, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(531), + Column: int(64), + }, + End: ast.Location{ + Line: int(531), + Column: int(67), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "F", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5681, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(531), + Column: int(69), + }, + End: ast.Location{ + Line: int(531), + Column: int(72), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5676, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(531), + Column: int(43), + }, + End: ast.Location{ + Line: int(531), + Column: int(73), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "a", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5690, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(532), + Column: int(30), + }, + End: ast.Location{ + Line: int(532), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "b", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5690, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(532), + Column: int(35), + }, + End: ast.Location{ + Line: int(532), + Column: int(38), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "c", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5690, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(532), + Column: int(40), + }, + End: ast.Location{ + Line: int(532), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "d", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5690, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(532), + Column: int(45), + }, + End: ast.Location{ + Line: int(532), + Column: int(48), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "e", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5690, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(532), + Column: int(50), + }, + End: ast.Location{ + Line: int(532), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "f", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5690, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(532), + Column: int(55), + }, + End: ast.Location{ + Line: int(532), + Column: int(58), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5676, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(532), + Column: int(29), + }, + End: ast.Location{ + Line: int(532), + Column: int(59), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(23), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5676, + FreeVars: ast.Identifiers{ + "capitals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(531), + Column: int(26), + }, + End: ast.Location{ + Line: int(532), + Column: int(59), + }, + }, + }, + }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(25), + }, + End: ast.Location{ + Line: int(530), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(28), + }, + End: ast.Location{ + Line: int(530), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(31), + }, + End: ast.Location{ + Line: int(530), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(34), + }, + End: ast.Location{ + Line: int(530), + Column: int(35), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(37), + }, + End: ast.Location{ + Line: int(530), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "5", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(40), + }, + End: ast.Location{ + Line: int(530), + Column: int(41), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "6", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(43), + }, + End: ast.Location{ + Line: int(530), + Column: int(44), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "7", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(46), + }, + End: ast.Location{ + Line: int(530), + Column: int(47), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "8", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(49), + }, + End: ast.Location{ + Line: int(530), + Column: int(50), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "9", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5701, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(52), + }, + End: ast.Location{ + Line: int(530), + Column: int(53), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5676, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(24), + }, + End: ast.Location{ + Line: int(530), + Column: int(54), + }, + }, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(23), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5676, + FreeVars: ast.Identifiers{ + "capitals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(24), + }, + End: ast.Location{ + Line: int(532), + Column: int(59), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + EqFodder: ast.Fodder{}, + Variable: "numerals", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(13), + }, + End: ast.Location{ + Line: int(532), + Column: int(59), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(533), + Column: int(18), + }, + End: ast.Location{ + Line: int(533), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5720, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(533), + Column: int(18), + }, + End: ast.Location{ + Line: int(533), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n__", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5724, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(533), + Column: int(26), + }, + End: ast.Location{ + Line: int(533), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5720, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(533), + Column: int(18), + }, + End: ast.Location{ + Line: int(533), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "n_", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(533), + Column: int(13), + }, + End: ast.Location{ + Line: int(533), + Column: int(30), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5733, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(535), + Column: int(17), + }, + End: ast.Location{ + Line: int(535), + Column: int(18), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5733, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(535), + Column: int(12), + }, + End: ast.Location{ + Line: int(535), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5733, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(535), + Column: int(12), + }, + End: ast.Location{ + Line: int(535), + Column: int(18), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5733, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(536), + Column: int(11), + }, + End: ast.Location{ + Line: int(536), + Column: int(13), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "numerals", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5733, + FreeVars: ast.Identifiers{ + "numerals", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(509), - Column: int(15), + Line: int(538), + Column: int(36), }, End: ast.Location{ - Line: int(509), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "aux", - "n", - "radix", - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(15), - }, - End: ast.Location{ - Line: int(509), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(19), - }, - End: ast.Location{ - Line: int(509), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5349, - FreeVars: ast.Identifiers{ - "n", - "radix", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(19), - }, - End: ast.Location{ - Line: int(509), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5349, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(19), - }, - End: ast.Location{ - Line: int(509), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(29), - }, - End: ast.Location{ - Line: int(509), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5358, - FreeVars: ast.Identifiers{ - "n", - "radix", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(29), - }, - End: ast.Location{ - Line: int(509), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5358, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(1), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(33), - }, - End: ast.Location{ - Line: int(509), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5358, - FreeVars: ast.Identifiers{ - "radix", - }, - }, - Id: "radix", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), + Line: int(538), Column: int(44), }, - End: ast.Location{ - Line: int(509), - Column: int(53), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "n", - "radix", }, }, + }, + Index: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, Target: &ast.Var{ + Id: "$std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "$std", }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -71788,2340 +76555,2390 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - Value: "mod", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: nil, + LeftBracketFodder: nil, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "n", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(44), - }, - End: ast.Location{ - Line: int(509), - Column: int(45), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5329, + Ctx: p5733, FreeVars: ast.Identifiers{ "n", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(45), + }, + End: ast.Location{ + Line: int(538), + Column: int(46), + }, + }, }, - Id: "n", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ - Expr: &ast.Var{ + Expr: &ast.LiteralNumber{ + OriginalString: "16", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5733, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(509), - Column: int(48), + Line: int(538), + Column: int(49), }, End: ast.Location{ - Line: int(509), - Column: int(53), + Line: int(538), + Column: int(51), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5329, - FreeVars: ast.Identifiers{ - "radix", }, }, - Id: "radix", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(510), - Column: int(11), - }, - End: ast.Location{ - Line: int(510), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5309, - FreeVars: ast.Identifiers{ - "aux", - "mag", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(510), - Column: int(11), - }, - End: ast.Location{ - Line: int(510), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5309, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(510), - Column: int(15), - }, - End: ast.Location{ - Line: int(510), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5383, - FreeVars: ast.Identifiers{ - "mag", - }, - }, - Id: "mag", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(501), - Column: int(13), - }, - End: ast.Location{ - Line: int(510), - Column: int(19), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - "dec", - "min_chars", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "zp", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(18), - }, - End: ast.Location{ - Line: int(511), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "neg", - "plus", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(18), - }, - End: ast.Location{ - Line: int(511), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "min_chars", - }, - }, - Id: "min_chars", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(31), - }, - End: ast.Location{ - Line: int(511), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(34), - }, - End: ast.Location{ - Line: int(511), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(34), - }, - End: ast.Location{ - Line: int(511), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "blank", - "neg", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(34), - }, - End: ast.Location{ - Line: int(511), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "neg", - }, - }, - Id: "neg", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(41), - }, - End: ast.Location{ - Line: int(511), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(50), - }, - End: ast.Location{ - Line: int(511), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{ - "plus", - }, - }, - Id: "plus", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(60), - }, - End: ast.Location{ - Line: int(511), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(67), - }, - End: ast.Location{ - Line: int(511), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5390, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(13), - }, - End: ast.Location{ - Line: int(511), - Column: int(69), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - "dec", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "zp2", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(19), - }, - End: ast.Location{ - Line: int(512), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5413, - FreeVars: ast.Identifiers{ - "min_digits", - "std", - "zp", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(19), - }, - End: ast.Location{ - Line: int(512), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5413, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(19), - }, - End: ast.Location{ - Line: int(512), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(27), - }, - End: ast.Location{ - Line: int(512), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5422, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(31), - }, - End: ast.Location{ - Line: int(512), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5422, - FreeVars: ast.Identifiers{ - "min_digits", - }, - }, - Id: "min_digits", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(13), - }, - End: ast.Location{ - Line: int(512), - Column: int(42), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - "dec", - "neg", - "pad_left", - "plus", - "zp2", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "dec2", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(20), - }, - End: ast.Location{ - Line: int(513), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5431, - FreeVars: ast.Identifiers{ - "dec", - "pad_left", - "zp2", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(20), - }, - End: ast.Location{ - Line: int(513), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5431, - FreeVars: ast.Identifiers{ - "pad_left", - }, - }, - Id: "pad_left", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(29), - }, - End: ast.Location{ - Line: int(513), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5437, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "dec", + "$std", + "n", }, - }, - Id: "dec", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(513), - Column: int(34), + Line: int(538), + Column: int(45), }, End: ast.Location{ - Line: int(513), - Column: int(37), + Line: int(538), + Column: int(51), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5437, - FreeVars: ast.Identifiers{ - "zp2", }, }, - Id: "zp2", + TrailingComma: false, + TailStrict: false, }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(39), - }, - End: ast.Location{ - Line: int(513), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5437, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(13), - }, - End: ast.Location{ - Line: int(513), - Column: int(43), - }, - File: p1, - }, - }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - "dec2", - "neg", - "plus", - }, - }, - Left: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(8), - }, - End: ast.Location{ - Line: int(514), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(11), - }, - End: ast.Location{ - Line: int(514), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "neg", - }, - }, - Id: "neg", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(20), - }, - End: ast.Location{ - Line: int(514), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(29), - }, - End: ast.Location{ - Line: int(514), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - "plus", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(32), - }, - End: ast.Location{ - Line: int(514), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "plus", - }, - }, - Id: "plus", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(42), - }, - End: ast.Location{ - Line: int(514), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{}, - }, - Value: "+", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(51), - }, - End: ast.Location{ - Line: int(514), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(54), - }, - End: ast.Location{ - Line: int(514), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(65), - }, - End: ast.Location{ - Line: int(514), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(74), - }, - End: ast.Location{ - Line: int(514), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(80), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5304, - FreeVars: ast.Identifiers{ - "dec2", - }, - }, - Id: "dec2", - }, - }, - }, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Render an integer in hexadecimal.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "render_int", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "render_hex", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(11), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5468, - FreeVars: ast.Identifiers{ - "$std", - "pad_left", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n__", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(22), - }, - End: ast.Location{ - Line: int(517), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_chars", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(27), - }, - End: ast.Location{ - Line: int(517), - Column: int(36), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_digits", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(38), - }, - End: ast.Location{ - Line: int(517), - Column: int(48), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(50), - }, - End: ast.Location{ - Line: int(517), - Column: int(55), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(57), - }, - End: ast.Location{ - Line: int(517), - Column: int(61), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "add_zerox", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(63), - }, - End: ast.Location{ - Line: int(517), - Column: int(72), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "capitals", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(74), - }, - End: ast.Location{ - Line: int(517), - Column: int(82), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "$std", - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n__", - "pad_left", - "plus", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "numerals", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(24), - }, - End: ast.Location{ - Line: int(520), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5477, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(24), - }, - End: ast.Location{ - Line: int(518), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5477, - FreeVars: ast.Identifiers{}, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(25), - }, - End: ast.Location{ - Line: int(518), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(28), - }, - End: ast.Location{ - Line: int(518), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(31), - }, - End: ast.Location{ - Line: int(518), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(34), - }, - End: ast.Location{ - Line: int(518), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(37), - }, - End: ast.Location{ - Line: int(518), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(40), - }, - End: ast.Location{ - Line: int(518), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "5", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(43), - }, - End: ast.Location{ - Line: int(518), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "6", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(46), - }, - End: ast.Location{ - Line: int(518), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "7", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(49), - }, - End: ast.Location{ - Line: int(518), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "8", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(52), - }, - End: ast.Location{ - Line: int(518), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "9", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(23), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(26), - }, - End: ast.Location{ - Line: int(520), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5477, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(29), - }, - End: ast.Location{ - Line: int(519), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5477, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Id: "capitals", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(43), - }, - End: ast.Location{ - Line: int(519), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5477, - FreeVars: ast.Identifiers{}, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(44), - }, - End: ast.Location{ - Line: int(519), - Column: int(47), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5500, - FreeVars: ast.Identifiers{}, - }, - Value: "A", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ + Ctx: p5733, + FreeVars: ast.Identifiers{ + "$std", + "n", + "numerals", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(519), - Column: int(49), + Line: int(538), + Column: int(36), }, End: ast.Location{ - Line: int(519), + Line: int(538), Column: int(52), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5500, - FreeVars: ast.Identifiers{}, }, - Value: "B", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5733, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(11), + }, + End: ast.Location{ + Line: int(538), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(15), + }, + End: ast.Location{ + Line: int(538), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5765, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(15), + }, + End: ast.Location{ + Line: int(538), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "16", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5770, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(29), + }, + End: ast.Location{ + Line: int(538), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5770, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(25), + }, + End: ast.Location{ + Line: int(538), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5770, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(25), + }, + End: ast.Location{ + Line: int(538), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5765, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(15), + }, + End: ast.Location{ + Line: int(538), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5733, + FreeVars: ast.Identifiers{ + "aux", + "n", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(519), - Column: int(54), + Line: int(538), + Column: int(11), }, End: ast.Location{ - Line: int(519), - Column: int(57), + Line: int(538), + Column: int(33), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5500, - FreeVars: ast.Identifiers{}, }, - Value: "C", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + TrailingComma: false, + TailStrict: false, }, - CommaFodder: ast.Fodder{}, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5733, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "n", + "numerals", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(538), + Column: int(11), + }, + End: ast.Location{ + Line: int(538), + Column: int(52), + }, + }, + }, + Op: ast.BinaryOp(3), }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(59), - }, - End: ast.Location{ - Line: int(519), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5500, - FreeVars: ast.Identifiers{}, - }, - Value: "D", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - CommaFodder: ast.Fodder{}, }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(64), - }, - End: ast.Location{ - Line: int(519), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5500, - FreeVars: ast.Identifiers{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p5733, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "n", + "numerals", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(535), + Column: int(9), + }, + End: ast.Location{ + Line: int(538), + Column: int(52), }, - Value: "E", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - CommaFodder: ast.Fodder{}, }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(69), - }, - End: ast.Location{ - Line: int(519), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5500, - FreeVars: ast.Identifiers{}, - }, - Value: "F", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "n", CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(534), + Column: int(17), + }, + End: ast.Location{ + Line: int(534), + Column: int(18), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5781, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "numerals", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(534), + Column: int(13), + }, + End: ast.Location{ + Line: int(538), + Column: int(52), + }, }, }, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(23), - Comment: []string{}, + EqFodder: nil, + Variable: "aux", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(520), - Column: int(29), - }, - End: ast.Location{ - Line: int(520), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5477, - FreeVars: ast.Identifiers{}, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5788, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(520), - Column: int(30), + Line: int(539), + Column: int(39), }, End: ast.Location{ - Line: int(520), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5510, - FreeVars: ast.Identifiers{}, - }, - Value: "a", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(520), - Column: int(35), - }, - End: ast.Location{ - Line: int(520), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5510, - FreeVars: ast.Identifiers{}, - }, - Value: "b", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(520), + Line: int(539), Column: int(40), }, - End: ast.Location{ - Line: int(520), - Column: int(43), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5510, - FreeVars: ast.Identifiers{}, }, - Value: "c", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(22), + }, + End: ast.Location{ + Line: int(539), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5788, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(22), + }, + End: ast.Location{ + Line: int(539), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n_", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5797, + FreeVars: ast.Identifiers{ + "n_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(32), + }, + End: ast.Location{ + Line: int(539), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5788, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(520), - Column: int(45), + Line: int(539), + Column: int(22), }, End: ast.Location{ - Line: int(520), - Column: int(48), + Line: int(539), + Column: int(35), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5510, - FreeVars: ast.Identifiers{}, }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + TrailingComma: false, + TailStrict: false, }, - CommaFodder: ast.Fodder{}, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5788, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(22), + }, + End: ast.Location{ + Line: int(539), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(12), }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ + BranchTrue: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5788, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(46), + }, + End: ast.Location{ + Line: int(539), + Column: int(49), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5788, + FreeVars: ast.Identifiers{ + "aux", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(520), - Column: int(50), - }, - End: ast.Location{ - Line: int(520), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5510, - FreeVars: ast.Identifiers{}, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(520), + Line: int(539), Column: int(55), }, End: ast.Location{ - Line: int(520), + Line: int(539), Column: int(58), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5510, - FreeVars: ast.Identifiers{}, }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(13), - }, - End: ast.Location{ - Line: int(520), - Column: int(59), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "$std", - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n__", - "numerals", - "pad_left", - "plus", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "n_", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(18), - }, - End: ast.Location{ - Line: int(521), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(18), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(59), + }, + End: ast.Location{ + Line: int(539), + Column: int(62), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5811, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(59), + }, + End: ast.Location{ + Line: int(539), + Column: int(68), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n_", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5815, + FreeVars: ast.Identifiers{ + "n_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(69), + }, + End: ast.Location{ + Line: int(539), + Column: int(71), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5811, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(59), + }, + End: ast.Location{ + Line: int(539), + Column: int(72), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - End: ast.Location{ - Line: int(521), - Column: int(25), + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5788, + FreeVars: ast.Identifiers{ + "aux", + "n_", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(55), + }, + End: ast.Location{ + Line: int(539), + Column: int(73), + }, + }, }, - File: p1, + TrailingComma: false, + TailStrict: false, }, - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(18), - }, - End: ast.Location{ - Line: int(521), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: nil, + Ctx: p5788, FreeVars: ast.Identifiers{ + "aux", + "n_", "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(539), + Column: int(19), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(539), + Column: int(73), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + EqFodder: ast.Fodder{}, + Variable: "hex", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(13), + }, + End: ast.Location{ + Line: int(539), + Column: int(73), + }, + }, }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5824, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(521), - Column: int(26), + Line: int(540), + Column: int(25), }, End: ast.Location{ - Line: int(521), - Column: int(29), + Line: int(540), + Column: int(26), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "n__", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5530, + Ctx: p5824, FreeVars: ast.Identifiers{ "n__", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(540), + Column: int(19), + }, + End: ast.Location{ + Line: int(540), + Column: int(22), + }, + }, }, - Id: "n__", }, - CommaFodder: nil, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5824, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(540), + Column: int(19), + }, + End: ast.Location{ + Line: int(540), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + EqFodder: ast.Fodder{}, + Variable: "neg", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(540), + Column: int(13), + }, + End: ast.Location{ + Line: int(540), + Column: int(26), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Var{ + Id: "add_zerox", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "add_zerox", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(542), + Column: int(24), + }, + End: ast.Location{ + Line: int(542), + Column: int(33), + }, + }, + }, + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(542), + Column: int(39), + }, + End: ast.Location{ + Line: int(542), + Column: int(40), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(542), + Column: int(46), + }, + End: ast.Location{ + Line: int(542), + Column: int(47), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "add_zerox", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(542), + Column: int(21), + }, + End: ast.Location{ + Line: int(542), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "plus", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(50), + }, + End: ast.Location{ + Line: int(541), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "blank", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(41), + }, + End: ast.Location{ + Line: int(541), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "neg", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "neg", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(34), + }, + End: ast.Location{ + Line: int(541), + Column: int(37), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "blank", + "neg", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(34), + }, + End: ast.Location{ + Line: int(541), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "blank", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(34), + }, + End: ast.Location{ + Line: int(541), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(60), + }, + End: ast.Location{ + Line: int(541), + Column: int(61), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(67), + }, + End: ast.Location{ + Line: int(541), + Column: int(68), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "blank", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(31), + }, + End: ast.Location{ + Line: int(541), + Column: int(68), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "min_chars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "min_chars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(18), + }, + End: ast.Location{ + Line: int(541), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "blank", + "min_chars", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(18), + }, + End: ast.Location{ + Line: int(541), + Column: int(69), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(17), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5833, + FreeVars: ast.Identifiers{ + "add_zerox", + "blank", + "min_chars", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(18), + }, + End: ast.Location{ + Line: int(542), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + EqFodder: ast.Fodder{}, + Variable: "zp", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(13), + }, + End: ast.Location{ + Line: int(542), + Column: int(48), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(543), + Column: int(19), + }, + End: ast.Location{ + Line: int(543), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "max", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5865, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(543), + Column: int(19), + }, + End: ast.Location{ + Line: int(543), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5869, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(543), + Column: int(27), + }, + End: ast.Location{ + Line: int(543), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "min_digits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5869, + FreeVars: ast.Identifiers{ + "min_digits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(543), + Column: int(31), + }, + End: ast.Location{ + Line: int(543), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5865, + FreeVars: ast.Identifiers{ + "min_digits", + "std", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(543), + Column: int(19), + }, + End: ast.Location{ + Line: int(543), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "zp2", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(543), + Column: int(13), + }, + End: ast.Location{ + Line: int(543), + Column: int(42), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "pad_left", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{ + "pad_left", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(545), + Column: int(22), + }, + End: ast.Location{ + Line: int(545), + Column: int(30), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "hex", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5883, + FreeVars: ast.Identifiers{ + "hex", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(545), + Column: int(31), + }, + End: ast.Location{ + Line: int(545), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5883, + FreeVars: ast.Identifiers{ + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(545), + Column: int(36), + }, + End: ast.Location{ + Line: int(545), + Column: int(39), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5883, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(545), + Column: int(41), + }, + End: ast.Location{ + Line: int(545), + Column: int(44), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{ + "hex", + "pad_left", + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(545), + Column: int(22), + }, + End: ast.Location{ + Line: int(545), + Column: int(45), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Conditional{ + Cond: &ast.Var{ + Id: "add_zerox", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{ + "add_zerox", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(24), + }, + End: ast.Location{ + Line: int(544), + Column: int(33), + }, + }, + }, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Var{ + Id: "capitals", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{ + "capitals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(43), + }, + End: ast.Location{ + Line: int(544), + Column: int(51), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "0X", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(57), + }, + End: ast.Location{ + Line: int(544), + Column: int(61), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "0x", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(67), + }, + End: ast.Location{ + Line: int(544), + Column: int(71), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{ + "capitals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(40), + }, + End: ast.Location{ + Line: int(544), + Column: int(71), + }, + }, + }, + }, + BranchFalse: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(78), + }, + End: ast.Location{ + Line: int(544), + Column: int(80), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{ + "add_zerox", + "capitals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(21), + }, + End: ast.Location{ + Line: int(544), + Column: int(80), + }, + }, + }, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(19), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5879, + FreeVars: ast.Identifiers{ + "add_zerox", + "capitals", + "hex", + "pad_left", + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(20), + }, + End: ast.Location{ + Line: int(545), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + EqFodder: ast.Fodder{}, + Variable: "hex2", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(13), + }, + End: ast.Location{ + Line: int(545), + Column: int(45), + }, + }, + }, + }, + Body: &ast.Binary{ + Right: &ast.Var{ + Id: "hex2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "hex2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(80), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + }, + Left: &ast.Conditional{ + Cond: &ast.Var{ + Id: "neg", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "neg", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(11), + }, + End: ast.Location{ + Line: int(546), + Column: int(14), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(20), + }, + End: ast.Location{ + Line: int(546), + Column: int(23), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Var{ + Id: "plus", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(32), + }, + End: ast.Location{ + Line: int(546), + Column: int(36), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "+", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(42), + }, + End: ast.Location{ + Line: int(546), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Var{ + Id: "blank", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(54), + }, + End: ast.Location{ + Line: int(546), + Column: int(59), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(65), + }, + End: ast.Location{ + Line: int(546), + Column: int(68), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(74), + }, + End: ast.Location{ + Line: int(546), + Column: int(76), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(51), + }, + End: ast.Location{ + Line: int(546), + Column: int(76), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "blank", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(29), + }, + End: ast.Location{ + Line: int(546), + Column: int(76), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "blank", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(8), + }, + End: ast.Location{ + Line: int(546), + Column: int(76), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "blank", + "hex2", + "neg", + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(546), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "add_zerox", + "blank", + "capitals", + "hex", + "neg", + "pad_left", + "plus", + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(544), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "add_zerox", + "blank", + "capitals", + "hex", + "min_digits", + "neg", + "pad_left", + "plus", + "std", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(543), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "add_zerox", + "blank", + "capitals", + "hex", + "min_chars", + "min_digits", + "neg", + "pad_left", + "plus", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(541), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "add_zerox", + "blank", + "capitals", + "hex", + "min_chars", + "min_digits", + "n__", + "pad_left", + "plus", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(540), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(13), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, }, - End: ast.Location{ - Line: int(521), - Column: int(30), + Ctx: p5904, + FreeVars: ast.Identifiers{ + "add_zerox", + "aux", + "blank", + "capitals", + "min_chars", + "min_digits", + "n_", + "n__", + "pad_left", + "plus", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(539), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, }, - File: p1, }, }, - }, - Body: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p5473, + Ctx: p5904, FreeVars: ast.Identifiers{ "$std", "add_zerox", @@ -74136,3403 +78953,1022 @@ var _StdAst = &ast.DesugaredObject{ "plus", "std", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(534), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "aux", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(13), - }, - End: ast.Location{ - Line: int(526), - Column: int(52), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5537, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "numerals", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(17), - }, - End: ast.Location{ - Line: int(522), - Column: int(18), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(9), - }, - End: ast.Location{ - Line: int(526), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "numerals", - "std", - }, - }, - Cond: &ast.Binary{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "$std", + "add_zerox", + "blank", + "capitals", + "min_chars", + "min_digits", + "n__", + "numerals", + "pad_left", + "plus", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(533), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p5904, + FreeVars: ast.Identifiers{ + "$std", + "add_zerox", + "blank", + "capitals", + "min_chars", + "min_digits", + "n__", + "pad_left", + "plus", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(530), + Column: int(7), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "n__", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(22), + }, + End: ast.Location{ + Line: int(529), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "min_chars", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(27), + }, + End: ast.Location{ + Line: int(529), + Column: int(36), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "min_digits", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(38), + }, + End: ast.Location{ + Line: int(529), + Column: int(48), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "blank", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(50), + }, + End: ast.Location{ + Line: int(529), + Column: int(55), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "plus", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(57), + }, + End: ast.Location{ + Line: int(529), + Column: int(61), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "add_zerox", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(63), + }, + End: ast.Location{ + Line: int(529), + Column: int(72), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "capitals", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(74), + }, + End: ast.Location{ + Line: int(529), + Column: int(82), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p5940, + FreeVars: ast.Identifiers{ + "$std", + "pad_left", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(11), + }, + End: ast.Location{ + Line: int(546), + Column: int(84), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "render_hex", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(523), + Line: int(550), + Column: int(16), + }, + End: ast.Location{ + Line: int(550), + Column: int(17), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(550), Column: int(12), }, End: ast.Location{ - Line: int(523), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(12), - }, - End: ast.Location{ - Line: int(523), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(17), - }, - End: ast.Location{ - Line: int(523), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(11), - }, - End: ast.Location{ - Line: int(524), + Line: int(550), Column: int(13), }, - File: p1, }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5542, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, }, }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(11), - }, - End: ast.Location{ - Line: int(526), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "numerals", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(11), - }, - End: ast.Location{ - Line: int(526), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "aux", - "n", - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(11), - }, - End: ast.Location{ - Line: int(526), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(15), - }, - End: ast.Location{ - Line: int(526), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5561, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(15), - }, - End: ast.Location{ - Line: int(526), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5561, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(15), - }, - End: ast.Location{ - Line: int(526), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(25), - }, - End: ast.Location{ - Line: int(526), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5570, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(25), - }, - End: ast.Location{ - Line: int(526), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5570, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(1), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(29), - }, - End: ast.Location{ - Line: int(526), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5570, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "16", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(36), - }, - End: ast.Location{ - Line: int(526), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "$std", - "n", - "numerals", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(36), - }, - End: ast.Location{ - Line: int(526), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "numerals", - }, - }, - Id: "numerals", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(45), - }, - End: ast.Location{ - Line: int(526), - Column: int(51), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "n", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(45), - }, - End: ast.Location{ - Line: int(526), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(49), - }, - End: ast.Location{ - Line: int(526), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5542, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "16", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "add_zerox", - "aux", - "blank", - "capitals", - "min_chars", - "min_digits", - "n_", - "n__", - "pad_left", - "plus", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "hex", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{ + "i", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(527), - Column: int(19), + Line: int(550), + Column: int(12), }, End: ast.Location{ - Line: int(527), - Column: int(73), + Line: int(550), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5595, - FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(22), - }, - End: ast.Location{ - Line: int(527), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5595, - FreeVars: ast.Identifiers{ - "n_", - "std", + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), }, }, - Left: &ast.Apply{ + Ctx: p5951, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(11), + }, + End: ast.Location{ + Line: int(551), + Column: int(13), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(527), - Column: int(22), + Line: int(553), + Column: int(24), }, End: ast.Location{ - Line: int(527), - Column: int(35), + Line: int(553), + Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5595, - FreeVars: ast.Identifiers{ - "n_", - "std", }, }, - Target: &ast.Index{ + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(527), - Column: int(22), + Line: int(553), + Column: int(14), }, End: ast.Location{ - Line: int(527), - Column: int(31), + Line: int(553), + Column: int(17), }, - File: p1, }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5595, + Ctx: p5951, FreeVars: ast.Identifiers{ - "std", + "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(22), - }, - End: ast.Location{ - Line: int(527), - Column: int(25), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(18), }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(553), + Column: int(19), }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(32), - }, - End: ast.Location{ - Line: int(527), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5608, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, - CommaFodder: nil, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(14), + }, + End: ast.Location{ + Line: int(553), + Column: int(20), }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(39), - }, - End: ast.Location{ - Line: int(527), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5595, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(46), - }, - End: ast.Location{ - Line: int(527), - Column: int(49), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5595, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(55), - }, - End: ast.Location{ - Line: int(527), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5595, + Ctx: p5951, FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(14), + }, + End: ast.Location{ + Line: int(553), + Column: int(27), + }, }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(55), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), }, - End: ast.Location{ - Line: int(527), - Column: int(58), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5595, + Ctx: p5951, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(554), + Column: int(13), + }, + End: ast.Location{ + Line: int(554), + Column: int(16), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ + Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(527), - Column: int(59), + Line: int(554), + Column: int(17), }, End: ast.Location{ - Line: int(527), - Column: int(72), + Line: int(554), + Column: int(20), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5618, - FreeVars: ast.Identifiers{ - "n_", - "std", }, }, - Target: &ast.Index{ + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(527), - Column: int(59), + Line: int(554), + Column: int(26), }, End: ast.Location{ - Line: int(527), - Column: int(68), + Line: int(554), + Column: int(27), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5618, + Ctx: p5973, FreeVars: ast.Identifiers{ - "std", + "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(59), - }, - End: ast.Location{ - Line: int(527), - Column: int(62), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(554), + Column: int(22), }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(554), + Column: int(23), }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(69), - }, - End: ast.Location{ - Line: int(527), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5627, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, - CommaFodder: nil, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(554), + Column: int(22), + }, + End: ast.Location{ + Line: int(554), + Column: int(27), }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(527), - Column: int(13), - }, - End: ast.Location{ - Line: int(527), - Column: int(73), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(528), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_chars", - "min_digits", - "n__", - "pad_left", - "plus", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "neg", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(528), - Column: int(19), - }, - End: ast.Location{ - Line: int(528), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5634, + Ctx: p5951, FreeVars: ast.Identifiers{ - "n__", + "aux", + "i", + "str", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(528), - Column: int(19), - }, - End: ast.Location{ - Line: int(528), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5634, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(528), - Column: int(25), - }, - End: ast.Location{ - Line: int(528), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5634, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(528), - Column: int(13), - }, - End: ast.Location{ - Line: int(528), - Column: int(26), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_chars", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "zp", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(18), - }, - End: ast.Location{ - Line: int(530), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "min_chars", - "neg", - "plus", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(18), - }, - End: ast.Location{ - Line: int(529), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "neg", - "plus", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(18), - }, - End: ast.Location{ - Line: int(529), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "min_chars", - }, - }, - Id: "min_chars", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(31), - }, - End: ast.Location{ - Line: int(529), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(34), - }, - End: ast.Location{ - Line: int(529), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(34), - }, - End: ast.Location{ - Line: int(529), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "blank", - "neg", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(34), - }, - End: ast.Location{ - Line: int(529), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "neg", - }, - }, - Id: "neg", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(41), - }, - End: ast.Location{ - Line: int(529), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(50), - }, - End: ast.Location{ - Line: int(529), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "plus", - }, - }, - Id: "plus", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(60), - }, - End: ast.Location{ - Line: int(529), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(67), - }, - End: ast.Location{ - Line: int(529), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(17), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(4), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(21), - }, - End: ast.Location{ - Line: int(530), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(24), - }, - End: ast.Location{ - Line: int(530), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - }, - Id: "add_zerox", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(39), - }, - End: ast.Location{ - Line: int(530), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(46), - }, - End: ast.Location{ - Line: int(530), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5644, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(13), - }, - End: ast.Location{ - Line: int(530), - Column: int(48), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "zp2", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(19), - }, - End: ast.Location{ - Line: int(531), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{ - "min_digits", - "std", - "zp", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(19), - }, - End: ast.Location{ - Line: int(531), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(19), - }, - End: ast.Location{ - Line: int(531), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(27), - }, - End: ast.Location{ - Line: int(531), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5685, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(31), - }, - End: ast.Location{ - Line: int(531), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5685, - FreeVars: ast.Identifiers{ - "min_digits", - }, - }, - Id: "min_digits", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(531), + Line: int(554), Column: int(13), }, End: ast.Location{ - Line: int(531), - Column: int(42), + Line: int(554), + Column: int(28), }, - File: p1, }, }, + TrailingComma: false, + TailStrict: false, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "neg", - "pad_left", - "plus", - "zp2", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "hex2", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(20), - }, - End: ast.Location{ - Line: int(533), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{ - "add_zerox", - "capitals", - "hex", - "pad_left", - "zp2", - }, - }, - Left: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(21), - }, - End: ast.Location{ - Line: int(532), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{ - "add_zerox", - "capitals", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(24), - }, - End: ast.Location{ - Line: int(532), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - }, - Id: "add_zerox", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(40), - }, - End: ast.Location{ - Line: int(532), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(43), - }, - End: ast.Location{ - Line: int(532), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Id: "capitals", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(57), - }, - End: ast.Location{ - Line: int(532), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{}, - }, - Value: "0X", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(67), - }, - End: ast.Location{ - Line: int(532), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{}, - }, - Value: "0x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(78), - }, - End: ast.Location{ - Line: int(532), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{ + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), - Indent: int(19), - Comment: []string{}, + Indent: int(12), }, }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(22), - }, - End: ast.Location{ - Line: int(533), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{ - "hex", - "pad_left", - "zp2", - }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(556), + Column: int(13), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(22), - }, - End: ast.Location{ - Line: int(533), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5694, - FreeVars: ast.Identifiers{ - "pad_left", - }, - }, - Id: "pad_left", + End: ast.Location{ + Line: int(556), + Column: int(16), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(31), - }, - End: ast.Location{ - Line: int(533), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5714, - FreeVars: ast.Identifiers{ - "hex", - }, - }, - Id: "hex", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(36), - }, - End: ast.Location{ - Line: int(533), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5714, - FreeVars: ast.Identifiers{ - "zp2", - }, - }, - Id: "zp2", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(41), - }, - End: ast.Location{ - Line: int(533), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5714, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, - Fun: nil, - CloseFodder: ast.Fodder{}, + }, + Index: &ast.LiteralString{ + Value: "substr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(532), + Line: int(556), Column: int(13), }, End: ast.Location{ - Line: int(533), - Column: int(45), + Line: int(556), + Column: int(23), }, - File: p1, }, }, }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(7), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "blank", - "hex2", - "neg", - "plus", - }, - }, - Left: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(8), - }, - End: ast.Location{ - Line: int(534), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(11), - }, - End: ast.Location{ - Line: int(534), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "neg", - }, - }, - Id: "neg", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(20), - }, - End: ast.Location{ - Line: int(534), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(29), - }, - End: ast.Location{ - Line: int(534), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "blank", - "plus", - }, - }, - Cond: &ast.Var{ + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5990, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(534), + Line: int(556), + Column: int(24), + }, + End: ast.Location{ + Line: int(556), + Column: int(27), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5990, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(556), + Column: int(29), + }, + End: ast.Location{ + Line: int(556), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5990, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(556), + Column: int(36), + }, + End: ast.Location{ + Line: int(556), + Column: int(37), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5990, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(556), + Column: int(32), + }, + End: ast.Location{ + Line: int(556), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5990, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(556), Column: int(32), }, End: ast.Location{ - Line: int(534), - Column: int(36), + Line: int(556), + Column: int(37), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "plus", }, }, - Id: "plus", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(42), - }, - End: ast.Location{ - Line: int(534), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{}, - }, - Value: "+", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(51), - }, - End: ast.Location{ - Line: int(534), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(54), - }, - End: ast.Location{ - Line: int(534), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(65), - }, - End: ast.Location{ - Line: int(534), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(74), - }, - End: ast.Location{ - Line: int(534), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, + Op: ast.BinaryOp(3), }, + CommaFodder: nil, }, }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(80), - }, - End: ast.Location{ - Line: int(534), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5473, - FreeVars: ast.Identifiers{ - "hex2", - }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p5951, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(556), + Column: int(13), }, - Id: "hex2", + End: ast.Location{ + Line: int(556), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p5951, + FreeVars: ast.Identifiers{ + "aux", + "i", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(11), + }, + End: ast.Location{ + Line: int(556), + Column: int(38), }, }, }, }, - }, - }, - }, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(536), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "render_hex", - "render_int", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "strip_trailing_zero", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(536), - Column: int(11), - }, - End: ast.Location{ - Line: int(545), - Column: int(36), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5744, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(536), - Column: int(31), - }, - End: ast.Location{ - Line: int(536), - Column: int(34), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(7), - }, - End: ast.Location{ - Line: int(545), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5749, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "aux", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(13), - }, - End: ast.Location{ - Line: int(544), - Column: int(38), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5753, - FreeVars: ast.Identifiers{ - "aux", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(17), - }, - End: ast.Location{ - Line: int(537), - Column: int(20), - }, - File: p1, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(22), - }, - End: ast.Location{ - Line: int(537), - Column: int(23), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(9), - }, - End: ast.Location{ - Line: int(544), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p5758, + Ctx: p5951, FreeVars: ast.Identifiers{ "aux", "i", "std", "str", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(12), - }, - End: ast.Location{ - Line: int(538), - Column: int(17), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(550), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(556), + Column: int(38), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(12), - }, - End: ast.Location{ - Line: int(538), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(16), - }, - End: ast.Location{ - Line: int(538), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(11), - }, - End: ast.Location{ - Line: int(539), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5758, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(11), - }, - End: ast.Location{ - Line: int(544), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "aux", - "i", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(14), - }, - End: ast.Location{ - Line: int(541), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(14), - }, - End: ast.Location{ - Line: int(541), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(14), - }, - End: ast.Location{ - Line: int(541), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(18), - }, - End: ast.Location{ - Line: int(541), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(24), - }, - End: ast.Location{ - Line: int(541), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(13), - }, - End: ast.Location{ - Line: int(542), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "aux", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(13), - }, - End: ast.Location{ - Line: int(542), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(17), - }, - End: ast.Location{ - Line: int(542), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5787, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(22), - }, - End: ast.Location{ - Line: int(542), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5787, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(22), - }, - End: ast.Location{ - Line: int(542), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5787, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(26), - }, - End: ast.Location{ - Line: int(542), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5787, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(13), - }, - End: ast.Location{ - Line: int(544), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(13), - }, - End: ast.Location{ - Line: int(544), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5758, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(13), - }, - End: ast.Location{ - Line: int(544), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(24), - }, - End: ast.Location{ - Line: int(544), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5805, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(29), - }, - End: ast.Location{ - Line: int(544), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5805, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(32), - }, - End: ast.Location{ - Line: int(544), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5805, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(32), - }, - End: ast.Location{ - Line: int(544), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5805, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(36), - }, - End: ast.Location{ - Line: int(544), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5805, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(549), + Column: int(17), + }, + End: ast.Location{ + Line: int(549), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(549), + Column: int(22), + }, + End: ast.Location{ + Line: int(549), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p6006, + FreeVars: ast.Identifiers{ + "aux", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(549), + Column: int(13), + }, + End: ast.Location{ + Line: int(556), + Column: int(38), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -77542,178 +79978,123 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(7), - }, - End: ast.Location{ - Line: int(545), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5749, - FreeVars: ast.Identifiers{ - "aux", - "std", - "str", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(7), - }, - End: ast.Location{ - Line: int(545), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p5749, + Ctx: p6011, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(7), + }, + End: ast.Location{ + Line: int(557), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(11), - }, - End: ast.Location{ - Line: int(545), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5820, + Ctx: p6015, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(11), + }, + End: ast.Location{ + Line: int(557), + Column: int(14), + }, + }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(16), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6015, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(34), + }, + End: ast.Location{ + Line: int(557), + Column: int(35), + }, }, - End: ast.Location{ - Line: int(545), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5820, - FreeVars: ast.Identifiers{ - "std", - "str", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(16), - }, - End: ast.Location{ - Line: int(545), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5820, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(16), - }, - End: ast.Location{ - Line: int(545), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5820, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(16), - }, - End: ast.Location{ - Line: int(545), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(16), + }, + End: ast.Location{ + Line: int(557), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -77723,94 +80104,219 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6015, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(16), + }, + End: ast.Location{ + Line: int(557), + Column: int(26), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(27), - }, - End: ast.Location{ - Line: int(545), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5833, + Ctx: p6027, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(27), + }, + End: ast.Location{ + Line: int(557), + Column: int(30), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6015, + FreeVars: ast.Identifiers{ + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(545), - Column: int(34), + Line: int(557), + Column: int(16), }, End: ast.Location{ - Line: int(545), - Column: int(35), + Line: int(557), + Column: int(31), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5820, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6015, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(16), + }, + End: ast.Location{ + Line: int(557), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6011, + FreeVars: ast.Identifiers{ + "aux", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(7), + }, + End: ast.Location{ + Line: int(557), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6011, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(549), + Column: int(7), + }, + End: ast.Location{ + Line: int(557), + Column: int(36), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(548), + Column: int(31), + }, + End: ast.Location{ + Line: int(548), + Column: int(34), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p6035, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(548), + Column: int(11), + }, + End: ast.Location{ + Line: int(557), + Column: int(36), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "strip_trailing_zero", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -77820,328 +80326,54 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Render floating point in decimal form", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "render_hex", - "render_int", - "std", - "strip_trailing_zero", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "render_float_dec", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(11), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: nil, - Ctx: p5842, - FreeVars: ast.Identifiers{ - "$std", - "render_int", - "std", - "strip_trailing_zero", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n__", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(28), - }, - End: ast.Location{ - Line: int(548), - Column: int(31), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "zero_pad", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(33), - }, - End: ast.Location{ - Line: int(548), - Column: int(41), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(43), - }, - End: ast.Location{ - Line: int(548), - Column: int(48), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(50), - }, - End: ast.Location{ - Line: int(548), - Column: int(54), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ensure_pt", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(56), - }, - End: ast.Location{ - Line: int(548), - Column: int(65), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "trailing", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(67), - }, - End: ast.Location{ - Line: int(548), - Column: int(75), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prec", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(77), - }, - End: ast.Location{ - Line: int(548), - Column: int(81), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "ensure_pt", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "n_", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(18), - }, - End: ast.Location{ - Line: int(549), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5851, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(18), - }, - End: ast.Location{ - Line: int(549), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5851, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(18), - }, - End: ast.Location{ - Line: int(549), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(561), + Column: int(18), + }, + End: ast.Location{ + Line: int(561), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -78151,182 +80383,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "abs", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6047, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(561), + Column: int(18), + }, + End: ast.Location{ + Line: int(561), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "n__", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(26), - }, - End: ast.Location{ - Line: int(549), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5860, + Ctx: p6051, FreeVars: ast.Identifiers{ "n__", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(561), + Column: int(26), + }, + End: ast.Location{ + Line: int(561), + Column: int(29), + }, + }, }, - Id: "n__", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6047, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(561), + Column: int(18), + }, + End: ast.Location{ + Line: int(561), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "n_", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(549), + Line: int(561), Column: int(13), }, End: ast.Location{ - Line: int(549), + Line: int(561), Column: int(30), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "ensure_pt", - "n_", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "whole", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(21), - }, - End: ast.Location{ - Line: int(550), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5867, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(21), - }, - End: ast.Location{ - Line: int(550), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5867, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(21), - }, - End: ast.Location{ - Line: int(550), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(562), + Column: int(21), + }, + End: ast.Location{ + Line: int(562), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -78336,214 +80531,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "floor", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6061, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(562), + Column: int(21), + }, + End: ast.Location{ + Line: int(562), + Column: int(30), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "n_", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(31), - }, - End: ast.Location{ - Line: int(550), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5876, + Ctx: p6065, FreeVars: ast.Identifiers{ "n_", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(562), + Column: int(31), + }, + End: ast.Location{ + Line: int(562), + Column: int(33), + }, + }, }, - Id: "n_", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6061, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(562), + Column: int(21), + }, + End: ast.Location{ + Line: int(562), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "whole", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(550), + Line: int(562), Column: int(13), }, End: ast.Location{ - Line: int(550), + Line: int(562), Column: int(34), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// Represent the rounded number as an integer * 1/10**prec.", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// Note that it can also be equal to 10**prec and we'll need to carry", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// over to the wholes. We operate on the absolute numbers, so that we", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// don't have trouble with the rounding direction.", - }, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "ensure_pt", - "n_", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "denominator", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(27), - }, - End: ast.Location{ - Line: int(555), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5887, - FreeVars: ast.Identifiers{ - "prec", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(27), - }, - End: ast.Location{ - Line: int(555), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5887, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(27), - }, - End: ast.Location{ - Line: int(555), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(27), + }, + End: ast.Location{ + Line: int(567), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "pow", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -78553,637 +80679,409 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "pow", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6075, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(27), + }, + End: ast.Location{ + Line: int(567), + Column: int(34), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "10", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6079, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(555), + Line: int(567), Column: int(35), }, End: ast.Location{ - Line: int(555), + Line: int(567), Column: int(37), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p5896, - FreeVars: ast.Identifiers{}, }, - OriginalString: "10", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "prec", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(39), - }, - End: ast.Location{ - Line: int(555), - Column: int(43), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p5896, + Ctx: p6079, FreeVars: ast.Identifiers{ "prec", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(39), + }, + End: ast.Location{ + Line: int(567), + Column: int(43), + }, + }, }, - Id: "prec", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6075, + FreeVars: ast.Identifiers{ + "prec", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(27), + }, + End: ast.Location{ + Line: int(567), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "denominator", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(555), + Line: int(567), Column: int(13), }, End: ast.Location{ - Line: int(555), + Line: int(567), Column: int(44), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "denominator", - "ensure_pt", - "n_", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "numerator", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(25), + Right: &ast.LiteralNumber{ + OriginalString: "0.5", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6087, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(53), + }, + End: ast.Location{ + Line: int(568), + Column: int(56), + }, }, - End: ast.Location{ - Line: int(556), - Column: int(56), - }, - File: p1, }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "denominator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6087, + FreeVars: ast.Identifiers{ + "denominator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(39), + }, + End: ast.Location{ + Line: int(568), + Column: int(50), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(25), + }, + End: ast.Location{ + Line: int(568), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6087, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(25), + }, + End: ast.Location{ + Line: int(568), + Column: int(32), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n_", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6099, + FreeVars: ast.Identifiers{ + "n_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(33), + }, + End: ast.Location{ + Line: int(568), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6087, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(25), + }, + End: ast.Location{ + Line: int(568), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6087, + FreeVars: ast.Identifiers{ + "denominator", + "n_", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(25), + }, + End: ast.Location{ + Line: int(568), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5904, + Ctx: p6087, FreeVars: ast.Identifiers{ "denominator", "n_", "std", }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(25), - }, - End: ast.Location{ - Line: int(556), - Column: int(50), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(25), }, - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "denominator", - "n_", - "std", + End: ast.Location{ + Line: int(568), + Column: int(56), }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(25), - }, - End: ast.Location{ - Line: int(556), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(25), - }, - End: ast.Location{ - Line: int(556), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(25), - }, - End: ast.Location{ - Line: int(556), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(33), - }, - End: ast.Location{ - Line: int(556), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5917, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(39), - }, - End: ast.Location{ - Line: int(556), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "denominator", - }, - }, - Id: "denominator", - }, }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(53), - }, - End: ast.Location{ - Line: int(556), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0.5", - }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "numerator", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(556), + Line: int(568), Column: int(13), }, End: ast.Location{ - Line: int(556), + Line: int(568), Column: int(56), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "denominator", - "ensure_pt", - "n_", - "n__", - "numerator", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "whole", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(21), - }, - End: ast.Location{ - Line: int(557), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5927, - FreeVars: ast.Identifiers{ - "denominator", - "n_", - "numerator", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(21), - }, - End: ast.Location{ - Line: int(557), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5927, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(21), - }, - End: ast.Location{ - Line: int(557), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5927, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(21), - }, - End: ast.Location{ - Line: int(557), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(30), - }, - End: ast.Location{ - Line: int(557), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5938, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(36), - }, - End: ast.Location{ - Line: int(557), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5927, - FreeVars: ast.Identifiers{ - "denominator", - "numerator", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(36), - }, - End: ast.Location{ - Line: int(557), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5927, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), + Line: int(569), Column: int(36), }, End: ast.Location{ - Line: int(557), + Line: int(569), Column: int(39), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -79193,90 +81091,230 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "floor", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6112, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(36), + }, + End: ast.Location{ + Line: int(569), + Column: int(45), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(46), + Right: &ast.Var{ + Id: "denominator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6117, + FreeVars: ast.Identifiers{ + "denominator", }, - End: ast.Location{ - Line: int(557), - Column: int(69), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(58), + }, + End: ast.Location{ + Line: int(569), + Column: int(69), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "numerator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6117, + FreeVars: ast.Identifiers{ + "numerator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(46), + }, + End: ast.Location{ + Line: int(569), + Column: int(55), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p5949, + Ctx: p6117, FreeVars: ast.Identifiers{ "denominator", "numerator", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(46), - }, - End: ast.Location{ - Line: int(557), - Column: int(55), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(46), }, - Fodder: ast.Fodder{}, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "numerator", + End: ast.Location{ + Line: int(569), + Column: int(69), }, }, - Id: "numerator", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(1), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(58), - }, - End: ast.Location{ - Line: int(557), - Column: int(69), - }, - File: p1, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6112, + FreeVars: ast.Identifiers{ + "denominator", + "numerator", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(36), + }, + End: ast.Location{ + Line: int(569), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(21), + }, + End: ast.Location{ + Line: int(569), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "sign", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6112, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(21), + }, + End: ast.Location{ + Line: int(569), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n_", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6131, + FreeVars: ast.Identifiers{ + "n_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(30), }, - Fodder: ast.Fodder{}, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "denominator", + End: ast.Location{ + Line: int(569), + Column: int(32), }, }, - Id: "denominator", }, }, CommaFodder: nil, @@ -79284,51 +81322,2156 @@ var _StdAst = &ast.DesugaredObject{ }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6112, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(21), + }, + End: ast.Location{ + Line: int(569), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6112, + FreeVars: ast.Identifiers{ + "denominator", + "n_", + "numerator", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(21), + }, + End: ast.Location{ + Line: int(569), + Column: int(70), + }, + }, + }, + Op: ast.BinaryOp(0), }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "whole", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(557), + Line: int(569), Column: int(13), }, End: ast.Location{ - Line: int(557), + Line: int(569), Column: int(70), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(7), + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(20), + }, + End: ast.Location{ + Line: int(570), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6149, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(20), + }, + End: ast.Location{ + Line: int(570), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "numerator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6153, + FreeVars: ast.Identifiers{ + "numerator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(30), + }, + End: ast.Location{ + Line: int(570), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6149, + FreeVars: ast.Identifiers{ + "numerator", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(20), + }, + End: ast.Location{ + Line: int(570), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "denominator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6149, + FreeVars: ast.Identifiers{ + "denominator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(43), + }, + End: ast.Location{ + Line: int(570), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "denominator", + "numerator", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(20), + }, + End: ast.Location{ + Line: int(570), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - End: ast.Location{ - Line: int(569), - Column: int(14), + EqFodder: ast.Fodder{}, + Variable: "frac", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(13), + }, + End: ast.Location{ + Line: int(570), + Column: int(54), + }, }, - File: p1, }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.Var{ + Id: "ensure_pt", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{ + "ensure_pt", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(41), + }, + End: ast.Location{ + Line: int(571), + Column: int(50), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{ + "ensure_pt", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(40), + }, + End: ast.Location{ + Line: int(571), + Column: int(50), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(35), + }, + End: ast.Location{ + Line: int(571), + Column: int(36), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(27), + }, + End: ast.Location{ + Line: int(571), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(27), + }, + End: ast.Location{ + Line: int(571), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{ + "ensure_pt", + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(27), + }, + End: ast.Location{ + Line: int(571), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(56), + }, + End: ast.Location{ + Line: int(571), + Column: int(57), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(63), + }, + End: ast.Location{ + Line: int(571), + Column: int(64), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6165, + FreeVars: ast.Identifiers{ + "ensure_pt", + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(24), + }, + End: ast.Location{ + Line: int(571), + Column: int(64), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "dot_size", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(13), + }, + End: ast.Location{ + Line: int(571), + Column: int(64), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Var{ + Id: "dot_size", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6181, + FreeVars: ast.Identifiers{ + "dot_size", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(36), + }, + End: ast.Location{ + Line: int(572), + Column: int(44), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6181, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(29), + }, + End: ast.Location{ + Line: int(572), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "zero_pad", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6181, + FreeVars: ast.Identifiers{ + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(18), + }, + End: ast.Location{ + Line: int(572), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6181, + FreeVars: ast.Identifiers{ + "prec", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(18), + }, + End: ast.Location{ + Line: int(572), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6181, + FreeVars: ast.Identifiers{ + "dot_size", + "prec", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(18), + }, + End: ast.Location{ + Line: int(572), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + EqFodder: ast.Fodder{}, + Variable: "zp", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(13), + }, + End: ast.Location{ + Line: int(572), + Column: int(44), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "render_int", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6194, + FreeVars: ast.Identifiers{ + "render_int", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(19), + }, + End: ast.Location{ + Line: int(573), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(36), + }, + End: ast.Location{ + Line: int(573), + Column: int(37), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n__", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(30), + }, + End: ast.Location{ + Line: int(573), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(30), + }, + End: ast.Location{ + Line: int(573), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "whole", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{ + "whole", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(39), + }, + End: ast.Location{ + Line: int(573), + Column: int(44), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(46), + }, + End: ast.Location{ + Line: int(573), + Column: int(48), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(50), + }, + End: ast.Location{ + Line: int(573), + Column: int(51), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "blank", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(53), + }, + End: ast.Location{ + Line: int(573), + Column: int(58), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "plus", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{ + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(60), + }, + End: ast.Location{ + Line: int(573), + Column: int(64), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(66), + }, + End: ast.Location{ + Line: int(573), + Column: int(68), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6199, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(70), + }, + End: ast.Location{ + Line: int(573), + Column: int(72), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6194, + FreeVars: ast.Identifiers{ + "blank", + "n__", + "plus", + "render_int", + "whole", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(19), + }, + End: ast.Location{ + Line: int(573), + Column: int(73), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "str", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(13), + }, + End: ast.Location{ + Line: int(573), + Column: int(73), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(18), + }, + End: ast.Location{ + Line: int(574), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(10), + }, + End: ast.Location{ + Line: int(574), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(10), + }, + End: ast.Location{ + Line: int(574), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Var{ + Id: "ensure_pt", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "ensure_pt", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(18), + }, + End: ast.Location{ + Line: int(575), + Column: int(27), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: ".", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(33), + }, + End: ast.Location{ + Line: int(575), + Column: int(36), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(42), + }, + End: ast.Location{ + Line: int(575), + Column: int(44), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "ensure_pt", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(15), + }, + End: ast.Location{ + Line: int(575), + Column: int(44), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(9), + }, + End: ast.Location{ + Line: int(575), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "ensure_pt", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(9), + }, + End: ast.Location{ + Line: int(575), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(577), + Column: int(31), + }, + End: ast.Location{ + Line: int(577), + Column: int(32), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "frac", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(577), + Column: int(24), + }, + End: ast.Location{ + Line: int(577), + Column: int(28), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(577), + Column: int(24), + }, + End: ast.Location{ + Line: int(577), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Var{ + Id: "trailing", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(577), + Column: int(12), + }, + End: ast.Location{ + Line: int(577), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac", + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(577), + Column: int(12), + }, + End: ast.Location{ + Line: int(577), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "render_int", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6247, + FreeVars: ast.Identifiers{ + "render_int", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(28), + }, + End: ast.Location{ + Line: int(578), + Column: int(38), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(39), + }, + End: ast.Location{ + Line: int(578), + Column: int(44), + }, + }, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "frac", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{ + "frac", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(46), + }, + End: ast.Location{ + Line: int(578), + Column: int(50), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(52), + }, + End: ast.Location{ + Line: int(578), + Column: int(56), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(58), + }, + End: ast.Location{ + Line: int(578), + Column: int(59), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(61), + }, + End: ast.Location{ + Line: int(578), + Column: int(66), + }, + }, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(68), + }, + End: ast.Location{ + Line: int(578), + Column: int(73), + }, + }, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(75), + }, + End: ast.Location{ + Line: int(578), + Column: int(77), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6251, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(79), + }, + End: ast.Location{ + Line: int(578), + Column: int(81), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6247, + FreeVars: ast.Identifiers{ + "frac", + "prec", + "render_int", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(28), + }, + End: ast.Location{ + Line: int(578), + Column: int(82), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "frac_str", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(17), + }, + End: ast.Location{ + Line: int(578), + Column: int(82), + }, + }, + }, + }, + Body: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Var{ + Id: "trailing", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(27), + }, + End: ast.Location{ + Line: int(579), + Column: int(35), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(26), + }, + End: ast.Location{ + Line: int(579), + Column: int(35), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "strip_trailing_zero", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "strip_trailing_zero", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(41), + }, + End: ast.Location{ + Line: int(579), + Column: int(60), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "frac_str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6273, + FreeVars: ast.Identifiers{ + "frac_str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(61), + }, + End: ast.Location{ + Line: int(579), + Column: int(69), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac_str", + "strip_trailing_zero", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(41), + }, + End: ast.Location{ + Line: int(579), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Var{ + Id: "frac_str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac_str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(76), + }, + End: ast.Location{ + Line: int(579), + Column: int(84), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac_str", + "strip_trailing_zero", + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(23), + }, + End: ast.Location{ + Line: int(579), + Column: int(84), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ".", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(17), + }, + End: ast.Location{ + Line: int(579), + Column: int(20), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(11), + }, + End: ast.Location{ + Line: int(579), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(11), + }, + End: ast.Location{ + Line: int(579), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac_str", + "str", + "strip_trailing_zero", + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(579), + Column: int(11), + }, + End: ast.Location{ + Line: int(579), + Column: int(84), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac", + "prec", + "render_int", + "str", + "strip_trailing_zero", + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(578), + Column: int(11), + }, + End: ast.Location{ + Line: int(579), + Column: int(84), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(581), + Column: int(11), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "frac", + "prec", + "render_int", + "str", + "strip_trailing_zero", + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(577), + Column: int(9), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "ensure_pt", + "frac", + "prec", + "render_int", + "str", + "strip_trailing_zero", + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "frac", + "n__", + "plus", + "prec", + "render_int", + "strip_trailing_zero", + "trailing", + "whole", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(573), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "blank", + "dot_size", + "ensure_pt", + "frac", + "n__", + "plus", + "prec", + "render_int", + "strip_trailing_zero", + "trailing", + "whole", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "frac", + "n__", + "plus", + "prec", + "render_int", + "strip_trailing_zero", + "trailing", + "whole", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(571), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p5847, + Ctx: p6218, FreeVars: ast.Identifiers{ "$std", "blank", @@ -79345,2088 +83488,409 @@ var _StdAst = &ast.DesugaredObject{ "whole", "zero_pad", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "frac", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(20), - }, - End: ast.Location{ - Line: int(558), - Column: int(54), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "denominator", - "numerator", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(20), - }, - End: ast.Location{ - Line: int(558), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5968, - FreeVars: ast.Identifiers{ - "numerator", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(20), - }, - End: ast.Location{ - Line: int(558), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5968, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(20), - }, - End: ast.Location{ - Line: int(558), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(30), - }, - End: ast.Location{ - Line: int(558), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5977, - FreeVars: ast.Identifiers{ - "numerator", - }, - }, - Id: "numerator", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(43), - }, - End: ast.Location{ - Line: int(558), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5968, - FreeVars: ast.Identifiers{ - "denominator", - }, - }, - Id: "denominator", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(570), + Column: int(7), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(558), - Column: int(13), - }, - End: ast.Location{ - Line: int(558), - Column: int(54), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "frac", - "n__", - "plus", - "prec", - "render_int", - "strip_trailing_zero", - "trailing", - "whole", - "zero_pad", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "dot_size", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(24), - }, - End: ast.Location{ - Line: int(559), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{ - "ensure_pt", - "prec", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(27), - }, - End: ast.Location{ - Line: int(559), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{ - "ensure_pt", - "prec", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(27), - }, - End: ast.Location{ - Line: int(559), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(27), - }, - End: ast.Location{ - Line: int(559), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(35), - }, - End: ast.Location{ - Line: int(559), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(40), - }, - End: ast.Location{ - Line: int(559), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(41), - }, - End: ast.Location{ - Line: int(559), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Id: "ensure_pt", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(56), - }, - End: ast.Location{ - Line: int(559), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(63), - }, - End: ast.Location{ - Line: int(559), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5986, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(13), - }, - End: ast.Location{ - Line: int(559), - Column: int(64), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "blank", - "dot_size", - "ensure_pt", - "frac", - "n__", - "plus", - "prec", - "render_int", - "strip_trailing_zero", - "trailing", - "whole", - "zero_pad", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "zp", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(18), - }, - End: ast.Location{ - Line: int(560), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6006, - FreeVars: ast.Identifiers{ - "dot_size", - "prec", - "zero_pad", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(18), - }, - End: ast.Location{ - Line: int(560), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6006, - FreeVars: ast.Identifiers{ - "prec", - "zero_pad", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(18), - }, - End: ast.Location{ - Line: int(560), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6006, - FreeVars: ast.Identifiers{ - "zero_pad", - }, - }, - Id: "zero_pad", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(29), - }, - End: ast.Location{ - Line: int(560), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6006, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(36), - }, - End: ast.Location{ - Line: int(560), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6006, - FreeVars: ast.Identifiers{ - "dot_size", - }, - }, - Id: "dot_size", - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(13), - }, - End: ast.Location{ - Line: int(560), - Column: int(44), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "frac", - "n__", - "plus", - "prec", - "render_int", - "strip_trailing_zero", - "trailing", - "whole", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "str", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(19), - }, - End: ast.Location{ - Line: int(561), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6021, - FreeVars: ast.Identifiers{ - "blank", - "n__", - "plus", - "render_int", - "whole", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(19), - }, - End: ast.Location{ - Line: int(561), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6021, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(30), - }, - End: ast.Location{ - Line: int(561), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(30), - }, - End: ast.Location{ - Line: int(561), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(36), - }, - End: ast.Location{ - Line: int(561), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(39), - }, - End: ast.Location{ - Line: int(561), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{ - "whole", - }, - }, - Id: "whole", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(46), - }, - End: ast.Location{ - Line: int(561), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(50), - }, - End: ast.Location{ - Line: int(561), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(53), - }, - End: ast.Location{ - Line: int(561), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(60), - }, - End: ast.Location{ - Line: int(561), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{ - "plus", - }, - }, - Id: "plus", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(66), - }, - End: ast.Location{ - Line: int(561), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(70), - }, - End: ast.Location{ - Line: int(561), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(13), - }, - End: ast.Location{ - Line: int(561), - Column: int(73), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(7), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "ensure_pt", - "frac", - "prec", - "render_int", - "str", - "strip_trailing_zero", - "trailing", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(10), - }, - End: ast.Location{ - Line: int(562), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(10), - }, - End: ast.Location{ - Line: int(562), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(18), - }, - End: ast.Location{ - Line: int(562), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(9), - }, - End: ast.Location{ - Line: int(563), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "ensure_pt", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(9), - }, - End: ast.Location{ - Line: int(563), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(15), - }, - End: ast.Location{ - Line: int(563), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(18), - }, - End: ast.Location{ - Line: int(563), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Id: "ensure_pt", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(33), - }, - End: ast.Location{ - Line: int(563), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{}, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(42), - }, - End: ast.Location{ - Line: int(563), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(9), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - "str", - "strip_trailing_zero", - "trailing", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(12), - }, - End: ast.Location{ - Line: int(565), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac", - "trailing", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(12), - }, - End: ast.Location{ - Line: int(565), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Id: "trailing", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(24), - }, - End: ast.Location{ - Line: int(565), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(24), - }, - End: ast.Location{ - Line: int(565), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac", - }, - }, - Id: "frac", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(31), - }, - End: ast.Location{ - Line: int(565), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(11), - }, - End: ast.Location{ - Line: int(567), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - "str", - "strip_trailing_zero", - "trailing", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "frac_str", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(28), - }, - End: ast.Location{ - Line: int(566), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6080, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(28), - }, - End: ast.Location{ - Line: int(566), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6080, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(39), - }, - End: ast.Location{ - Line: int(566), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(46), - }, - End: ast.Location{ - Line: int(566), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{ - "frac", - }, - }, - Id: "frac", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(52), - }, - End: ast.Location{ - Line: int(566), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(58), - }, - End: ast.Location{ - Line: int(566), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(61), - }, - End: ast.Location{ - Line: int(566), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(68), - }, - End: ast.Location{ - Line: int(566), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(75), - }, - End: ast.Location{ - Line: int(566), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(79), - }, - End: ast.Location{ - Line: int(566), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6086, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(17), - }, - End: ast.Location{ - Line: int(566), - Column: int(82), - }, - File: p1, - }, - }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(11), - }, - End: ast.Location{ - Line: int(567), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac_str", - "str", - "strip_trailing_zero", - "trailing", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(11), - }, - End: ast.Location{ - Line: int(567), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(11), - }, - End: ast.Location{ - Line: int(567), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(17), - }, - End: ast.Location{ - Line: int(567), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{}, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(23), - }, - End: ast.Location{ - Line: int(567), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac_str", - "strip_trailing_zero", - "trailing", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(26), - }, - End: ast.Location{ - Line: int(567), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(27), - }, - End: ast.Location{ - Line: int(567), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Id: "trailing", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(41), - }, - End: ast.Location{ - Line: int(567), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac_str", - "strip_trailing_zero", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(41), - }, - End: ast.Location{ - Line: int(567), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "strip_trailing_zero", - }, - }, - Id: "strip_trailing_zero", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(61), - }, - End: ast.Location{ - Line: int(567), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6116, - FreeVars: ast.Identifiers{ - "frac_str", - }, - }, - Id: "frac_str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(76), - }, - End: ast.Location{ - Line: int(567), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "frac_str", - }, - }, - Id: "frac_str", - }, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(11), - }, - End: ast.Location{ - Line: int(569), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p5847, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - }, + End: ast.Location{ + Line: int(581), + Column: int(14), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "$std", + "blank", + "denominator", + "ensure_pt", + "n_", + "n__", + "numerator", + "plus", + "prec", + "render_int", + "std", + "strip_trailing_zero", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "$std", + "blank", + "denominator", + "ensure_pt", + "n_", + "n__", + "plus", + "prec", + "render_int", + "std", + "strip_trailing_zero", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// Represent the rounded number as an integer * 1/10**prec.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// Note that it can also be equal to 10**prec and we'll need to carry", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// over to the wholes. We operate on the absolute numbers, so that we", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// don't have trouble with the rounding direction.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "$std", + "blank", + "ensure_pt", + "n_", + "n__", + "plus", + "prec", + "render_int", + "std", + "strip_trailing_zero", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "$std", + "blank", + "ensure_pt", + "n_", + "n__", + "plus", + "prec", + "render_int", + "std", + "strip_trailing_zero", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(562), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6218, + FreeVars: ast.Identifiers{ + "$std", + "blank", + "ensure_pt", + "n__", + "plus", + "prec", + "render_int", + "std", + "strip_trailing_zero", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(561), + Column: int(7), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "n__", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(28), + }, + End: ast.Location{ + Line: int(560), + Column: int(31), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "zero_pad", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(33), + }, + End: ast.Location{ + Line: int(560), + Column: int(41), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "blank", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(43), + }, + End: ast.Location{ + Line: int(560), + Column: int(48), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "plus", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(50), + }, + End: ast.Location{ + Line: int(560), + Column: int(54), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "ensure_pt", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(56), + }, + End: ast.Location{ + Line: int(560), + Column: int(65), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "trailing", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(67), + }, + End: ast.Location{ + Line: int(560), + Column: int(75), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "prec", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(77), + }, + End: ast.Location{ + Line: int(560), + Column: int(81), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p6320, + FreeVars: ast.Identifiers{ + "$std", + "render_int", + "std", + "strip_trailing_zero", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(11), + }, + End: ast.Location{ + Line: int(581), + Column: int(14), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "render_float_dec", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -81436,453 +83900,140 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Render floating point in scientific form", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_float_dec", - "render_hex", - "render_int", - "std", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "render_float_sci", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(11), - }, - End: ast.Location{ - Line: int(583), - Column: int(85), - }, - File: p1, - }, - Fodder: nil, - Ctx: p6130, - FreeVars: ast.Identifiers{ - "render_float_dec", - "render_int", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n__", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(28), - }, - End: ast.Location{ - Line: int(572), - Column: int(31), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "zero_pad", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(33), - }, - End: ast.Location{ - Line: int(572), - Column: int(41), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(43), - }, - End: ast.Location{ - Line: int(572), - Column: int(48), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(50), - }, - End: ast.Location{ - Line: int(572), - Column: int(54), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ensure_pt", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(56), - }, - End: ast.Location{ - Line: int(572), - Column: int(65), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "trailing", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(67), - }, - End: ast.Location{ - Line: int(572), - Column: int(75), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "caps", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(77), - }, - End: ast.Location{ - Line: int(572), - Column: int(81), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prec", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(83), - }, - End: ast.Location{ - Line: int(572), - Column: int(87), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(7), - }, - End: ast.Location{ - Line: int(583), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6135, - FreeVars: ast.Identifiers{ - "blank", - "caps", - "ensure_pt", - "n__", - "plus", - "prec", - "render_float_dec", - "render_int", - "std", - "trailing", - "zero_pad", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "exponent", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(24), - }, - End: ast.Location{ - Line: int(573), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6139, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(27), - }, - End: ast.Location{ - Line: int(573), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6139, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(27), - }, - End: ast.Location{ - Line: int(573), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6139, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6330, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(573), + Line: int(585), Column: int(34), }, End: ast.Location{ - Line: int(573), + Line: int(585), Column: int(35), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6139, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ + Left: &ast.Var{ + Id: "n__", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6330, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(27), + }, + End: ast.Location{ + Line: int(585), + Column: int(30), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6330, + FreeVars: ast.Identifiers{ + "n__", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(573), + Line: int(585), + Column: int(27), + }, + End: ast.Location{ + Line: int(585), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6330, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), Column: int(41), }, End: ast.Location{ - Line: int(573), + Line: int(585), Column: int(42), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6139, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - ElseFodder: ast.Fodder{}, BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(48), - }, - End: ast.Location{ - Line: int(573), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6139, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(48), - }, - End: ast.Location{ - Line: int(573), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6139, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(48), - }, - End: ast.Location{ - Line: int(573), - Column: int(51), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(48), + }, + End: ast.Location{ + Line: int(585), + Column: int(51), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -81892,343 +84043,72 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "floor", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6330, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(48), + }, + End: ast.Location{ + Line: int(585), + Column: int(57), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(58), - }, - End: ast.Location{ - Line: int(573), - Column: int(93), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6156, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(58), - }, - End: ast.Location{ - Line: int(573), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6156, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(58), - }, - End: ast.Location{ - Line: int(573), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6156, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(58), - }, - End: ast.Location{ - Line: int(573), - Column: int(61), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "log", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(66), - }, - End: ast.Location{ - Line: int(573), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6167, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(66), - }, - End: ast.Location{ - Line: int(573), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6167, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(66), - }, - End: ast.Location{ - Line: int(573), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(74), - }, - End: ast.Location{ - Line: int(573), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6176, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(82), - }, - End: ast.Location{ - Line: int(573), - Column: int(93), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6156, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(82), - }, - End: ast.Location{ - Line: int(573), - Column: int(89), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6156, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), + Line: int(585), Column: int(82), }, End: ast.Location{ - Line: int(573), + Line: int(585), Column: int(85), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "log", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -82238,105 +84118,2169 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "log", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6348, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(82), + }, + End: ast.Location{ + Line: int(585), + Column: int(89), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "10", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6352, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(573), + Line: int(585), Column: int(90), }, End: ast.Location{ - Line: int(573), + Line: int(585), Column: int(92), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6187, - FreeVars: ast.Identifiers{}, }, - OriginalString: "10", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6348, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(82), + }, + End: ast.Location{ + Line: int(585), + Column: int(93), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(58), + }, + End: ast.Location{ + Line: int(585), + Column: int(61), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "log", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6348, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(58), + }, + End: ast.Location{ + Line: int(585), + Column: int(65), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(66), + }, + End: ast.Location{ + Line: int(585), + Column: int(69), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6366, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(66), + }, + End: ast.Location{ + Line: int(585), + Column: int(73), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n__", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6370, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(74), + }, + End: ast.Location{ + Line: int(585), + Column: int(77), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6366, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(66), + }, + End: ast.Location{ + Line: int(585), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6348, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(58), + }, + End: ast.Location{ + Line: int(585), + Column: int(79), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6348, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(58), + }, + End: ast.Location{ + Line: int(585), + Column: int(93), + }, + }, + }, + Op: ast.BinaryOp(1), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6330, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(48), + }, + End: ast.Location{ + Line: int(585), + Column: int(94), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6330, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(24), + }, + End: ast.Location{ + Line: int(585), + Column: int(94), + }, + }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "exponent", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(573), + Line: int(585), Column: int(13), }, End: ast.Location{ - Line: int(573), + Line: int(585), Column: int(94), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(7), + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "render_int", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6382, + FreeVars: ast.Identifiers{ + "render_int", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(22), + }, + End: ast.Location{ + Line: int(587), + Column: int(32), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(44), + }, + End: ast.Location{ + Line: int(587), + Column: int(45), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(33), + }, + End: ast.Location{ + Line: int(587), + Column: int(41), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(33), + }, + End: ast.Location{ + Line: int(587), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(47), + }, + End: ast.Location{ + Line: int(587), + Column: int(50), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(47), + }, + End: ast.Location{ + Line: int(587), + Column: int(54), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6399, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(55), + }, + End: ast.Location{ + Line: int(587), + Column: int(63), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{ + "exponent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(47), + }, + End: ast.Location{ + Line: int(587), + Column: int(64), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(66), + }, + End: ast.Location{ + Line: int(587), + Column: int(67), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(69), + }, + End: ast.Location{ + Line: int(587), + Column: int(70), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(72), + }, + End: ast.Location{ + Line: int(587), + Column: int(77), + }, + }, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(79), + }, + End: ast.Location{ + Line: int(587), + Column: int(83), + }, + }, + }, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(85), + }, + End: ast.Location{ + Line: int(587), + Column: int(87), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6387, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(89), + }, + End: ast.Location{ + Line: int(587), + Column: int(91), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6382, + FreeVars: ast.Identifiers{ + "exponent", + "render_int", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(22), + }, + End: ast.Location{ + Line: int(587), + Column: int(92), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Conditional{ + Cond: &ast.Var{ + Id: "caps", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6382, + FreeVars: ast.Identifiers{ + "caps", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(24), + }, + End: ast.Location{ + Line: int(586), + Column: int(28), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "E", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6382, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(34), + }, + End: ast.Location{ + Line: int(586), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "e", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6382, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(43), + }, + End: ast.Location{ + Line: int(586), + Column: int(46), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6382, + FreeVars: ast.Identifiers{ + "caps", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(21), + }, + End: ast.Location{ + Line: int(586), + Column: int(46), + }, + }, + }, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(19), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6382, + FreeVars: ast.Identifiers{ + "caps", + "exponent", + "render_int", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(20), + }, + End: ast.Location{ + Line: int(587), + Column: int(92), + }, + }, + }, + Op: ast.BinaryOp(3), }, - End: ast.Location{ - Line: int(583), - Column: int(85), + EqFodder: ast.Fodder{}, + Variable: "suff", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(13), + }, + End: ast.Location{ + Line: int(587), + Column: int(92), + }, }, - File: p1, }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "324", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(40), + }, + End: ast.Location{ + Line: int(588), + Column: int(43), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(39), + }, + End: ast.Location{ + Line: int(588), + Column: int(43), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + Left: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(27), + }, + End: ast.Location{ + Line: int(588), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(27), + }, + End: ast.Location{ + Line: int(588), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(20), + }, + End: ast.Location{ + Line: int(591), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "pow", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(20), + }, + End: ast.Location{ + Line: int(591), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6436, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(28), + }, + End: ast.Location{ + Line: int(591), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6436, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(43), + }, + End: ast.Location{ + Line: int(591), + Column: int(44), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6436, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(32), + }, + End: ast.Location{ + Line: int(591), + Column: int(40), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6436, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(32), + }, + End: ast.Location{ + Line: int(591), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "exponent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(20), + }, + End: ast.Location{ + Line: int(591), + Column: int(45), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(15), + }, + End: ast.Location{ + Line: int(591), + Column: int(17), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n__", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + ast.FodderElement{ + Comment: []string{ + "// Avoid a rounding error where std.pow(10, -324) is 0", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(8), + }, + ast.FodderElement{ + Comment: []string{ + "// -324 is the smallest exponent possible.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(9), + }, + End: ast.Location{ + Line: int(591), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(9), + }, + End: ast.Location{ + Line: int(591), + Column: int(17), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "exponent", + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(9), + }, + End: ast.Location{ + Line: int(591), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(1), + }, + BranchFalse: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(15), + }, + End: ast.Location{ + Line: int(593), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "pow", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(15), + }, + End: ast.Location{ + Line: int(593), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6461, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(23), + }, + End: ast.Location{ + Line: int(593), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6461, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(27), + }, + End: ast.Location{ + Line: int(593), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "exponent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(15), + }, + End: ast.Location{ + Line: int(593), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "n__", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "n__", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(9), + }, + End: ast.Location{ + Line: int(593), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "exponent", + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(9), + }, + End: ast.Location{ + Line: int(593), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6423, + FreeVars: ast.Identifiers{ + "exponent", + "n__", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(24), + }, + End: ast.Location{ + Line: int(593), + Column: int(36), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "mantissa", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(13), + }, + End: ast.Location{ + Line: int(593), + Column: int(36), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(30), + }, + End: ast.Location{ + Line: int(594), + Column: int(33), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6479, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(30), + }, + End: ast.Location{ + Line: int(594), + Column: int(40), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "suff", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6483, + FreeVars: ast.Identifiers{ + "suff", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(41), + }, + End: ast.Location{ + Line: int(594), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6479, + FreeVars: ast.Identifiers{ + "std", + "suff", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(30), + }, + End: ast.Location{ + Line: int(594), + Column: int(46), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "zero_pad", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6479, + FreeVars: ast.Identifiers{ + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(19), + }, + End: ast.Location{ + Line: int(594), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6479, + FreeVars: ast.Identifiers{ + "std", + "suff", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(19), + }, + End: ast.Location{ + Line: int(594), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + EqFodder: ast.Fodder{}, + Variable: "zp2", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(13), + }, + End: ast.Location{ + Line: int(594), + Column: int(46), + }, + }, + }, + }, + Body: &ast.Binary{ + Right: &ast.Var{ + Id: "suff", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6491, + FreeVars: ast.Identifiers{ + "suff", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(81), + }, + End: ast.Location{ + Line: int(595), + Column: int(85), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "render_float_dec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6491, + FreeVars: ast.Identifiers{ + "render_float_dec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(7), + }, + End: ast.Location{ + Line: int(595), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "mantissa", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6499, + FreeVars: ast.Identifiers{ + "mantissa", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(24), + }, + End: ast.Location{ + Line: int(595), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6499, + FreeVars: ast.Identifiers{ + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(34), + }, + End: ast.Location{ + Line: int(595), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "blank", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6499, + FreeVars: ast.Identifiers{ + "blank", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(39), + }, + End: ast.Location{ + Line: int(595), + Column: int(44), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "plus", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6499, + FreeVars: ast.Identifiers{ + "plus", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(46), + }, + End: ast.Location{ + Line: int(595), + Column: int(50), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "ensure_pt", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6499, + FreeVars: ast.Identifiers{ + "ensure_pt", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(52), + }, + End: ast.Location{ + Line: int(595), + Column: int(61), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "trailing", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6499, + FreeVars: ast.Identifiers{ + "trailing", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(63), + }, + End: ast.Location{ + Line: int(595), + Column: int(71), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6499, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(73), + }, + End: ast.Location{ + Line: int(595), + Column: int(77), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6491, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "mantissa", + "plus", + "prec", + "render_float_dec", + "trailing", + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(7), + }, + End: ast.Location{ + Line: int(595), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6491, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "mantissa", + "plus", + "prec", + "render_float_dec", + "suff", + "trailing", + "zp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(7), + }, + End: ast.Location{ + Line: int(595), + Column: int(85), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6491, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "mantissa", + "plus", + "prec", + "render_float_dec", + "std", + "suff", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(7), + }, + End: ast.Location{ + Line: int(595), + Column: int(85), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6491, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "exponent", + "n__", + "plus", + "prec", + "render_float_dec", + "std", + "suff", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(7), + }, + End: ast.Location{ + Line: int(595), + Column: int(85), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p6135, + Ctx: p6491, FreeVars: ast.Identifiers{ "blank", "caps", @@ -82351,1761 +86295,240 @@ var _StdAst = &ast.DesugaredObject{ "trailing", "zero_pad", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "suff", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(20), - }, - End: ast.Location{ - Line: int(575), - Column: int(92), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6193, - FreeVars: ast.Identifiers{ - "caps", - "exponent", - "render_int", - "std", - }, - }, - Left: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(21), - }, - End: ast.Location{ - Line: int(574), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6193, - FreeVars: ast.Identifiers{ - "caps", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(24), - }, - End: ast.Location{ - Line: int(574), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6193, - FreeVars: ast.Identifiers{ - "caps", - }, - }, - Id: "caps", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(34), - }, - End: ast.Location{ - Line: int(574), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6193, - FreeVars: ast.Identifiers{}, - }, - Value: "E", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(43), - }, - End: ast.Location{ - Line: int(574), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6193, - FreeVars: ast.Identifiers{}, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(19), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(22), - }, - End: ast.Location{ - Line: int(575), - Column: int(92), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6193, - FreeVars: ast.Identifiers{ - "exponent", - "render_int", - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(22), - }, - End: ast.Location{ - Line: int(575), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6193, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(33), - }, - End: ast.Location{ - Line: int(575), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(33), - }, - End: ast.Location{ - Line: int(575), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(44), - }, - End: ast.Location{ - Line: int(575), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(47), - }, - End: ast.Location{ - Line: int(575), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(47), - }, - End: ast.Location{ - Line: int(575), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(47), - }, - End: ast.Location{ - Line: int(575), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(55), - }, - End: ast.Location{ - Line: int(575), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6222, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(66), - }, - End: ast.Location{ - Line: int(575), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(69), - }, - End: ast.Location{ - Line: int(575), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(72), - }, - End: ast.Location{ - Line: int(575), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(79), - }, - End: ast.Location{ - Line: int(575), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(85), - }, - End: ast.Location{ - Line: int(575), - Column: int(87), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(89), - }, - End: ast.Location{ - Line: int(575), - Column: int(91), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6208, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(7), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(13), - }, - End: ast.Location{ - Line: int(575), - Column: int(92), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(576), - Column: int(7), - }, - End: ast.Location{ - Line: int(583), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6135, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "exponent", - "n__", - "plus", - "prec", - "render_float_dec", - "std", - "suff", - "trailing", - "zero_pad", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "mantissa", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(576), - Column: int(24), - }, - End: ast.Location{ - Line: int(581), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(576), - Column: int(27), - }, - End: ast.Location{ - Line: int(576), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(576), - Column: int(27), - }, - End: ast.Location{ - Line: int(576), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(576), - Column: int(39), - }, - End: ast.Location{ - Line: int(576), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(576), - Column: int(40), - }, - End: ast.Location{ - Line: int(576), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "324", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(9), - }, - End: ast.Location{ - Line: int(579), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(9), - }, - End: ast.Location{ - Line: int(579), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(9), - }, - End: ast.Location{ - Line: int(579), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), - Comment: []string{ - "// Avoid a rounding error where std.pow(10, -324) is 0", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), - Comment: []string{ - "// -324 is the smallest exponent possible.", - }, - }, - }, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(15), - }, - End: ast.Location{ - Line: int(579), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(20), - }, - End: ast.Location{ - Line: int(579), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(20), - }, - End: ast.Location{ - Line: int(579), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(20), - }, - End: ast.Location{ - Line: int(579), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "pow", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(28), - }, - End: ast.Location{ - Line: int(579), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6262, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(32), - }, - End: ast.Location{ - Line: int(579), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6262, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(32), - }, - End: ast.Location{ - Line: int(579), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6262, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(43), - }, - End: ast.Location{ - Line: int(579), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6262, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(9), - }, - End: ast.Location{ - Line: int(581), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(9), - }, - End: ast.Location{ - Line: int(581), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(15), - }, - End: ast.Location{ - Line: int(581), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(15), - }, - End: ast.Location{ - Line: int(581), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6235, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(15), - }, - End: ast.Location{ - Line: int(581), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "pow", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(23), - }, - End: ast.Location{ - Line: int(581), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6283, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(27), - }, - End: ast.Location{ - Line: int(581), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6283, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(576), - Column: int(13), - }, - End: ast.Location{ - Line: int(581), - Column: int(36), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(7), - }, - End: ast.Location{ - Line: int(583), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6135, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "plus", - "prec", - "render_float_dec", - "std", - "suff", - "trailing", - "zero_pad", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "zp2", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(19), - }, - End: ast.Location{ - Line: int(582), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6291, - FreeVars: ast.Identifiers{ - "std", - "suff", - "zero_pad", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(19), - }, - End: ast.Location{ - Line: int(582), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6291, - FreeVars: ast.Identifiers{ - "zero_pad", - }, - }, - Id: "zero_pad", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(30), - }, - End: ast.Location{ - Line: int(582), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6291, - FreeVars: ast.Identifiers{ - "std", - "suff", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(30), - }, - End: ast.Location{ - Line: int(582), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6291, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(30), - }, - End: ast.Location{ - Line: int(582), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(41), - }, - End: ast.Location{ - Line: int(582), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6304, - FreeVars: ast.Identifiers{ - "suff", - }, - }, - Id: "suff", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(13), - }, - End: ast.Location{ - Line: int(582), - Column: int(46), - }, - File: p1, - }, - }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(7), - }, - End: ast.Location{ - Line: int(583), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6135, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "plus", - "prec", - "render_float_dec", - "suff", - "trailing", - "zp2", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(7), - }, - End: ast.Location{ - Line: int(583), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6135, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "plus", - "prec", - "render_float_dec", - "trailing", - "zp2", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(7), - }, - End: ast.Location{ - Line: int(583), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6135, - FreeVars: ast.Identifiers{ - "render_float_dec", - }, - }, - Id: "render_float_dec", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(24), - }, - End: ast.Location{ - Line: int(583), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6315, - FreeVars: ast.Identifiers{ - "mantissa", - }, - }, - Id: "mantissa", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(34), - }, - End: ast.Location{ - Line: int(583), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6315, - FreeVars: ast.Identifiers{ - "zp2", - }, - }, - Id: "zp2", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(39), - }, - End: ast.Location{ - Line: int(583), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6315, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(46), - }, - End: ast.Location{ - Line: int(583), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6315, - FreeVars: ast.Identifiers{ - "plus", - }, - }, - Id: "plus", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(52), - }, - End: ast.Location{ - Line: int(583), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6315, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Id: "ensure_pt", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(63), - }, - End: ast.Location{ - Line: int(583), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6315, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Id: "trailing", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(73), - }, - End: ast.Location{ - Line: int(583), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6315, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(583), - Column: int(81), - }, - End: ast.Location{ - Line: int(583), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6135, - FreeVars: ast.Identifiers{ - "suff", - }, - }, - Id: "suff", - }, + End: ast.Location{ + Line: int(595), + Column: int(85), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6491, + FreeVars: ast.Identifiers{ + "blank", + "caps", + "ensure_pt", + "n__", + "plus", + "prec", + "render_float_dec", + "render_int", + "std", + "trailing", + "zero_pad", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(7), + }, + End: ast.Location{ + Line: int(595), + Column: int(85), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "n__", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(28), + }, + End: ast.Location{ + Line: int(584), + Column: int(31), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "zero_pad", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(33), + }, + End: ast.Location{ + Line: int(584), + Column: int(41), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "blank", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(43), + }, + End: ast.Location{ + Line: int(584), + Column: int(48), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "plus", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(50), + }, + End: ast.Location{ + Line: int(584), + Column: int(54), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "ensure_pt", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(56), + }, + End: ast.Location{ + Line: int(584), + Column: int(65), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "trailing", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(67), + }, + End: ast.Location{ + Line: int(584), + Column: int(75), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "caps", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(77), + }, + End: ast.Location{ + Line: int(584), + Column: int(81), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "prec", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(83), + }, + End: ast.Location{ + Line: int(584), + Column: int(87), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p6524, + FreeVars: ast.Identifiers{ + "render_float_dec", + "render_int", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(11), + }, + End: ast.Location{ + Line: int(595), + Column: int(85), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "render_float_sci", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -84115,269 +86538,53 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Render a value with an arbitrary format code.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "format_code", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(11), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: nil, - Ctx: p6337, - FreeVars: ast.Identifiers{ - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "val", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(23), - }, - End: ast.Location{ - Line: int(586), - Column: int(26), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "code", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(28), - }, - End: ast.Location{ - Line: int(586), - Column: int(32), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "fw", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(34), - }, - End: ast.Location{ - Line: int(586), - Column: int(36), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prec_or_null", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(38), - }, - End: ast.Location{ - Line: int(586), - Column: int(50), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(52), - }, - End: ast.Location{ - Line: int(586), - Column: int(53), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(7), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - "fw", - "i", - "prec_or_null", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "cflags", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(22), - }, - End: ast.Location{ - Line: int(587), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6346, - FreeVars: ast.Identifiers{ - "code", - }, - }, Target: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(22), - }, - End: ast.Location{ - Line: int(587), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(599), + Column: int(22), + }, + End: ast.Location{ + Line: int(599), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "cflags", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -84387,633 +86594,393 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "cflags", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6535, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(599), + Column: int(22), + }, + End: ast.Location{ + Line: int(599), + Column: int(33), + }, + }, + }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "cflags", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(587), + Line: int(599), Column: int(13), }, End: ast.Location{ - Line: int(587), + Line: int(599), Column: int(33), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(7), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fw", - "i", - "prec_or_null", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "fpprec", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(22), - }, - End: ast.Location{ - Line: int(588), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6356, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(25), - }, - End: ast.Location{ - Line: int(588), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6356, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(25), - }, - End: ast.Location{ - Line: int(588), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6356, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6542, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(588), + Line: int(600), Column: int(41), }, End: ast.Location{ - Line: int(588), + Line: int(600), Column: int(45), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "prec_or_null", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p6356, - FreeVars: ast.Identifiers{}, + Ctx: p6542, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(600), + Column: int(25), + }, + End: ast.Location{ + Line: int(600), + Column: int(37), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6542, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(600), + Column: int(25), + }, + End: ast.Location{ + Line: int(600), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Var{ + Id: "prec_or_null", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6542, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(600), + Column: int(51), + }, + End: ast.Location{ + Line: int(600), + Column: int(63), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "6", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6542, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(600), + Column: int(69), + }, + End: ast.Location{ + Line: int(600), + Column: int(70), + }, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(51), - }, - End: ast.Location{ - Line: int(588), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6356, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(69), - }, - End: ast.Location{ - Line: int(588), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6356, - FreeVars: ast.Identifiers{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6542, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(600), + Column: int(22), + }, + End: ast.Location{ + Line: int(600), + Column: int(70), + }, }, - OriginalString: "6", }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "fpprec", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(588), + Line: int(600), Column: int(13), }, End: ast.Location{ - Line: int(588), + Line: int(600), Column: int(70), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(589), - Column: int(7), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "fw", - "i", - "prec_or_null", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "iprec", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(589), - Column: int(21), - }, - End: ast.Location{ - Line: int(589), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6371, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(589), - Column: int(24), - }, - End: ast.Location{ - Line: int(589), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6371, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(589), - Column: int(24), - }, - End: ast.Location{ - Line: int(589), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6371, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6555, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(589), + Line: int(601), Column: int(40), }, End: ast.Location{ - Line: int(589), + Line: int(601), Column: int(44), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "prec_or_null", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p6371, - FreeVars: ast.Identifiers{}, + Ctx: p6555, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(601), + Column: int(24), + }, + End: ast.Location{ + Line: int(601), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6555, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(601), + Column: int(24), + }, + End: ast.Location{ + Line: int(601), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Var{ + Id: "prec_or_null", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6555, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(601), + Column: int(50), + }, + End: ast.Location{ + Line: int(601), + Column: int(62), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6555, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(601), + Column: int(68), + }, + End: ast.Location{ + Line: int(601), + Column: int(69), + }, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(589), - Column: int(50), - }, - End: ast.Location{ - Line: int(589), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6371, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(589), - Column: int(68), - }, - End: ast.Location{ - Line: int(589), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6371, - FreeVars: ast.Identifiers{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6555, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(601), + Column: int(21), + }, + End: ast.Location{ + Line: int(601), + Column: int(69), + }, }, - OriginalString: "0", }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "iprec", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(589), + Line: int(601), Column: int(13), }, End: ast.Location{ - Line: int(589), + Line: int(601), Column: int(69), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(7), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "fw", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "zp", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(18), - }, - End: ast.Location{ - Line: int(590), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6386, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(21), - }, - End: ast.Location{ - Line: int(590), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6386, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(21), - }, - End: ast.Location{ - Line: int(590), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6386, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(21), - }, - End: ast.Location{ - Line: int(590), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "zero", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(36), - }, - End: ast.Location{ - Line: int(590), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6386, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(37), - }, - End: ast.Location{ - Line: int(590), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6386, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, Target: &ast.Var{ + Id: "cflags", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(37), - }, - End: ast.Location{ - Line: int(590), - Column: int(43), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "cflags", }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(37), + }, + End: ast.Location{ + Line: int(602), + Column: int(43), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "left", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -85023,311 +86990,385 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "left", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6572, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(37), + }, + End: ast.Location{ + Line: int(602), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6572, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(36), + }, + End: ast.Location{ + Line: int(602), + Column: int(48), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(21), + }, + End: ast.Location{ + Line: int(602), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "zero", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6572, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(21), + }, + End: ast.Location{ + Line: int(602), + Column: int(32), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6572, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(21), + }, + End: ast.Location{ + Line: int(602), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Var{ + Id: "fw", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6572, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(54), + }, + End: ast.Location{ + Line: int(602), + Column: int(56), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6572, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(62), + }, + End: ast.Location{ + Line: int(602), + Column: int(63), + }, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(54), - }, - End: ast.Location{ - Line: int(590), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6386, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(590), - Column: int(62), - }, - End: ast.Location{ - Line: int(590), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6386, - FreeVars: ast.Identifiers{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6572, + FreeVars: ast.Identifiers{ + "cflags", + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(18), + }, + End: ast.Location{ + Line: int(602), + Column: int(63), + }, }, - OriginalString: "0", }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "zp", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(590), + Line: int(602), Column: int(13), }, End: ast.Location{ - Line: int(590), + Line: int(602), Column: int(63), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(7), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - "zp", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(10), - }, - End: ast.Location{ - Line: int(591), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ + Right: &ast.LiteralString{ + Value: "s", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(591), - Column: int(10), + Line: int(603), + Column: int(24), }, End: ast.Location{ - Line: int(591), - Column: int(20), + Line: int(603), + Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ Target: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(10), - }, - End: ast.Location{ - Line: int(591), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(603), + Column: int(10), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(603), + Column: int(14), }, - File: nil, }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(24), - }, - End: ast.Location{ - Line: int(591), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(592), - Column: int(9), - }, - End: ast.Location{ - Line: int(592), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(592), - Column: int(9), - }, - End: ast.Location{ - Line: int(592), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(592), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(592), - Column: int(12), + Line: int(0), + Column: int(0), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(603), + Column: int(10), + }, + End: ast.Location{ + Line: int(603), + Column: int(20), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(603), + Column: int(10), + }, + End: ast.Location{ + Line: int(603), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(604), + Column: int(9), + }, + End: ast.Location{ + Line: int(604), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "toString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -85337,161 +87378,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "toString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(604), + Column: int(9), + }, + End: ast.Location{ + Line: int(604), + Column: int(21), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "val", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(592), - Column: int(22), - }, - End: ast.Location{ - Line: int(592), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p6426, + Ctx: p6604, FreeVars: ast.Identifiers{ "val", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(604), + Column: int(22), + }, + End: ast.Location{ + Line: int(604), + Column: int(25), + }, + }, }, - Id: "val", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(12), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p6342, + Ctx: p6588, FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", "std", "val", - "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(604), + Column: int(9), + }, + End: ast.Location{ + Line: int(604), + Column: int(26), + }, }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(15), - }, - End: ast.Location{ - Line: int(593), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ + Right: &ast.LiteralString{ + Value: "d", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(593), - Column: int(15), + Line: int(605), + Column: int(29), }, End: ast.Location{ - Line: int(593), - Column: int(25), + Line: int(605), + Column: int(32), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ Target: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(15), - }, - End: ast.Location{ - Line: int(593), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(605), + Column: int(15), + }, + End: ast.Location{ + Line: int(605), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -85501,70 +87528,1179 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "ctype", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(593), - Column: int(29), + Line: int(605), + Column: int(15), }, End: ast.Location{ - Line: int(593), - Column: int(32), + Line: int(605), + Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(594), - Column: int(9), + Line: int(605), + Column: int(15), }, End: ast.Location{ - Line: int(598), - Column: int(103), + Line: int(605), + Column: int(32), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(606), + Column: int(29), + }, + End: ast.Location{ + Line: int(606), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(606), + Column: int(12), + }, + End: ast.Location{ + Line: int(606), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(606), + Column: int(12), + }, + End: ast.Location{ + Line: int(606), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6627, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(606), + Column: int(21), + }, + End: ast.Location{ + Line: int(606), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(606), + Column: int(12), + }, + End: ast.Location{ + Line: int(606), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(606), + Column: int(12), + }, + End: ast.Location{ + Line: int(606), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(608), + Column: int(34), + }, + End: ast.Location{ + Line: int(608), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(608), + Column: int(34), + }, + End: ast.Location{ + Line: int(608), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6641, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(608), + Column: int(43), + }, + End: ast.Location{ + Line: int(608), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(608), + Column: int(34), + }, + End: ast.Location{ + Line: int(608), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(608), + Column: int(23), + }, + End: ast.Location{ + Line: int(608), + Column: int(31), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(608), + Column: int(19), + }, + End: ast.Location{ + Line: int(608), + Column: int(20), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Format required number at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(607), + Column: int(17), + }, + End: ast.Location{ + Line: int(607), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(16), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(607), + Column: int(17), + }, + End: ast.Location{ + Line: int(608), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(607), + Column: int(17), + }, + End: ast.Location{ + Line: int(608), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(607), + Column: int(17), + }, + End: ast.Location{ + Line: int(608), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(607), + Column: int(11), + }, + End: ast.Location{ + Line: int(608), + Column: int(47), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "render_int", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "render_int", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(11), + }, + End: ast.Location{ + Line: int(610), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(30), + }, + End: ast.Location{ + Line: int(610), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(29), + }, + End: ast.Location{ + Line: int(610), + Column: int(31), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + Left: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(22), + }, + End: ast.Location{ + Line: int(610), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(22), + }, + End: ast.Location{ + Line: int(610), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(10), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(33), + }, + End: ast.Location{ + Line: int(610), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(33), + }, + End: ast.Location{ + Line: int(610), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(43), + }, + End: ast.Location{ + Line: int(610), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6680, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(43), + }, + End: ast.Location{ + Line: int(610), + Column: int(50), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6684, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(51), + }, + End: ast.Location{ + Line: int(610), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6680, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(43), + }, + End: ast.Location{ + Line: int(610), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(33), + }, + End: ast.Location{ + Line: int(610), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(58), + }, + End: ast.Location{ + Line: int(610), + Column: int(60), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "iprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "iprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(62), + }, + End: ast.Location{ + Line: int(610), + Column: int(67), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(69), + }, + End: ast.Location{ + Line: int(610), + Column: int(75), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(69), + }, + End: ast.Location{ + Line: int(610), + Column: int(81), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(83), + }, + End: ast.Location{ + Line: int(610), + Column: int(89), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(83), + }, + End: ast.Location{ + Line: int(610), + Column: int(94), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(96), + }, + End: ast.Location{ + Line: int(610), + Column: int(98), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6664, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(100), + }, + End: ast.Location{ + Line: int(610), + Column: int(102), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "iprec", + "render_int", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(11), + }, + End: ast.Location{ + Line: int(610), + Column: int(103), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p6342, + Ctx: p6588, FreeVars: ast.Identifiers{ "cflags", "i", @@ -85574,422 +88710,195 @@ var _StdAst = &ast.DesugaredObject{ "val", "zp", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(606), + Column: int(9), + }, + End: ast.Location{ + Line: int(610), + Column: int(103), + }, + }, }, + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(12), - }, - End: ast.Location{ - Line: int(594), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(12), - }, - End: ast.Location{ - Line: int(594), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(12), - }, - End: ast.Location{ - Line: int(594), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(12), - }, - End: ast.Location{ - Line: int(594), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(21), - }, - End: ast.Location{ - Line: int(594), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6453, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), Right: &ast.LiteralString{ + Value: "o", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(594), + Line: int(611), Column: int(29), }, End: ast.Location{ - Line: int(594), - Column: int(37), + Line: int(611), + Column: int(32), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, }, - Value: "number", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(11), - }, - End: ast.Location{ - Line: int(596), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(611), + Column: int(15), + }, + End: ast.Location{ + Line: int(611), + Column: int(19), + }, + }, }, }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), }, - }, - Expr: &ast.Binary{ + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(595), - Column: int(17), + Line: int(611), + Column: int(15), }, End: ast.Location{ - Line: int(596), - Column: int(47), + Line: int(611), + Column: int(25), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(17), - }, - End: ast.Location{ - Line: int(596), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(611), + Column: int(15), }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(17), - }, - End: ast.Location{ - Line: int(596), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(17), - }, - End: ast.Location{ - Line: int(595), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(596), - Column: int(19), - }, - End: ast.Location{ - Line: int(596), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(596), - Column: int(23), - }, - End: ast.Location{ - Line: int(596), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + End: ast.Location{ + Line: int(611), + Column: int(32), }, }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(596), - Column: int(34), + Line: int(612), + Column: int(29), }, End: ast.Location{ - Line: int(596), - Column: int(47), + Line: int(612), + Column: int(37), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(596), - Column: int(34), - }, - End: ast.Location{ - Line: int(596), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(596), - Column: int(34), - }, - End: ast.Location{ - Line: int(596), - Column: int(37), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(612), + Column: int(12), + }, + End: ast.Location{ + Line: int(612), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -85999,279 +88908,1603 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(612), + Column: int(12), + }, + End: ast.Location{ + Line: int(612), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "val", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(596), - Column: int(43), - }, - End: ast.Location{ - Line: int(596), - Column: int(46), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p6479, + Ctx: p6728, FreeVars: ast.Identifiers{ "val", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(612), + Column: int(21), + }, + End: ast.Location{ + Line: int(612), + Column: int(24), + }, + }, }, - Id: "val", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(612), + Column: int(12), + }, + End: ast.Location{ + Line: int(612), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(612), + Column: int(12), + }, + End: ast.Location{ + Line: int(612), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(614), + Column: int(34), + }, + End: ast.Location{ + Line: int(614), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(614), + Column: int(34), + }, + End: ast.Location{ + Line: int(614), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6742, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(614), + Column: int(43), + }, + End: ast.Location{ + Line: int(614), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(614), + Column: int(34), + }, + End: ast.Location{ + Line: int(614), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(614), + Column: int(23), + }, + End: ast.Location{ + Line: int(614), + Column: int(31), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(614), + Column: int(19), + }, + End: ast.Location{ + Line: int(614), + Column: int(20), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Format required number at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(613), + Column: int(17), + }, + End: ast.Location{ + Line: int(613), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(16), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(613), + Column: int(17), + }, + End: ast.Location{ + Line: int(614), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(613), + Column: int(17), + }, + End: ast.Location{ + Line: int(614), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(613), + Column: int(17), + }, + End: ast.Location{ + Line: int(614), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(613), + Column: int(11), + }, + End: ast.Location{ + Line: int(614), + Column: int(47), + }, + }, }, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(616), + Column: int(34), + }, + End: ast.Location{ + Line: int(616), + Column: int(40), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6764, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(616), + Column: int(34), + }, + End: ast.Location{ + Line: int(616), + Column: int(44), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6764, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(616), + Column: int(50), + }, + End: ast.Location{ + Line: int(616), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6764, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(616), + Column: int(59), + }, + End: ast.Location{ + Line: int(616), + Column: int(61), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6764, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(616), + Column: int(31), + }, + End: ast.Location{ + Line: int(616), + Column: int(61), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "zero_prefix", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(616), + Column: int(17), + }, + End: ast.Location{ + Line: int(616), + Column: int(61), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "render_int", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "render_int", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(11), + }, + End: ast.Location{ + Line: int(617), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(30), + }, + End: ast.Location{ + Line: int(617), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(29), + }, + End: ast.Location{ + Line: int(617), + Column: int(31), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + Left: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(22), + }, + End: ast.Location{ + Line: int(617), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(22), + }, + End: ast.Location{ + Line: int(617), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(10), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(33), + }, + End: ast.Location{ + Line: int(617), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(33), + }, + End: ast.Location{ + Line: int(617), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(43), + }, + End: ast.Location{ + Line: int(617), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6793, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(43), + }, + End: ast.Location{ + Line: int(617), + Column: int(50), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6797, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(51), + }, + End: ast.Location{ + Line: int(617), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6793, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(43), + }, + End: ast.Location{ + Line: int(617), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(33), + }, + End: ast.Location{ + Line: int(617), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(58), + }, + End: ast.Location{ + Line: int(617), + Column: int(60), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "iprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "iprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(62), + }, + End: ast.Location{ + Line: int(617), + Column: int(67), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(69), + }, + End: ast.Location{ + Line: int(617), + Column: int(75), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(69), + }, + End: ast.Location{ + Line: int(617), + Column: int(81), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(83), + }, + End: ast.Location{ + Line: int(617), + Column: int(89), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(83), + }, + End: ast.Location{ + Line: int(617), + Column: int(94), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "8", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(96), + }, + End: ast.Location{ + Line: int(617), + Column: int(97), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zero_prefix", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6777, + FreeVars: ast.Identifiers{ + "zero_prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(99), + }, + End: ast.Location{ + Line: int(617), + Column: int(110), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "iprec", + "render_int", + "std", + "val", + "zero_prefix", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(617), + Column: int(11), + }, + End: ast.Location{ + Line: int(617), + Column: int(111), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "iprec", + "render_int", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(616), + Column: int(11), + }, + End: ast.Location{ + Line: int(617), + Column: int(111), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, }, - }, - BranchFalse: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(11), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - End: ast.Location{ - Line: int(598), - Column: int(103), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6342, + Ctx: p6588, FreeVars: ast.Identifiers{ "cflags", + "i", "iprec", "render_int", "std", "val", "zp", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(11), - }, - End: ast.Location{ - Line: int(598), - Column: int(21), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(612), + Column: int(9), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "render_int", + End: ast.Location{ + Line: int(617), + Column: int(111), }, }, - Id: "render_int", }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(22), - }, - End: ast.Location{ - Line: int(598), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{ - "val", - }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "x", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(618), + Column: int(29), }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(22), - }, - End: ast.Location{ - Line: int(598), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", + End: ast.Location{ + Line: int(618), + Column: int(32), }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(29), - }, - End: ast.Location{ - Line: int(598), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{}, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(618), + Column: int(15), }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(30), - }, - End: ast.Location{ - Line: int(598), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", + End: ast.Location{ + Line: int(618), + Column: int(19), }, }, }, - CommaFodder: ast.Fodder{}, }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(33), - }, - End: ast.Location{ - Line: int(598), - Column: int(56), - }, - File: p1, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{ - "std", - "val", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Target: &ast.Index{ + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(618), + Column: int(15), + }, + End: ast.Location{ + Line: int(618), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(618), + Column: int(15), + }, + End: ast.Location{ + Line: int(618), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(29), + }, + End: ast.Location{ + Line: int(619), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(33), - }, - End: ast.Location{ - Line: int(598), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p6489, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(33), - }, - End: ast.Location{ - Line: int(598), - Column: int(36), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(12), }, + End: ast.Location{ + Line: int(619), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(12), + }, + End: ast.Location{ + Line: int(619), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6844, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(21), + }, + End: ast.Location{ + Line: int(619), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(12), + }, + End: ast.Location{ + Line: int(619), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(12), + }, + End: ast.Location{ + Line: int(619), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(621), + Column: int(34), + }, + End: ast.Location{ + Line: int(621), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -86281,438 +90514,7461 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "floor", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(621), + Column: int(34), + }, + End: ast.Location{ + Line: int(621), + Column: int(42), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ + Expr: &ast.Var{ + Id: "val", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6858, + FreeVars: ast.Identifiers{ + "val", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(598), + Line: int(621), Column: int(43), }, End: ast.Location{ - Line: int(598), - Column: int(55), + Line: int(621), + Column: int(46), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6504, - FreeVars: ast.Identifiers{ - "std", - "val", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(43), - }, - End: ast.Location{ - Line: int(598), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6504, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(43), - }, - End: ast.Location{ - Line: int(598), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(51), - }, - End: ast.Location{ - Line: int(598), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6513, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(598), - Column: int(58), + Line: int(621), + Column: int(34), }, End: ast.Location{ - Line: int(598), - Column: int(60), + Line: int(621), + Column: int(47), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{ - "zp", }, }, - Id: "zp", + TrailingComma: false, + TailStrict: false, }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(62), - }, - End: ast.Location{ - Line: int(598), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{ - "iprec", - }, - }, - Id: "iprec", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(69), - }, - End: ast.Location{ - Line: int(598), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(69), - }, - End: ast.Location{ - Line: int(598), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", got ", BlockIndent: "", BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(83), - }, - End: ast.Location{ - Line: int(598), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(83), - }, - End: ast.Location{ - Line: int(598), - Column: int(89), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ + Ctx: p6588, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(621), + Column: int(23), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(621), + Column: int(31), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "plus", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(621), + Column: int(19), + }, + End: ast.Location{ + Line: int(621), + Column: int(20), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Format required number at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(620), + Column: int(17), + }, + End: ast.Location{ + Line: int(620), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(16), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(620), + Column: int(17), + }, + End: ast.Location{ + Line: int(621), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(598), - Column: int(96), + Line: int(620), + Column: int(17), }, End: ast.Location{ - Line: int(598), - Column: int(98), + Line: int(621), + Column: int(31), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{}, }, - OriginalString: "10", + Op: ast.BinaryOp(3), }, - CommaFodder: ast.Fodder{}, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(620), + Column: int(17), + }, + End: ast.Location{ + Line: int(621), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(620), + Column: int(11), + }, + End: ast.Location{ + Line: int(621), + Column: int(47), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "render_hex", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "render_hex", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(623), + Column: int(11), + }, + End: ast.Location{ + Line: int(623), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(623), + Column: int(22), + }, + End: ast.Location{ + Line: int(623), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(623), + Column: int(22), + }, + End: ast.Location{ + Line: int(623), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6887, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(623), + Column: int(32), + }, + End: ast.Location{ + Line: int(623), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(623), + Column: int(22), + }, + End: ast.Location{ + Line: int(623), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + }, + }, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(624), + Column: int(22), + }, + End: ast.Location{ + Line: int(624), + Column: int(24), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "iprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + }, + }, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "iprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(625), + Column: int(22), + }, + End: ast.Location{ + Line: int(625), + Column: int(27), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(626), + Column: int(22), + }, + End: ast.Location{ + Line: int(626), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(626), + Column: int(22), + }, + End: ast.Location{ + Line: int(626), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(627), + Column: int(22), + }, + End: ast.Location{ + Line: int(627), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(627), + Column: int(22), + }, + End: ast.Location{ + Line: int(627), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(628), + Column: int(22), + }, + End: ast.Location{ + Line: int(628), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(628), + Column: int(22), + }, + End: ast.Location{ + Line: int(628), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(629), + Column: int(22), + }, + End: ast.Location{ + Line: int(629), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6883, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(629), + Column: int(22), + }, + End: ast.Location{ + Line: int(629), + Column: int(31), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "iprec", + "render_hex", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(623), + Column: int(11), + }, + End: ast.Location{ + Line: int(629), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "i", + "iprec", + "render_hex", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(9), + }, + End: ast.Location{ + Line: int(629), + Column: int(32), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "f", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(630), + Column: int(29), + }, + End: ast.Location{ + Line: int(630), + Column: int(32), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(598), - Column: int(100), + Line: int(630), + Column: int(15), }, End: ast.Location{ - Line: int(598), - Column: int(102), + Line: int(630), + Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p6489, - FreeVars: ast.Identifiers{}, }, - Value: "", - Kind: ast.LiteralStringKind(1), + }, + Index: &ast.LiteralString{ + Value: "ctype", BlockIndent: "", BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(630), + Column: int(15), + }, + End: ast.Location{ + Line: int(630), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(630), + Column: int(15), + }, + End: ast.Location{ + Line: int(630), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(29), + }, + End: ast.Location{ + Line: int(631), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(12), + }, + End: ast.Location{ + Line: int(631), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(12), + }, + End: ast.Location{ + Line: int(631), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6944, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(21), + }, + End: ast.Location{ + Line: int(631), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(12), + }, + End: ast.Location{ + Line: int(631), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(12), + }, + End: ast.Location{ + Line: int(631), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(633), + Column: int(34), + }, + End: ast.Location{ + Line: int(633), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(633), + Column: int(34), + }, + End: ast.Location{ + Line: int(633), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6958, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(633), + Column: int(43), + }, + End: ast.Location{ + Line: int(633), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(633), + Column: int(34), + }, + End: ast.Location{ + Line: int(633), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(633), + Column: int(23), + }, + End: ast.Location{ + Line: int(633), + Column: int(31), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(633), + Column: int(19), + }, + End: ast.Location{ + Line: int(633), + Column: int(20), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Format required number at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(632), + Column: int(17), + }, + End: ast.Location{ + Line: int(632), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(16), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(632), + Column: int(17), + }, + End: ast.Location{ + Line: int(633), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(632), + Column: int(17), + }, + End: ast.Location{ + Line: int(633), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(632), + Column: int(17), + }, + End: ast.Location{ + Line: int(633), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(632), + Column: int(11), + }, + End: ast.Location{ + Line: int(633), + Column: int(47), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "render_float_dec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "render_float_dec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(635), + Column: int(11), + }, + End: ast.Location{ + Line: int(635), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6979, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(635), + Column: int(28), + }, + End: ast.Location{ + Line: int(635), + Column: int(31), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: p6979, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(636), + Column: int(28), + }, + End: ast.Location{ + Line: int(636), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(637), + Column: int(28), + }, + End: ast.Location{ + Line: int(637), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6979, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(637), + Column: int(28), + }, + End: ast.Location{ + Line: int(637), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(638), + Column: int(28), + }, + End: ast.Location{ + Line: int(638), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6979, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(638), + Column: int(28), + }, + End: ast.Location{ + Line: int(638), + Column: int(39), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(639), + Column: int(28), + }, + End: ast.Location{ + Line: int(639), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6979, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(639), + Column: int(28), + }, + End: ast.Location{ + Line: int(639), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: p6979, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(640), + Column: int(28), + }, + End: ast.Location{ + Line: int(640), + Column: int(32), + }, + }, + }, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "fpprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: p6979, + FreeVars: ast.Identifiers{ + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(641), + Column: int(28), + }, + End: ast.Location{ + Line: int(641), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "fpprec", + "render_float_dec", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(635), + Column: int(11), + }, + End: ast.Location{ + Line: int(641), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "fpprec", + "i", + "render_float_dec", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(9), + }, + End: ast.Location{ + Line: int(641), + Column: int(35), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "e", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(642), + Column: int(29), + }, + End: ast.Location{ + Line: int(642), + Column: int(32), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(642), + Column: int(15), + }, + End: ast.Location{ + Line: int(642), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(642), + Column: int(15), + }, + End: ast.Location{ + Line: int(642), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(642), + Column: int(15), + }, + End: ast.Location{ + Line: int(642), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(643), + Column: int(29), + }, + End: ast.Location{ + Line: int(643), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(643), + Column: int(12), + }, + End: ast.Location{ + Line: int(643), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(643), + Column: int(12), + }, + End: ast.Location{ + Line: int(643), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7031, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(643), + Column: int(21), + }, + End: ast.Location{ + Line: int(643), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(643), + Column: int(12), + }, + End: ast.Location{ + Line: int(643), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(643), + Column: int(12), + }, + End: ast.Location{ + Line: int(643), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(645), + Column: int(34), + }, + End: ast.Location{ + Line: int(645), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(645), + Column: int(34), + }, + End: ast.Location{ + Line: int(645), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7045, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(645), + Column: int(43), + }, + End: ast.Location{ + Line: int(645), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(645), + Column: int(34), + }, + End: ast.Location{ + Line: int(645), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(645), + Column: int(23), + }, + End: ast.Location{ + Line: int(645), + Column: int(31), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(645), + Column: int(19), + }, + End: ast.Location{ + Line: int(645), + Column: int(20), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Format required number at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(644), + Column: int(17), + }, + End: ast.Location{ + Line: int(644), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(16), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(644), + Column: int(17), + }, + End: ast.Location{ + Line: int(645), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(644), + Column: int(17), + }, + End: ast.Location{ + Line: int(645), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(644), + Column: int(17), + }, + End: ast.Location{ + Line: int(645), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(644), + Column: int(11), + }, + End: ast.Location{ + Line: int(645), + Column: int(47), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "render_float_sci", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "render_float_sci", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(647), + Column: int(11), + }, + End: ast.Location{ + Line: int(647), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7066, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(647), + Column: int(28), + }, + End: ast.Location{ + Line: int(647), + Column: int(31), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: p7066, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(648), + Column: int(28), + }, + End: ast.Location{ + Line: int(648), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(649), + Column: int(28), + }, + End: ast.Location{ + Line: int(649), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7066, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(649), + Column: int(28), + }, + End: ast.Location{ + Line: int(649), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(650), + Column: int(28), + }, + End: ast.Location{ + Line: int(650), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7066, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(650), + Column: int(28), + }, + End: ast.Location{ + Line: int(650), + Column: int(39), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(651), + Column: int(28), + }, + End: ast.Location{ + Line: int(651), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7066, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(651), + Column: int(28), + }, + End: ast.Location{ + Line: int(651), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: p7066, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(652), + Column: int(28), + }, + End: ast.Location{ + Line: int(652), + Column: int(32), + }, + }, + }, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(653), + Column: int(28), + }, + End: ast.Location{ + Line: int(653), + Column: int(32), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7066, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(653), + Column: int(28), + }, + End: ast.Location{ + Line: int(653), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "fpprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + }, + }, + Ctx: p7066, + FreeVars: ast.Identifiers{ + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(654), + Column: int(28), + }, + End: ast.Location{ + Line: int(654), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "render_float_sci", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(647), + Column: int(11), + }, + End: ast.Location{ + Line: int(654), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "render_float_sci", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(643), + Column: int(9), + }, + End: ast.Location{ + Line: int(654), + Column: int(35), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "g", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(655), + Column: int(29), + }, + End: ast.Location{ + Line: int(655), + Column: int(32), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(655), + Column: int(15), + }, + End: ast.Location{ + Line: int(655), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(655), + Column: int(15), + }, + End: ast.Location{ + Line: int(655), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(655), + Column: int(15), + }, + End: ast.Location{ + Line: int(655), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(656), + Column: int(29), + }, + End: ast.Location{ + Line: int(656), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(656), + Column: int(12), + }, + End: ast.Location{ + Line: int(656), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(656), + Column: int(12), + }, + End: ast.Location{ + Line: int(656), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7124, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(656), + Column: int(21), + }, + End: ast.Location{ + Line: int(656), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(656), + Column: int(12), + }, + End: ast.Location{ + Line: int(656), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(656), + Column: int(12), + }, + End: ast.Location{ + Line: int(656), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(658), + Column: int(34), + }, + End: ast.Location{ + Line: int(658), + Column: int(37), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(658), + Column: int(34), + }, + End: ast.Location{ + Line: int(658), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7138, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(658), + Column: int(43), + }, + End: ast.Location{ + Line: int(658), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(658), + Column: int(34), + }, + End: ast.Location{ + Line: int(658), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(658), + Column: int(23), + }, + End: ast.Location{ + Line: int(658), + Column: int(31), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(658), + Column: int(19), + }, + End: ast.Location{ + Line: int(658), + Column: int(20), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Format required number at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(657), + Column: int(17), + }, + End: ast.Location{ + Line: int(657), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(16), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(657), + Column: int(17), + }, + End: ast.Location{ + Line: int(658), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(657), + Column: int(17), + }, + End: ast.Location{ + Line: int(658), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(657), + Column: int(17), + }, + End: ast.Location{ + Line: int(658), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(657), + Column: int(11), + }, + End: ast.Location{ + Line: int(658), + Column: int(47), + }, + }, + }, + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(28), + }, + End: ast.Location{ + Line: int(660), + Column: int(31), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7160, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(28), + }, + End: ast.Location{ + Line: int(660), + Column: int(37), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(62), + }, + End: ast.Location{ + Line: int(660), + Column: int(65), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "log", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7169, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(62), + }, + End: ast.Location{ + Line: int(660), + Column: int(69), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7173, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(70), + }, + End: ast.Location{ + Line: int(660), + Column: int(72), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7169, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(62), + }, + End: ast.Location{ + Line: int(660), + Column: int(73), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(38), + }, + End: ast.Location{ + Line: int(660), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "log", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7169, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(38), + }, + End: ast.Location{ + Line: int(660), + Column: int(45), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(46), + }, + End: ast.Location{ + Line: int(660), + Column: int(49), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7187, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(46), + }, + End: ast.Location{ + Line: int(660), + Column: int(53), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7191, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(54), + }, + End: ast.Location{ + Line: int(660), + Column: int(57), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7187, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(46), + }, + End: ast.Location{ + Line: int(660), + Column: int(58), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7169, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(38), + }, + End: ast.Location{ + Line: int(660), + Column: int(59), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7169, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(38), + }, + End: ast.Location{ + Line: int(660), + Column: int(73), + }, + }, + }, + Op: ast.BinaryOp(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7160, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(28), + }, + End: ast.Location{ + Line: int(660), + Column: int(74), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "exponent", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(17), + }, + End: ast.Location{ + Line: int(660), + Column: int(74), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.Var{ + Id: "fpprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(43), + }, + End: ast.Location{ + Line: int(661), + Column: int(49), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(31), + }, + End: ast.Location{ + Line: int(661), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "exponent", + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(31), + }, + End: ast.Location{ + Line: int(661), + Column: int(49), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + Left: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(26), + }, + End: ast.Location{ + Line: int(661), + Column: int(27), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(25), + }, + End: ast.Location{ + Line: int(661), + Column: int(27), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + Left: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(14), + }, + End: ast.Location{ + Line: int(661), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(14), + }, + End: ast.Location{ + Line: int(661), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "exponent", + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(14), + }, + End: ast.Location{ + Line: int(661), + Column: int(49), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "render_float_sci", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "render_float_sci", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(662), + Column: int(13), + }, + End: ast.Location{ + Line: int(662), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(662), + Column: int(30), + }, + End: ast.Location{ + Line: int(662), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(663), + Column: int(30), + }, + End: ast.Location{ + Line: int(663), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(664), + Column: int(30), + }, + End: ast.Location{ + Line: int(664), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(664), + Column: int(30), + }, + End: ast.Location{ + Line: int(664), + Column: int(42), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(665), + Column: int(30), + }, + End: ast.Location{ + Line: int(665), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(665), + Column: int(30), + }, + End: ast.Location{ + Line: int(665), + Column: int(41), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(666), + Column: int(30), + }, + End: ast.Location{ + Line: int(666), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(666), + Column: int(30), + }, + End: ast.Location{ + Line: int(666), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(667), + Column: int(30), + }, + End: ast.Location{ + Line: int(667), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(667), + Column: int(30), + }, + End: ast.Location{ + Line: int(667), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(668), + Column: int(30), + }, + End: ast.Location{ + Line: int(668), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "caps", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(668), + Column: int(30), + }, + End: ast.Location{ + Line: int(668), + Column: int(39), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(669), + Column: int(39), + }, + End: ast.Location{ + Line: int(669), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "fpprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(669), + Column: int(30), + }, + End: ast.Location{ + Line: int(669), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7218, + FreeVars: ast.Identifiers{ + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(669), + Column: int(30), + }, + End: ast.Location{ + Line: int(669), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "render_float_sci", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(662), + Column: int(13), + }, + End: ast.Location{ + Line: int(669), + Column: int(41), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(38), + }, + End: ast.Location{ + Line: int(671), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "max", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7267, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(38), + }, + End: ast.Location{ + Line: int(671), + Column: int(45), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7271, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(46), + }, + End: ast.Location{ + Line: int(671), + Column: int(47), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7271, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(60), + }, + End: ast.Location{ + Line: int(671), + Column: int(61), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "exponent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7271, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(49), + }, + End: ast.Location{ + Line: int(671), + Column: int(57), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7271, + FreeVars: ast.Identifiers{ + "exponent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(49), + }, + End: ast.Location{ + Line: int(671), + Column: int(61), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7267, + FreeVars: ast.Identifiers{ + "exponent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(38), + }, + End: ast.Location{ + Line: int(671), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "digits_before_pt", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(19), + }, + End: ast.Location{ + Line: int(671), + Column: int(62), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "render_float_dec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "render_float_dec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(672), + Column: int(13), + }, + End: ast.Location{ + Line: int(672), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(672), + Column: int(30), + }, + End: ast.Location{ + Line: int(672), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "zp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(673), + Column: int(30), + }, + End: ast.Location{ + Line: int(673), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(674), + Column: int(30), + }, + End: ast.Location{ + Line: int(674), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "blank", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(674), + Column: int(30), + }, + End: ast.Location{ + Line: int(674), + Column: int(42), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(675), + Column: int(30), + }, + End: ast.Location{ + Line: int(675), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "plus", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(675), + Column: int(30), + }, + End: ast.Location{ + Line: int(675), + Column: int(41), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(676), + Column: int(30), + }, + End: ast.Location{ + Line: int(676), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(676), + Column: int(30), + }, + End: ast.Location{ + Line: int(676), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "cflags", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(677), + Column: int(30), + }, + End: ast.Location{ + Line: int(677), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "alt", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "cflags", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(677), + Column: int(30), + }, + End: ast.Location{ + Line: int(677), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "digits_before_pt", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "digits_before_pt", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(678), + Column: int(39), + }, + End: ast.Location{ + Line: int(678), + Column: int(55), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "fpprec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + }, + }, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(678), + Column: int(30), + }, + End: ast.Location{ + Line: int(678), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7284, + FreeVars: ast.Identifiers{ + "digits_before_pt", + "fpprec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(678), + Column: int(30), + }, + End: ast.Location{ + Line: int(678), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "digits_before_pt", + "fpprec", + "render_float_dec", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(672), + Column: int(13), + }, + End: ast.Location{ + Line: int(678), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "exponent", + "fpprec", + "render_float_dec", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(671), + Column: int(13), + }, + End: ast.Location{ + Line: int(678), + Column: int(56), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "exponent", + "fpprec", + "render_float_dec", + "render_float_sci", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(11), + }, + End: ast.Location{ + Line: int(678), + Column: int(56), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "render_float_dec", + "render_float_sci", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(660), + Column: int(11), + }, + End: ast.Location{ + Line: int(678), + Column: int(56), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "render_float_dec", + "render_float_sci", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(656), + Column: int(9), + }, + End: ast.Location{ + Line: int(678), + Column: int(56), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "c", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(679), + Column: int(29), + }, + End: ast.Location{ + Line: int(679), + Column: int(32), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(679), + Column: int(15), + }, + End: ast.Location{ + Line: int(679), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(679), + Column: int(15), + }, + End: ast.Location{ + Line: int(679), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(679), + Column: int(15), + }, + End: ast.Location{ + Line: int(679), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "number", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(680), + Column: int(29), + }, + End: ast.Location{ + Line: int(680), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(680), + Column: int(12), + }, + End: ast.Location{ + Line: int(680), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(680), + Column: int(12), + }, + End: ast.Location{ + Line: int(680), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7351, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(680), + Column: int(21), + }, + End: ast.Location{ + Line: int(680), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(680), + Column: int(12), + }, + End: ast.Location{ + Line: int(680), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(680), + Column: int(12), + }, + End: ast.Location{ + Line: int(680), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(681), + Column: int(11), + }, + End: ast.Location{ + Line: int(681), + Column: int(14), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "char", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(681), + Column: int(11), + }, + End: ast.Location{ + Line: int(681), + Column: int(19), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7364, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(681), + Column: int(20), + }, + End: ast.Location{ + Line: int(681), + Column: int(23), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(681), + Column: int(11), + }, + End: ast.Location{ + Line: int(681), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "string", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(34), + }, + End: ast.Location{ + Line: int(682), + Column: int(42), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(17), + }, + End: ast.Location{ + Line: int(682), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(17), + }, + End: ast.Location{ + Line: int(682), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7378, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(26), + }, + End: ast.Location{ + Line: int(682), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(17), + }, + End: ast.Location{ + Line: int(682), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(17), + }, + End: ast.Location{ + Line: int(682), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(33), + }, + End: ast.Location{ + Line: int(683), + Column: int(34), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(14), + }, + End: ast.Location{ + Line: int(683), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(14), + }, + End: ast.Location{ + Line: int(683), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7393, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(25), + }, + End: ast.Location{ + Line: int(683), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(14), + }, + End: ast.Location{ + Line: int(683), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(14), + }, + End: ast.Location{ + Line: int(683), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(684), + Column: int(13), + }, + End: ast.Location{ + Line: int(684), + Column: int(16), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(56), + }, + End: ast.Location{ + Line: int(686), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(56), + }, + End: ast.Location{ + Line: int(686), + Column: int(66), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7410, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(67), + }, + End: ast.Location{ + Line: int(686), + Column: int(70), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(56), + }, + End: ast.Location{ + Line: int(686), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "%c expected 1-sized string got: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(19), + }, + End: ast.Location{ + Line: int(686), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(19), + }, + End: ast.Location{ + Line: int(686), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(13), + }, + End: ast.Location{ + Line: int(686), + Column: int(71), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(11), + }, + End: ast.Location{ + Line: int(686), + Column: int(71), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(56), + }, + End: ast.Location{ + Line: int(688), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(56), + }, + End: ast.Location{ + Line: int(688), + Column: int(64), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7430, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(65), + }, + End: ast.Location{ + Line: int(688), + Column: int(68), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(56), + }, + End: ast.Location{ + Line: int(688), + Column: int(69), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "%c expected number / string, got: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(17), + }, + End: ast.Location{ + Line: int(688), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(17), + }, + End: ast.Location{ + Line: int(688), + Column: int(69), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(11), + }, + End: ast.Location{ + Line: int(688), + Column: int(69), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(14), + }, + End: ast.Location{ + Line: int(688), + Column: int(69), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(680), + Column: int(9), + }, + End: ast.Location{ + Line: int(688), + Column: int(69), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(690), + Column: int(34), + }, + End: ast.Location{ + Line: int(690), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(690), + Column: int(34), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Unknown code: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(690), + Column: int(15), + }, + End: ast.Location{ + Line: int(690), + Column: int(31), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(690), + Column: int(15), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(690), + Column: int(9), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(679), + Column: int(12), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "render_float_dec", + "render_float_sci", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(655), + Column: int(12), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "render_float_dec", + "render_float_sci", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(642), + Column: int(12), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "render_float_dec", + "render_float_sci", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(630), + Column: int(12), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), }, - CommaFodder: nil, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "iprec", + "render_float_dec", + "render_float_sci", + "render_hex", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(618), + Column: int(12), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(12), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p6342, + Ctx: p6588, FreeVars: ast.Identifiers{ "cflags", "code", @@ -86727,9259 +97983,384 @@ var _StdAst = &ast.DesugaredObject{ "val", "zp", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(15), - }, - End: ast.Location{ - Line: int(599), - Column: int(32), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(611), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(15), - }, - End: ast.Location{ - Line: int(599), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(15), - }, - End: ast.Location{ - Line: int(599), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(29), - }, - End: ast.Location{ - Line: int(599), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "o", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(9), - }, - End: ast.Location{ - Line: int(605), - Column: int(111), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "i", - "iprec", - "render_int", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(12), - }, - End: ast.Location{ - Line: int(600), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(12), - }, - End: ast.Location{ - Line: int(600), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(12), - }, - End: ast.Location{ - Line: int(600), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(12), - }, - End: ast.Location{ - Line: int(600), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(21), - }, - End: ast.Location{ - Line: int(600), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6556, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(29), - }, - End: ast.Location{ - Line: int(600), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(11), - }, - End: ast.Location{ - Line: int(602), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(17), - }, - End: ast.Location{ - Line: int(602), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(17), - }, - End: ast.Location{ - Line: int(602), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(17), - }, - End: ast.Location{ - Line: int(602), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(17), - }, - End: ast.Location{ - Line: int(601), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(19), - }, - End: ast.Location{ - Line: int(602), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(23), - }, - End: ast.Location{ - Line: int(602), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(34), - }, - End: ast.Location{ - Line: int(602), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(34), - }, - End: ast.Location{ - Line: int(602), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(34), - }, - End: ast.Location{ - Line: int(602), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(43), - }, - End: ast.Location{ - Line: int(602), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6582, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(11), - }, - End: ast.Location{ - Line: int(605), - Column: int(111), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "std", - "val", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "zero_prefix", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(31), - }, - End: ast.Location{ - Line: int(604), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6590, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Cond: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(34), - }, - End: ast.Location{ - Line: int(604), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6590, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(34), - }, - End: ast.Location{ - Line: int(604), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(50), - }, - End: ast.Location{ - Line: int(604), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6590, - FreeVars: ast.Identifiers{}, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(59), - }, - End: ast.Location{ - Line: int(604), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6590, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(17), - }, - End: ast.Location{ - Line: int(604), - Column: int(61), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(11), - }, - End: ast.Location{ - Line: int(605), - Column: int(111), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "std", - "val", - "zero_prefix", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(11), - }, - End: ast.Location{ - Line: int(605), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(22), - }, - End: ast.Location{ - Line: int(605), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(22), - }, - End: ast.Location{ - Line: int(605), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(29), - }, - End: ast.Location{ - Line: int(605), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(30), - }, - End: ast.Location{ - Line: int(605), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(33), - }, - End: ast.Location{ - Line: int(605), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(33), - }, - End: ast.Location{ - Line: int(605), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(33), - }, - End: ast.Location{ - Line: int(605), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(43), - }, - End: ast.Location{ - Line: int(605), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6621, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(43), - }, - End: ast.Location{ - Line: int(605), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6621, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(43), - }, - End: ast.Location{ - Line: int(605), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(51), - }, - End: ast.Location{ - Line: int(605), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6630, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(58), - }, - End: ast.Location{ - Line: int(605), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(62), - }, - End: ast.Location{ - Line: int(605), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "iprec", - }, - }, - Id: "iprec", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(69), - }, - End: ast.Location{ - Line: int(605), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(69), - }, - End: ast.Location{ - Line: int(605), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(83), - }, - End: ast.Location{ - Line: int(605), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(83), - }, - End: ast.Location{ - Line: int(605), - Column: int(89), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "plus", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(96), - }, - End: ast.Location{ - Line: int(605), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "8", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(99), - }, - End: ast.Location{ - Line: int(605), - Column: int(110), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6606, - FreeVars: ast.Identifiers{ - "zero_prefix", - }, - }, - Id: "zero_prefix", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(12), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(15), - }, - End: ast.Location{ - Line: int(606), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(15), - }, - End: ast.Location{ - Line: int(606), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(15), - }, - End: ast.Location{ - Line: int(606), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(29), - }, - End: ast.Location{ - Line: int(606), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(9), - }, - End: ast.Location{ - Line: int(617), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "i", - "iprec", - "render_hex", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(12), - }, - End: ast.Location{ - Line: int(607), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(12), - }, - End: ast.Location{ - Line: int(607), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(12), - }, - End: ast.Location{ - Line: int(607), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(12), - }, - End: ast.Location{ - Line: int(607), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(21), - }, - End: ast.Location{ - Line: int(607), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6674, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(29), - }, - End: ast.Location{ - Line: int(607), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(11), - }, - End: ast.Location{ - Line: int(609), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(17), - }, - End: ast.Location{ - Line: int(609), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(17), - }, - End: ast.Location{ - Line: int(609), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(17), - }, - End: ast.Location{ - Line: int(609), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(17), - }, - End: ast.Location{ - Line: int(608), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(609), - Column: int(19), - }, - End: ast.Location{ - Line: int(609), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(609), - Column: int(23), - }, - End: ast.Location{ - Line: int(609), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(609), - Column: int(34), - }, - End: ast.Location{ - Line: int(609), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(609), - Column: int(34), - }, - End: ast.Location{ - Line: int(609), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(609), - Column: int(34), - }, - End: ast.Location{ - Line: int(609), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(609), - Column: int(43), - }, - End: ast.Location{ - Line: int(609), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6700, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(11), - }, - End: ast.Location{ - Line: int(617), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "iprec", - "render_hex", - "std", - "val", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(11), - }, - End: ast.Location{ - Line: int(611), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "render_hex", - }, - }, - Id: "render_hex", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(22), - }, - End: ast.Location{ - Line: int(611), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(22), - }, - End: ast.Location{ - Line: int(611), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(22), - }, - End: ast.Location{ - Line: int(611), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(32), - }, - End: ast.Location{ - Line: int(611), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6719, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(22), - }, - End: ast.Location{ - Line: int(612), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - Comment: []string{}, - }, - }, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(613), - Column: int(22), - }, - End: ast.Location{ - Line: int(613), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - Comment: []string{}, - }, - }, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "iprec", - }, - }, - Id: "iprec", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(22), - }, - End: ast.Location{ - Line: int(614), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(22), - }, - End: ast.Location{ - Line: int(614), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(615), - Column: int(22), - }, - End: ast.Location{ - Line: int(615), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(615), - Column: int(22), - }, - End: ast.Location{ - Line: int(615), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "plus", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(22), - }, - End: ast.Location{ - Line: int(616), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(22), - }, - End: ast.Location{ - Line: int(616), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(22), - }, - End: ast.Location{ - Line: int(617), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6710, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(22), - }, - End: ast.Location{ - Line: int(617), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(12), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(15), - }, - End: ast.Location{ - Line: int(618), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(15), - }, - End: ast.Location{ - Line: int(618), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(15), - }, - End: ast.Location{ - Line: int(618), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(29), - }, - End: ast.Location{ - Line: int(618), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(9), - }, - End: ast.Location{ - Line: int(629), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "fpprec", - "i", - "render_float_dec", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(21), - }, - End: ast.Location{ - Line: int(619), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6776, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(29), - }, - End: ast.Location{ - Line: int(619), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(11), - }, - End: ast.Location{ - Line: int(621), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(621), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(621), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(621), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(620), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(19), - }, - End: ast.Location{ - Line: int(621), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(23), - }, - End: ast.Location{ - Line: int(621), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(34), - }, - End: ast.Location{ - Line: int(621), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(34), - }, - End: ast.Location{ - Line: int(621), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(34), - }, - End: ast.Location{ - Line: int(621), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(43), - }, - End: ast.Location{ - Line: int(621), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6802, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(11), - }, - End: ast.Location{ - Line: int(629), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "fpprec", - "render_float_dec", - "val", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(11), - }, - End: ast.Location{ - Line: int(623), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "render_float_dec", - }, - }, - Id: "render_float_dec", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(28), - }, - End: ast.Location{ - Line: int(623), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6812, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(624), - Column: int(28), - }, - End: ast.Location{ - Line: int(624), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: p6812, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(625), - Column: int(28), - }, - End: ast.Location{ - Line: int(625), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6812, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(625), - Column: int(28), - }, - End: ast.Location{ - Line: int(625), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(626), - Column: int(28), - }, - End: ast.Location{ - Line: int(626), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6812, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(626), - Column: int(28), - }, - End: ast.Location{ - Line: int(626), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "plus", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(627), - Column: int(28), - }, - End: ast.Location{ - Line: int(627), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6812, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(627), - Column: int(28), - }, - End: ast.Location{ - Line: int(627), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(628), - Column: int(28), - }, - End: ast.Location{ - Line: int(628), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: p6812, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(629), - Column: int(28), - }, - End: ast.Location{ - Line: int(629), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: p6812, - FreeVars: ast.Identifiers{ - "fpprec", - }, - }, - Id: "fpprec", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(12), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(15), - }, - End: ast.Location{ - Line: int(630), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(15), - }, - End: ast.Location{ - Line: int(630), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(15), - }, - End: ast.Location{ - Line: int(630), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(29), - }, - End: ast.Location{ - Line: int(630), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(9), - }, - End: ast.Location{ - Line: int(642), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_sci", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(21), - }, - End: ast.Location{ - Line: int(631), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6865, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(29), - }, - End: ast.Location{ - Line: int(631), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(11), - }, - End: ast.Location{ - Line: int(633), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(633), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(633), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(633), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(632), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(19), - }, - End: ast.Location{ - Line: int(633), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(23), - }, - End: ast.Location{ - Line: int(633), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(34), - }, - End: ast.Location{ - Line: int(633), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(34), - }, - End: ast.Location{ - Line: int(633), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(34), - }, - End: ast.Location{ - Line: int(633), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(43), - }, - End: ast.Location{ - Line: int(633), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6891, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(635), - Column: int(11), - }, - End: ast.Location{ - Line: int(642), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "render_float_sci", - "val", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(635), - Column: int(11), - }, - End: ast.Location{ - Line: int(635), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "render_float_sci", - }, - }, - Id: "render_float_sci", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(635), - Column: int(28), - }, - End: ast.Location{ - Line: int(635), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6901, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(636), - Column: int(28), - }, - End: ast.Location{ - Line: int(636), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: p6901, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(637), - Column: int(28), - }, - End: ast.Location{ - Line: int(637), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6901, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(637), - Column: int(28), - }, - End: ast.Location{ - Line: int(637), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(638), - Column: int(28), - }, - End: ast.Location{ - Line: int(638), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6901, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(638), - Column: int(28), - }, - End: ast.Location{ - Line: int(638), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "plus", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(639), - Column: int(28), - }, - End: ast.Location{ - Line: int(639), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6901, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(639), - Column: int(28), - }, - End: ast.Location{ - Line: int(639), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(640), - Column: int(28), - }, - End: ast.Location{ - Line: int(640), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: p6901, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(641), - Column: int(28), - }, - End: ast.Location{ - Line: int(641), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6901, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(641), - Column: int(28), - }, - End: ast.Location{ - Line: int(641), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(642), - Column: int(28), - }, - End: ast.Location{ - Line: int(642), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - Comment: []string{}, - }, - }, - Ctx: p6901, - FreeVars: ast.Identifiers{ - "fpprec", - }, - }, - Id: "fpprec", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(12), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(15), - }, - End: ast.Location{ - Line: int(643), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(15), - }, - End: ast.Location{ - Line: int(643), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(15), - }, - End: ast.Location{ - Line: int(643), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(29), - }, - End: ast.Location{ - Line: int(643), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "g", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(9), - }, - End: ast.Location{ - Line: int(666), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(12), - }, - End: ast.Location{ - Line: int(644), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(12), - }, - End: ast.Location{ - Line: int(644), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(12), - }, - End: ast.Location{ - Line: int(644), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(12), - }, - End: ast.Location{ - Line: int(644), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(21), - }, - End: ast.Location{ - Line: int(644), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6960, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(29), - }, - End: ast.Location{ - Line: int(644), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(11), - }, - End: ast.Location{ - Line: int(646), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(17), - }, - End: ast.Location{ - Line: int(646), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(17), - }, - End: ast.Location{ - Line: int(646), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(17), - }, - End: ast.Location{ - Line: int(646), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(17), - }, - End: ast.Location{ - Line: int(645), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(646), - Column: int(19), - }, - End: ast.Location{ - Line: int(646), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(646), - Column: int(23), - }, - End: ast.Location{ - Line: int(646), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(646), - Column: int(34), - }, - End: ast.Location{ - Line: int(646), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(646), - Column: int(34), - }, - End: ast.Location{ - Line: int(646), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(646), - Column: int(34), - }, - End: ast.Location{ - Line: int(646), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(646), - Column: int(43), - }, - End: ast.Location{ - Line: int(646), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6986, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(11), - }, - End: ast.Location{ - Line: int(666), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "exponent", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(28), - }, - End: ast.Location{ - Line: int(648), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6994, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(28), - }, - End: ast.Location{ - Line: int(648), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6994, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(28), - }, - End: ast.Location{ - Line: int(648), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(38), - }, - End: ast.Location{ - Line: int(648), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7003, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(38), - }, - End: ast.Location{ - Line: int(648), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7003, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(38), - }, - End: ast.Location{ - Line: int(648), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7003, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(38), - }, - End: ast.Location{ - Line: int(648), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "log", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(46), - }, - End: ast.Location{ - Line: int(648), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7014, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(46), - }, - End: ast.Location{ - Line: int(648), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7014, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(46), - }, - End: ast.Location{ - Line: int(648), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(54), - }, - End: ast.Location{ - Line: int(648), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7023, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(62), - }, - End: ast.Location{ - Line: int(648), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7003, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(62), - }, - End: ast.Location{ - Line: int(648), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7003, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(62), - }, - End: ast.Location{ - Line: int(648), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "log", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(70), - }, - End: ast.Location{ - Line: int(648), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7034, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(17), - }, - End: ast.Location{ - Line: int(648), - Column: int(74), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(11), - }, - End: ast.Location{ - Line: int(666), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "exponent", - "fpprec", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(14), - }, - End: ast.Location{ - Line: int(649), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "exponent", - "fpprec", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(14), - }, - End: ast.Location{ - Line: int(649), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(14), - }, - End: ast.Location{ - Line: int(649), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(25), - }, - End: ast.Location{ - Line: int(649), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(26), - }, - End: ast.Location{ - Line: int(649), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(31), - }, - End: ast.Location{ - Line: int(649), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "exponent", - "fpprec", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(31), - }, - End: ast.Location{ - Line: int(649), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(43), - }, - End: ast.Location{ - Line: int(649), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "fpprec", - }, - }, - Id: "fpprec", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(650), - Column: int(13), - }, - End: ast.Location{ - Line: int(657), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "render_float_sci", - "val", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(650), - Column: int(13), - }, - End: ast.Location{ - Line: int(650), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "render_float_sci", - }, - }, - Id: "render_float_sci", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(650), - Column: int(30), - }, - End: ast.Location{ - Line: int(650), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(651), - Column: int(30), - }, - End: ast.Location{ - Line: int(651), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(652), - Column: int(30), - }, - End: ast.Location{ - Line: int(652), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(652), - Column: int(30), - }, - End: ast.Location{ - Line: int(652), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(653), - Column: int(30), - }, - End: ast.Location{ - Line: int(653), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(653), - Column: int(30), - }, - End: ast.Location{ - Line: int(653), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "plus", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(654), - Column: int(30), - }, - End: ast.Location{ - Line: int(654), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(654), - Column: int(30), - }, - End: ast.Location{ - Line: int(654), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(30), - }, - End: ast.Location{ - Line: int(655), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(30), - }, - End: ast.Location{ - Line: int(655), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(30), - }, - End: ast.Location{ - Line: int(656), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(30), - }, - End: ast.Location{ - Line: int(656), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(30), - }, - End: ast.Location{ - Line: int(657), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "fpprec", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(30), - }, - End: ast.Location{ - Line: int(657), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: p7059, - FreeVars: ast.Identifiers{ - "fpprec", - }, - }, - Id: "fpprec", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(39), - }, - End: ast.Location{ - Line: int(657), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7059, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(13), - }, - End: ast.Location{ - Line: int(666), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "exponent", - "fpprec", - "render_float_dec", - "std", - "val", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "digits_before_pt", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(38), - }, - End: ast.Location{ - Line: int(659), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7106, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(38), - }, - End: ast.Location{ - Line: int(659), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7106, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(38), - }, - End: ast.Location{ - Line: int(659), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(46), - }, - End: ast.Location{ - Line: int(659), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7115, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(49), - }, - End: ast.Location{ - Line: int(659), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7115, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(49), - }, - End: ast.Location{ - Line: int(659), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7115, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(60), - }, - End: ast.Location{ - Line: int(659), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7115, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(659), - Column: int(19), - }, - End: ast.Location{ - Line: int(659), - Column: int(62), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(13), - }, - End: ast.Location{ - Line: int(666), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "cflags", - "digits_before_pt", - "fpprec", - "render_float_dec", - "val", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(13), - }, - End: ast.Location{ - Line: int(660), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "render_float_dec", - }, - }, - Id: "render_float_dec", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(30), - }, - End: ast.Location{ - Line: int(660), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(30), - }, - End: ast.Location{ - Line: int(661), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(662), - Column: int(30), - }, - End: ast.Location{ - Line: int(662), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(662), - Column: int(30), - }, - End: ast.Location{ - Line: int(662), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(30), - }, - End: ast.Location{ - Line: int(663), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(30), - }, - End: ast.Location{ - Line: int(663), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "plus", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(664), - Column: int(30), - }, - End: ast.Location{ - Line: int(664), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(664), - Column: int(30), - }, - End: ast.Location{ - Line: int(664), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(665), - Column: int(30), - }, - End: ast.Location{ - Line: int(665), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(665), - Column: int(30), - }, - End: ast.Location{ - Line: int(665), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(666), - Column: int(30), - }, - End: ast.Location{ - Line: int(666), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "digits_before_pt", - "fpprec", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(666), - Column: int(30), - }, - End: ast.Location{ - Line: int(666), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - Comment: []string{}, - }, - }, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "fpprec", - }, - }, - Id: "fpprec", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(666), - Column: int(39), - }, - End: ast.Location{ - Line: int(666), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7128, - FreeVars: ast.Identifiers{ - "digits_before_pt", - }, - }, - Id: "digits_before_pt", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(12), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - "std", - "val", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(15), - }, - End: ast.Location{ - Line: int(667), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(15), - }, - End: ast.Location{ - Line: int(667), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(15), - }, - End: ast.Location{ - Line: int(667), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(29), - }, - End: ast.Location{ - Line: int(667), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "c", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(9), - }, - End: ast.Location{ - Line: int(676), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(12), - }, - End: ast.Location{ - Line: int(668), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(12), - }, - End: ast.Location{ - Line: int(668), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(12), - }, - End: ast.Location{ - Line: int(668), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(12), - }, - End: ast.Location{ - Line: int(668), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(21), - }, - End: ast.Location{ - Line: int(668), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7189, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(29), - }, - End: ast.Location{ - Line: int(668), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(669), - Column: int(11), - }, - End: ast.Location{ - Line: int(669), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(669), - Column: int(11), - }, - End: ast.Location{ - Line: int(669), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(669), - Column: int(11), - }, - End: ast.Location{ - Line: int(669), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "char", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(669), - Column: int(20), - }, - End: ast.Location{ - Line: int(669), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7202, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(670), - Column: int(14), - }, - End: ast.Location{ - Line: int(676), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(670), - Column: int(17), - }, - End: ast.Location{ - Line: int(670), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(670), - Column: int(17), - }, - End: ast.Location{ - Line: int(670), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(670), - Column: int(17), - }, - End: ast.Location{ - Line: int(670), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(670), - Column: int(17), - }, - End: ast.Location{ - Line: int(670), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(670), - Column: int(26), - }, - End: ast.Location{ - Line: int(670), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(670), - Column: int(34), - }, - End: ast.Location{ - Line: int(670), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(11), - }, - End: ast.Location{ - Line: int(674), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(14), - }, - End: ast.Location{ - Line: int(671), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(14), - }, - End: ast.Location{ - Line: int(671), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(14), - }, - End: ast.Location{ - Line: int(671), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(14), - }, - End: ast.Location{ - Line: int(671), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(25), - }, - End: ast.Location{ - Line: int(671), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7235, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(33), - }, - End: ast.Location{ - Line: int(671), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(672), - Column: int(13), - }, - End: ast.Location{ - Line: int(672), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(13), - }, - End: ast.Location{ - Line: int(674), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(19), - }, - End: ast.Location{ - Line: int(674), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(19), - }, - End: ast.Location{ - Line: int(674), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "%c expected 1-sized string got: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(56), - }, - End: ast.Location{ - Line: int(674), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(56), - }, - End: ast.Location{ - Line: int(674), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(56), - }, - End: ast.Location{ - Line: int(674), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(67), - }, - End: ast.Location{ - Line: int(674), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7257, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(11), - }, - End: ast.Location{ - Line: int(676), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(17), - }, - End: ast.Location{ - Line: int(676), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(17), - }, - End: ast.Location{ - Line: int(676), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "%c expected number / string, got: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(56), - }, - End: ast.Location{ - Line: int(676), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(56), - }, - End: ast.Location{ - Line: int(676), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(56), - }, - End: ast.Location{ - Line: int(676), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(65), - }, - End: ast.Location{ - Line: int(676), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7275, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(9), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(15), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(15), - }, - End: ast.Location{ - Line: int(678), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{}, - }, - Value: "Unknown code: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(34), - }, - End: ast.Location{ - Line: int(678), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p6342, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(34), - }, - End: ast.Location{ - Line: int(678), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - }, - }, - }, + End: ast.Location{ + Line: int(690), + Column: int(44), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "iprec", + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(605), + Column: int(12), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "i", + "iprec", + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + "val", + "zp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(603), + Column: int(7), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "fw", + "i", + "iprec", + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(602), + Column: int(7), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fpprec", + "fw", + "i", + "prec_or_null", + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(601), + Column: int(7), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "cflags", + "code", + "fw", + "i", + "prec_or_null", + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(600), + Column: int(7), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p6588, + FreeVars: ast.Identifiers{ + "code", + "fw", + "i", + "prec_or_null", + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(599), + Column: int(7), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "val", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(23), + }, + End: ast.Location{ + Line: int(598), + Column: int(26), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "code", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(28), + }, + End: ast.Location{ + Line: int(598), + Column: int(32), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "fw", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(34), + }, + End: ast.Location{ + Line: int(598), + Column: int(36), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "prec_or_null", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(38), + }, + End: ast.Location{ + Line: int(598), + Column: int(50), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(52), + }, + End: ast.Location{ + Line: int(598), + Column: int(53), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p7479, + FreeVars: ast.Identifiers{ + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(11), + }, + End: ast.Location{ + Line: int(690), + Column: int(44), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "format_code", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -95989,328 +98370,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Render a parsed format string with an array of values.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "codes", - "format_code", - "pad_left", - "pad_right", - "std", - "vals", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "format_codes_arr", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: nil, - Ctx: p7295, - FreeVars: ast.Identifiers{ - "format_code", - "format_codes_arr", - "pad_left", - "pad_right", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "codes", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(28), - }, - End: ast.Location{ - Line: int(681), - Column: int(33), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(35), - }, - End: ast.Location{ - Line: int(681), - Column: int(38), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(40), - }, - End: ast.Location{ - Line: int(681), - Column: int(41), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(43), - }, - End: ast.Location{ - Line: int(681), - Column: int(44), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(46), - }, - End: ast.Location{ - Line: int(681), - Column: int(47), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(7), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "codes", - "format_code", - "format_codes_arr", - "i", - "j", - "pad_left", - "pad_right", - "std", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(10), - }, - End: ast.Location{ - Line: int(682), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "codes", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(10), - }, - End: ast.Location{ - Line: int(682), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(15), - }, - End: ast.Location{ - Line: int(682), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "codes", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(15), - }, - End: ast.Location{ - Line: int(682), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(15), - }, - End: ast.Location{ - Line: int(682), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(694), + Column: int(15), + }, + End: ast.Location{ + Line: int(694), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -96320,201 +98425,171 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(694), + Column: int(15), + }, + End: ast.Location{ + Line: int(694), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "codes", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(26), - }, - End: ast.Location{ - Line: int(682), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7315, + Ctx: p7495, FreeVars: ast.Identifiers{ "codes", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(694), + Column: int(26), + }, + End: ast.Location{ + Line: int(694), + Column: int(31), + }, + }, }, - Id: "codes", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(9), - }, - End: ast.Location{ - Line: int(686), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - "v", - }, - }, - Cond: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(12), - }, - End: ast.Location{ - Line: int(683), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7300, + Ctx: p7491, FreeVars: ast.Identifiers{ - "arr", - "j", + "codes", "std", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(12), - }, - End: ast.Location{ - Line: int(683), - Column: int(13), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(694), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "j", + End: ast.Location{ + Line: int(694), + Column: int(32), }, }, - Id: "j", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(694), + Column: int(10), + }, + End: ast.Location{ + Line: int(694), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "codes", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(694), + Column: int(10), + }, + End: ast.Location{ + Line: int(694), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(16), - }, - End: ast.Location{ - Line: int(683), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(16), - }, - End: ast.Location{ - Line: int(683), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(16), - }, - End: ast.Location{ - Line: int(683), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(16), + }, + End: ast.Location{ + Line: int(695), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -96524,243 +98599,218 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(16), + }, + End: ast.Location{ + Line: int(695), + Column: int(26), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(27), - }, - End: ast.Location{ - Line: int(683), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7333, + Ctx: p7511, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(27), + }, + End: ast.Location{ + Line: int(695), + Column: int(30), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(16), + }, + End: ast.Location{ + Line: int(695), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(12), + }, + End: ast.Location{ + Line: int(695), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(11), - }, - End: ast.Location{ - Line: int(684), - Column: int(86), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, + Fodder: ast.Fodder{}, + Ctx: p7491, FreeVars: ast.Identifiers{ "arr", "j", "std", }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(18), - }, - End: ast.Location{ - Line: int(684), - Column: int(85), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", + End: ast.Location{ + Line: int(695), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(84), + }, + End: ast.Location{ + Line: int(696), + Column: int(85), + }, + }, }, }, Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(18), - }, - End: ast.Location{ - Line: int(684), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", expected ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(684), - Column: int(18), + Line: int(696), + Column: int(68), }, End: ast.Location{ - Line: int(684), - Column: int(65), + Line: int(696), + Column: int(81), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(18), - }, - End: ast.Location{ - Line: int(684), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{}, - }, - Value: "Too many values to format: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(50), - }, - End: ast.Location{ - Line: int(684), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(50), - }, - End: ast.Location{ - Line: int(684), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(50), - }, - End: ast.Location{ - Line: int(684), - Column: int(53), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(50), + }, + End: ast.Location{ + Line: int(696), + Column: int(53), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -96770,406 +98820,429 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(50), + }, + End: ast.Location{ + Line: int(696), + Column: int(60), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(61), - }, - End: ast.Location{ - Line: int(684), - Column: int(64), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7354, + Ctx: p7532, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(61), + }, + End: ast.Location{ + Line: int(696), + Column: int(64), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(50), + }, + End: ast.Location{ + Line: int(696), + Column: int(65), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ + Left: &ast.LiteralString{ + Value: "Too many values to format: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(18), + }, + End: ast.Location{ + Line: int(696), + Column: int(47), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(684), - Column: int(68), + Line: int(696), + Column: int(18), }, End: ast.Location{ - Line: int(684), - Column: int(81), + Line: int(696), + Column: int(65), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{}, }, - Value: ", expected ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + Op: ast.BinaryOp(3), }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(684), - Column: int(84), + Line: int(696), + Column: int(18), }, End: ast.Location{ - Line: int(684), - Column: int(85), + Line: int(696), + Column: int(81), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "j", }, }, - Id: "j", + Op: ast.BinaryOp(3), }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(18), + }, + End: ast.Location{ + Line: int(696), + Column: int(85), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(11), - }, - End: ast.Location{ - Line: int(686), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p7300, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(11), + }, + End: ast.Location{ + Line: int(696), + Column: int(86), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(698), + Column: int(11), + }, + End: ast.Location{ + Line: int(698), + Column: int(12), + }, + }, }, - Id: "v", }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, }, - }, - BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(9), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p7300, + Ctx: p7491, FreeVars: ast.Identifiers{ "arr", - "codes", - "format_code", - "format_codes_arr", - "i", "j", - "pad_left", - "pad_right", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(9), + }, + End: ast.Location{ + Line: int(698), + Column: int(12), + }, + }, }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "code", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(22), + Target: &ast.Var{ + Id: "codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7551, + FreeVars: ast.Identifiers{ + "codes", }, - End: ast.Location{ - Line: int(688), - Column: int(30), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(700), + Column: int(22), + }, + End: ast.Location{ + Line: int(700), + Column: int(27), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7551, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(700), + Column: int(28), + }, + End: ast.Location{ + Line: int(700), + Column: int(29), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p7369, + Ctx: p7551, FreeVars: ast.Identifiers{ "codes", "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(22), - }, - End: ast.Location{ - Line: int(688), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(700), + Column: int(22), }, - Fodder: ast.Fodder{}, - Ctx: p7369, - FreeVars: ast.Identifiers{ - "codes", + End: ast.Location{ + Line: int(700), + Column: int(30), }, }, - Id: "codes", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(28), - }, - End: ast.Location{ - Line: int(688), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7369, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "code", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(688), + Line: int(700), Column: int(15), }, End: ast.Location{ - Line: int(688), + Line: int(700), Column: int(30), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(689), - Column: int(9), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "j", - "pad_left", - "pad_right", - "std", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(689), - Column: int(12), - }, - End: ast.Location{ - Line: int(689), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "code", - "std", - }, - }, - Left: &ast.Apply{ + Right: &ast.LiteralString{ + Value: "string", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(689), - Column: int(12), + Line: int(701), + Column: int(30), }, End: ast.Location{ - Line: int(689), - Column: int(26), + Line: int(701), + Column: int(38), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "code", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(689), - Column: int(12), - }, - End: ast.Location{ - Line: int(689), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(689), - Column: int(12), - }, - End: ast.Location{ - Line: int(689), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(701), + Column: int(12), + }, + End: ast.Location{ + Line: int(701), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -97179,1644 +99252,1560 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(701), + Column: int(12), + }, + End: ast.Location{ + Line: int(701), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(689), - Column: int(21), - }, - End: ast.Location{ - Line: int(689), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7389, + Ctx: p7567, FreeVars: ast.Identifiers{ "code", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(701), + Column: int(21), + }, + End: ast.Location{ + Line: int(701), + Column: int(25), + }, + }, }, - Id: "code", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(689), - Column: int(30), - }, - End: ast.Location{ - Line: int(689), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{}, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(11), - }, - End: ast.Location{ - Line: int(690), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_codes_arr", - "i", - "j", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(11), - }, - End: ast.Location{ - Line: int(690), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, + Ctx: p7491, FreeVars: ast.Identifiers{ - "format_codes_arr", + "code", + "std", }, - }, - Id: "format_codes_arr", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(28), - }, - End: ast.Location{ - Line: int(690), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(35), - }, - End: ast.Location{ - Line: int(690), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(40), - }, - End: ast.Location{ - Line: int(690), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(40), - }, - End: ast.Location{ - Line: int(690), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(44), - }, - End: ast.Location{ - Line: int(690), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(47), - }, - End: ast.Location{ - Line: int(690), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(50), - }, - End: ast.Location{ - Line: int(690), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "code", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(50), - }, - End: ast.Location{ - Line: int(690), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(54), - }, - End: ast.Location{ - Line: int(690), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7399, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(692), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "j", - "pad_left", - "pad_right", - "std", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "tmp", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(692), - Column: int(23), - }, - End: ast.Location{ - Line: int(701), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7422, - FreeVars: ast.Identifiers{ - "arr", - "code", - "j", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(692), - Column: int(26), - }, - End: ast.Location{ - Line: int(692), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7422, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(692), - Column: int(26), - }, - End: ast.Location{ - Line: int(692), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7422, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(692), - Column: int(26), - }, - End: ast.Location{ - Line: int(692), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(692), - Column: int(37), - }, - End: ast.Location{ - Line: int(692), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7422, - FreeVars: ast.Identifiers{}, - }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(692), - Column: int(46), - }, - End: ast.Location{ - Line: int(698), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7422, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(16), - }, - End: ast.Location{ - Line: int(693), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(16), - }, - End: ast.Location{ - Line: int(693), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(20), - }, - End: ast.Location{ - Line: int(693), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(13), - }, - End: ast.Location{ - Line: int(693), - Column: int(21), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(17), - }, - End: ast.Location{ - Line: int(697), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(20), - }, - End: ast.Location{ - Line: int(694), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(20), - }, - End: ast.Location{ - Line: int(694), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(25), - }, - End: ast.Location{ - Line: int(694), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(25), - }, - End: ast.Location{ - Line: int(694), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(25), - }, - End: ast.Location{ - Line: int(694), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(36), - }, - End: ast.Location{ - Line: int(694), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7458, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(15), - }, - End: ast.Location{ - Line: int(695), - Column: int(101), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(22), - }, - End: ast.Location{ - Line: int(695), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(22), - }, - End: ast.Location{ - Line: int(695), - Column: int(96), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(22), - }, - End: ast.Location{ - Line: int(695), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(22), - }, - End: ast.Location{ - Line: int(695), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{}, - }, - Value: "Not enough values to format: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(56), - }, - End: ast.Location{ - Line: int(695), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(56), - }, - End: ast.Location{ - Line: int(695), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(56), - }, - End: ast.Location{ - Line: int(695), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(67), - }, - End: ast.Location{ - Line: int(695), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7479, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(74), - }, - End: ast.Location{ - Line: int(695), - Column: int(96), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{}, - }, - Value: ", expected at least ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(99), - }, - End: ast.Location{ - Line: int(695), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(697), - Column: int(15), - }, - End: ast.Location{ - Line: int(697), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(697), - Column: int(15), - }, - End: ast.Location{ - Line: int(697), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(697), - Column: int(19), - }, - End: ast.Location{ - Line: int(697), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7437, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(13), - }, - End: ast.Location{ - Line: int(697), - Column: int(21), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(698), - Column: int(18), - }, - End: ast.Location{ - Line: int(701), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7422, - FreeVars: ast.Identifiers{ - "code", - "j", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(699), - Column: int(16), - }, - End: ast.Location{ - Line: int(699), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7497, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(699), - Column: int(13), - }, - End: ast.Location{ - Line: int(699), - Column: int(17), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(17), - }, - End: ast.Location{ - Line: int(700), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7497, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(17), - }, - End: ast.Location{ - Line: int(700), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(13), - }, - End: ast.Location{ - Line: int(700), - Column: int(24), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(692), - Column: int(17), - }, - End: ast.Location{ Line: int(701), Column: int(12), }, - File: p1, + End: ast.Location{ + Line: int(701), + Column: int(26), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "code", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(701), + Column: int(12), + }, + End: ast.Location{ + Line: int(701), + Column: int(38), }, }, }, - Body: &ast.Local{ + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "format_codes_arr", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "format_codes_arr", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(702), Column: int(11), }, End: ast.Location{ - Line: int(733), - Column: int(64), + Line: int(702), + Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "pad_left", - "pad_right", - "std", - "tmp", - "v", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "tmp2", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "codes", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, + FreeVars: ast.Identifiers{ + "codes", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(702), - Column: int(24), + Column: int(28), }, End: ast.Location{ - Line: int(711), - Column: int(12), + Line: int(702), + Column: int(33), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7510, - FreeVars: ast.Identifiers{ - "arr", - "code", - "std", - "tmp", }, }, - Cond: &ast.Binary{ + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(35), + }, + End: ast.Location{ + Line: int(702), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(702), - Column: int(27), + Column: int(44), }, End: ast.Location{ Line: int(702), - Column: int(43), + Column: int(45), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p7510, + Ctx: p7577, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(40), + }, + End: ast.Location{ + Line: int(702), + Column: int(41), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(40), + }, + End: ast.Location{ + Line: int(702), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(47), + }, + End: ast.Location{ + Line: int(702), + Column: int(48), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, FreeVars: ast.Identifiers{ "code", }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(27), - }, - End: ast.Location{ - Line: int(702), - Column: int(36), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(54), }, + End: ast.Location{ + Line: int(702), + Column: int(58), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(50), + }, + End: ast.Location{ + Line: int(702), + Column: int(51), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7577, + FreeVars: ast.Identifiers{ + "code", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(50), + }, + End: ast.Location{ + Line: int(702), + Column: int(58), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_codes_arr", + "i", + "j", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(11), + }, + End: ast.Location{ + Line: int(702), + Column: int(59), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "*", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7600, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(37), + }, + End: ast.Location{ + Line: int(704), + Column: int(40), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p7510, + Ctx: nil, FreeVars: ast.Identifiers{ "code", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(26), + }, + End: ast.Location{ + Line: int(704), + Column: int(30), + }, + }, }, - Target: &ast.Var{ + }, + Index: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7600, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(26), + }, + End: ast.Location{ + Line: int(704), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7600, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(26), + }, + End: ast.Location{ + Line: int(704), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(702), - Column: int(27), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(702), - Column: int(31), + Line: int(0), + Column: int(0), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(705), + Column: int(20), + }, + End: ast.Location{ + Line: int(705), + Column: int(21), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(705), + Column: int(16), + }, + End: ast.Location{ + Line: int(705), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(705), + Column: int(16), + }, + End: ast.Location{ + Line: int(705), + Column: int(21), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(705), + Column: int(13), + }, + End: ast.Location{ + Line: int(705), + Column: int(21), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(25), + }, + End: ast.Location{ + Line: int(706), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(25), + }, + End: ast.Location{ + Line: int(706), + Column: int(35), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7627, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(36), + }, + End: ast.Location{ + Line: int(706), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(25), + }, + End: ast.Location{ + Line: int(706), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(20), + }, + End: ast.Location{ + Line: int(706), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(20), + }, + End: ast.Location{ + Line: int(706), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(99), + }, + End: ast.Location{ + Line: int(707), + Column: int(100), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", expected at least ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(74), + }, + End: ast.Location{ + Line: int(707), + Column: int(96), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(56), + }, + End: ast.Location{ + Line: int(707), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(56), + }, + End: ast.Location{ + Line: int(707), + Column: int(66), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7648, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(67), + }, + End: ast.Location{ + Line: int(707), + Column: int(70), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(56), + }, + End: ast.Location{ + Line: int(707), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "Not enough values to format: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(22), + }, + End: ast.Location{ + Line: int(707), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(22), + }, + End: ast.Location{ + Line: int(707), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(22), + }, + End: ast.Location{ + Line: int(707), + Column: int(96), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(22), + }, + End: ast.Location{ + Line: int(707), + Column: int(100), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(15), + }, + End: ast.Location{ + Line: int(707), + Column: int(101), + }, + }, + }, + }, + BranchFalse: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(709), + Column: int(15), + }, + End: ast.Location{ + Line: int(709), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(709), + Column: int(19), + }, + End: ast.Location{ + Line: int(709), + Column: int(20), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(709), + Column: int(15), + }, + End: ast.Location{ + Line: int(709), + Column: int(21), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7612, + FreeVars: ast.Identifiers{ + "arr", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(17), + }, + End: ast.Location{ + Line: int(709), + Column: int(21), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(13), + }, + End: ast.Location{ + Line: int(709), + Column: int(21), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7600, + FreeVars: ast.Identifiers{ + "arr", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(46), + }, + End: ast.Location{ + Line: int(710), + Column: int(12), + }, + }, + }, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7671, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(711), + Column: int(16), + }, + End: ast.Location{ + Line: int(711), + Column: int(17), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(711), + Column: int(13), + }, + End: ast.Location{ + Line: int(711), + Column: int(17), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(712), + Column: int(17), + }, + End: ast.Location{ + Line: int(712), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7671, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(712), + Column: int(17), + }, + End: ast.Location{ + Line: int(712), + Column: int(24), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(712), + Column: int(13), + }, + End: ast.Location{ + Line: int(712), + Column: int(24), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7600, + FreeVars: ast.Identifiers{ + "code", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(710), + Column: int(18), + }, + End: ast.Location{ + Line: int(713), + Column: int(12), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7600, + FreeVars: ast.Identifiers{ + "arr", + "code", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(23), + }, + End: ast.Location{ + Line: int(713), + Column: int(12), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "tmp", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(17), + }, + End: ast.Location{ + Line: int(713), + Column: int(12), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "*", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7686, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(714), + Column: int(40), + }, + End: ast.Location{ + Line: int(714), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(714), + Column: int(27), + }, + End: ast.Location{ + Line: int(714), + Column: int(31), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -98826,429 +100815,269 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "prec", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7686, + FreeVars: ast.Identifiers{ + "code", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(702), - Column: int(40), + Line: int(714), + Column: int(27), }, End: ast.Location{ - Line: int(702), - Column: int(43), + Line: int(714), + Column: int(36), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p7510, - FreeVars: ast.Identifiers{}, }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7686, + FreeVars: ast.Identifiers{ + "code", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(702), - Column: int(49), + Line: int(714), + Column: int(27), }, End: ast.Location{ - Line: int(708), - Column: int(12), + Line: int(714), + Column: int(43), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7510, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.DesugaredObject{ Asserts: ast.Nodes{}, Fields: ast.DesugaredObjectFields{ ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(703), - Column: int(16), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(703), - Column: int(25), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "tmp", }, }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(703), - Column: int(16), - }, - End: ast.Location{ - Line: int(703), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(703), - Column: int(16), - }, - End: ast.Location{ - Line: int(703), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(703), + Line: int(715), Column: int(24), }, End: ast.Location{ - Line: int(703), + Line: int(715), Column: int(25), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(703), - Column: int(13), - }, - End: ast.Location{ - Line: int(703), - Column: int(25), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prec", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(19), - }, - End: ast.Location{ - Line: int(707), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(22), - }, - End: ast.Location{ - Line: int(704), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", }, }, - Left: &ast.Index{ + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(22), - }, - End: ast.Location{ - Line: int(704), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7525, + Ctx: nil, FreeVars: ast.Identifiers{ "tmp", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(22), - }, - End: ast.Location{ - Line: int(704), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(704), - Column: int(31), + Line: int(715), + Column: int(16), }, End: ast.Location{ - Line: int(704), - Column: int(46), + Line: int(715), + Column: int(19), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(31), - }, - End: ast.Location{ - Line: int(704), - Column: int(41), - }, - File: p1, + }, + Index: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(715), + Column: int(16), + }, + End: ast.Location{ + Line: int(715), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(715), + Column: int(16), + }, + End: ast.Location{ + Line: int(715), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(715), + Column: int(13), + }, + End: ast.Location{ + Line: int(715), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(31), - }, - End: ast.Location{ - Line: int(704), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(31), + }, + End: ast.Location{ + Line: int(716), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -99258,243 +101087,312 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(31), + }, + End: ast.Location{ + Line: int(716), + Column: int(41), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(42), - }, - End: ast.Location{ - Line: int(704), - Column: int(45), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7552, + Ctx: p7716, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(42), + }, + End: ast.Location{ + Line: int(716), + Column: int(45), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(31), + }, + End: ast.Location{ + Line: int(716), + Column: int(46), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ + Left: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(22), + }, + End: ast.Location{ + Line: int(716), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(22), + }, + End: ast.Location{ + Line: int(716), + Column: int(27), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(15), - }, - End: ast.Location{ - Line: int(705), - Column: int(105), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7525, + Fodder: ast.Fodder{}, + Ctx: p7698, FreeVars: ast.Identifiers{ "arr", "std", "tmp", }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(22), - }, - End: ast.Location{ - Line: int(705), - Column: int(104), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(22), }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", + End: ast.Location{ + Line: int(716), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(99), + }, + End: ast.Location{ + Line: int(717), + Column: int(102), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(99), + }, + End: ast.Location{ + Line: int(717), + Column: int(104), + }, + }, }, }, Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(22), - }, - End: ast.Location{ - Line: int(705), - Column: int(96), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", expected at least ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(705), - Column: int(22), + Line: int(717), + Column: int(74), }, End: ast.Location{ - Line: int(705), - Column: int(71), + Line: int(717), + Column: int(96), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(22), - }, - End: ast.Location{ - Line: int(705), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{}, - }, - Value: "Not enough values to format: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(56), - }, - End: ast.Location{ - Line: int(705), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(56), - }, - End: ast.Location{ - Line: int(705), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(56), - }, - End: ast.Location{ - Line: int(705), - Column: int(59), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(56), + }, + End: ast.Location{ + Line: int(717), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -99504,1186 +101402,75 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(56), + }, + End: ast.Location{ + Line: int(717), + Column: int(66), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(67), - }, - End: ast.Location{ - Line: int(705), - Column: int(70), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7573, + Ctx: p7743, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(67), + }, + End: ast.Location{ + Line: int(717), + Column: int(70), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(74), - }, - End: ast.Location{ - Line: int(705), - Column: int(96), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{}, - }, - Value: ", expected at least ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(99), - }, - End: ast.Location{ - Line: int(705), - Column: int(104), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(99), - }, - End: ast.Location{ - Line: int(705), - Column: int(102), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(15), - }, - End: ast.Location{ - Line: int(707), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(15), - }, - End: ast.Location{ - Line: int(707), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(19), - }, - End: ast.Location{ - Line: int(707), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7525, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(19), - }, - End: ast.Location{ - Line: int(707), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(13), - }, - End: ast.Location{ - Line: int(707), - Column: int(25), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(708), - Column: int(18), - }, - End: ast.Location{ - Line: int(711), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7510, - FreeVars: ast.Identifiers{ - "code", - "tmp", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(709), - Column: int(16), - }, - End: ast.Location{ - Line: int(709), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7597, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(709), - Column: int(16), - }, - End: ast.Location{ - Line: int(709), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(709), - Column: int(13), - }, - End: ast.Location{ - Line: int(709), - Column: int(21), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prec", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(710), - Column: int(19), - }, - End: ast.Location{ - Line: int(710), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7597, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(710), - Column: int(19), - }, - End: ast.Location{ - Line: int(710), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prec", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(710), - Column: int(13), - }, - End: ast.Location{ - Line: int(710), - Column: int(28), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(17), - }, - End: ast.Location{ - Line: int(711), - Column: int(12), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(712), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "pad_left", - "pad_right", - "std", - "tmp", - "tmp2", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "j2", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(712), - Column: int(22), - }, - End: ast.Location{ - Line: int(712), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7613, - FreeVars: ast.Identifiers{ - "tmp2", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(712), - Column: int(22), - }, - End: ast.Location{ - Line: int(712), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp2", - }, - }, - Id: "tmp2", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "j", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(712), - Column: int(17), - }, - End: ast.Location{ - Line: int(712), - Column: int(28), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(713), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "j2", - "pad_left", - "pad_right", - "std", - "tmp", - "tmp2", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "val", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(13), - }, - End: ast.Location{ - Line: int(717), - Column: int(103), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(16), - }, - End: ast.Location{ - Line: int(714), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(16), - }, - End: ast.Location{ - Line: int(714), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "j2", - }, - }, - Id: "j2", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(21), - }, - End: ast.Location{ - Line: int(714), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(21), - }, - End: ast.Location{ - Line: int(714), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(21), - }, - End: ast.Location{ - Line: int(714), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(32), - }, - End: ast.Location{ - Line: int(714), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7639, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(15), - }, - End: ast.Location{ - Line: int(715), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "j2", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(15), - }, - End: ast.Location{ - Line: int(715), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(19), - }, - End: ast.Location{ - Line: int(715), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "j2", - }, - }, - Id: "j2", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(15), - }, - End: ast.Location{ - Line: int(717), - Column: int(103), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(102), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{}, - }, - Value: "Not enough values to format: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(56), - }, - End: ast.Location{ - Line: int(717), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(56), - }, - End: ast.Location{ - Line: int(717), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(717), @@ -100691,22 +101478,1041 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(717), - Column: int(59), + Column: int(71), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "Not enough values to format: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(22), + }, + End: ast.Location{ + Line: int(717), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(22), + }, + End: ast.Location{ + Line: int(717), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(22), + }, + End: ast.Location{ + Line: int(717), + Column: int(96), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "std", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(22), + }, + End: ast.Location{ + Line: int(717), + Column: int(104), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "std", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(717), + Column: int(15), + }, + End: ast.Location{ + Line: int(717), + Column: int(105), + }, + }, + }, + }, + BranchFalse: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(719), + Column: int(15), + }, + End: ast.Location{ + Line: int(719), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(719), + Column: int(19), + }, + End: ast.Location{ + Line: int(719), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(719), + Column: int(19), + }, + End: ast.Location{ + Line: int(719), + Column: int(24), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(719), + Column: int(15), + }, + End: ast.Location{ + Line: int(719), + Column: int(25), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7698, + FreeVars: ast.Identifiers{ + "arr", + "std", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(19), + }, + End: ast.Location{ + Line: int(719), + Column: int(25), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(716), + Column: int(13), + }, + End: ast.Location{ + Line: int(719), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7686, + FreeVars: ast.Identifiers{ + "arr", + "std", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(714), + Column: int(49), + }, + End: ast.Location{ + Line: int(720), + Column: int(12), + }, + }, + }, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(721), + Column: int(16), + }, + End: ast.Location{ + Line: int(721), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7772, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(721), + Column: int(16), + }, + End: ast.Location{ + Line: int(721), + Column: int(21), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(721), + Column: int(13), + }, + End: ast.Location{ + Line: int(721), + Column: int(21), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(722), + Column: int(19), + }, + End: ast.Location{ + Line: int(722), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7772, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(722), + Column: int(19), + }, + End: ast.Location{ + Line: int(722), + Column: int(28), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(722), + Column: int(13), + }, + End: ast.Location{ + Line: int(722), + Column: int(28), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7686, + FreeVars: ast.Identifiers{ + "code", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(720), + Column: int(18), + }, + End: ast.Location{ + Line: int(723), + Column: int(12), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7686, + FreeVars: ast.Identifiers{ + "arr", + "code", + "std", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(714), + Column: int(24), + }, + End: ast.Location{ + Line: int(723), + Column: int(12), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "tmp2", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(714), + Column: int(17), + }, + End: ast.Location{ + Line: int(723), + Column: int(12), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "tmp2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(724), + Column: int(22), + }, + End: ast.Location{ + Line: int(724), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "j", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7788, + FreeVars: ast.Identifiers{ + "tmp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(724), + Column: int(22), + }, + End: ast.Location{ + Line: int(724), + Column: int(28), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "j2", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(724), + Column: int(17), + }, + End: ast.Location{ + Line: int(724), + Column: int(28), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(21), + }, + End: ast.Location{ + Line: int(726), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(21), + }, + End: ast.Location{ + Line: int(726), + Column: int(31), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7803, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(32), + }, + End: ast.Location{ + Line: int(726), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(21), + }, + End: ast.Location{ + Line: int(726), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "j2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(16), + }, + End: ast.Location{ + Line: int(726), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "j2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(16), + }, + End: ast.Location{ + Line: int(726), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(727), + Column: int(15), + }, + End: ast.Location{ + Line: int(727), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(727), + Column: int(19), + }, + End: ast.Location{ + Line: int(727), + Column: int(21), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(727), + Column: int(15), + }, + End: ast.Location{ + Line: int(727), + Column: int(22), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "j2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(100), + }, + End: ast.Location{ + Line: int(729), + Column: int(102), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ", expected more than ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(74), + }, + End: ast.Location{ + Line: int(729), + Column: int(97), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(56), + }, + End: ast.Location{ + Line: int(729), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -100716,149 +102522,1946 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(56), + }, + End: ast.Location{ + Line: int(729), + Column: int(66), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(67), - }, - End: ast.Location{ - Line: int(717), - Column: int(70), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7668, + Ctx: p7831, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(67), + }, + End: ast.Location{ + Line: int(729), + Column: int(70), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(56), + }, + End: ast.Location{ + Line: int(729), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ + Left: &ast.LiteralString{ + Value: "Not enough values to format: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(22), + }, + End: ast.Location{ + Line: int(729), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(717), - Column: int(74), + Line: int(729), + Column: int(22), }, End: ast.Location{ - Line: int(717), - Column: int(97), + Line: int(729), + Column: int(71), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{}, }, - Value: ", expected more than ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + Op: ast.BinaryOp(3), }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(717), - Column: int(100), + Line: int(729), + Column: int(22), }, End: ast.Location{ - Line: int(717), - Column: int(102), + Line: int(729), + Column: int(97), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7624, - FreeVars: ast.Identifiers{ - "j2", }, }, - Id: "j2", + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "j2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(22), + }, + End: ast.Location{ + Line: int(729), + Column: int(102), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "j2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(729), + Column: int(15), + }, + End: ast.Location{ + Line: int(729), + Column: int(103), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p7799, + FreeVars: ast.Identifiers{ + "arr", + "j2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(13), + }, + End: ast.Location{ + Line: int(729), + Column: int(103), }, }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "val", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(713), + Line: int(725), Column: int(17), }, End: ast.Location{ - Line: int(717), + Line: int(729), Column: int(103), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(718), - Column: int(11), + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7848, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(731), + Column: int(30), + }, + End: ast.Location{ + Line: int(731), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(731), + Column: int(16), + }, + End: ast.Location{ + Line: int(731), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7848, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(731), + Column: int(16), + }, + End: ast.Location{ + Line: int(731), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7848, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(731), + Column: int(16), + }, + End: ast.Location{ + Line: int(731), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7848, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(732), + Column: int(15), + }, + End: ast.Location{ + Line: int(732), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "format_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7848, + FreeVars: ast.Identifiers{ + "format_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(15), + }, + End: ast.Location{ + Line: int(734), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7863, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(27), + }, + End: ast.Location{ + Line: int(734), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7863, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(32), + }, + End: ast.Location{ + Line: int(734), + Column: int(36), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(38), + }, + End: ast.Location{ + Line: int(734), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7863, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(38), + }, + End: ast.Location{ + Line: int(734), + Column: int(44), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "tmp2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(46), + }, + End: ast.Location{ + Line: int(734), + Column: int(50), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7863, + FreeVars: ast.Identifiers{ + "tmp2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(46), + }, + End: ast.Location{ + Line: int(734), + Column: int(55), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "j2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7863, + FreeVars: ast.Identifiers{ + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(57), + }, + End: ast.Location{ + Line: int(734), + Column: int(59), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7848, + FreeVars: ast.Identifiers{ + "code", + "format_code", + "j2", + "tmp", + "tmp2", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(15), + }, + End: ast.Location{ + Line: int(734), + Column: int(60), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p7848, + FreeVars: ast.Identifiers{ + "code", + "format_code", + "j2", + "tmp", + "tmp2", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(731), + Column: int(13), + }, + End: ast.Location{ + Line: int(734), + Column: int(60), + }, + }, + }, }, - End: ast.Location{ - Line: int(733), - Column: int(64), + EqFodder: ast.Fodder{}, + Variable: "s", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(730), + Column: int(17), + }, + End: ast.Location{ + Line: int(734), + Column: int(60), + }, }, - File: p1, }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Index{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(736), + Column: int(16), + }, + End: ast.Location{ + Line: int(736), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "cflags", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(736), + Column: int(16), + }, + End: ast.Location{ + Line: int(736), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "left", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7893, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(736), + Column: int(16), + }, + End: ast.Location{ + Line: int(736), + Column: int(32), + }, + }, + }, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "pad_right", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7893, + FreeVars: ast.Identifiers{ + "pad_right", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(737), + Column: int(15), + }, + End: ast.Location{ + Line: int(737), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "s", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7901, + FreeVars: ast.Identifiers{ + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(737), + Column: int(25), + }, + End: ast.Location{ + Line: int(737), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(737), + Column: int(28), + }, + End: ast.Location{ + Line: int(737), + Column: int(31), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7901, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(737), + Column: int(28), + }, + End: ast.Location{ + Line: int(737), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7901, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(737), + Column: int(36), + }, + End: ast.Location{ + Line: int(737), + Column: int(39), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7893, + FreeVars: ast.Identifiers{ + "pad_right", + "s", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(737), + Column: int(15), + }, + End: ast.Location{ + Line: int(737), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "pad_left", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7893, + FreeVars: ast.Identifiers{ + "pad_left", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(739), + Column: int(15), + }, + End: ast.Location{ + Line: int(739), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "s", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7916, + FreeVars: ast.Identifiers{ + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(739), + Column: int(24), + }, + End: ast.Location{ + Line: int(739), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "tmp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(739), + Column: int(27), + }, + End: ast.Location{ + Line: int(739), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7916, + FreeVars: ast.Identifiers{ + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(739), + Column: int(27), + }, + End: ast.Location{ + Line: int(739), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7916, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(739), + Column: int(35), + }, + End: ast.Location{ + Line: int(739), + Column: int(38), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7893, + FreeVars: ast.Identifiers{ + "pad_left", + "s", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(739), + Column: int(15), + }, + End: ast.Location{ + Line: int(739), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p7893, + FreeVars: ast.Identifiers{ + "code", + "pad_left", + "pad_right", + "s", + "tmp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(736), + Column: int(13), + }, + End: ast.Location{ + Line: int(739), + Column: int(39), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "s_padded", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(735), + Column: int(17), + }, + End: ast.Location{ + Line: int(739), + Column: int(39), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7933, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(741), + Column: int(30), + }, + End: ast.Location{ + Line: int(741), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(741), + Column: int(16), + }, + End: ast.Location{ + Line: int(741), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7933, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(741), + Column: int(16), + }, + End: ast.Location{ + Line: int(741), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7933, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(741), + Column: int(16), + }, + End: ast.Location{ + Line: int(741), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Var{ + Id: "j2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7933, + FreeVars: ast.Identifiers{ + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(742), + Column: int(15), + }, + End: ast.Location{ + Line: int(742), + Column: int(17), + }, + }, + }, + }, + BranchFalse: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7933, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(744), + Column: int(20), + }, + End: ast.Location{ + Line: int(744), + Column: int(21), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p7933, + FreeVars: ast.Identifiers{ + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(744), + Column: int(15), + }, + End: ast.Location{ + Line: int(744), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7933, + FreeVars: ast.Identifiers{ + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(744), + Column: int(15), + }, + End: ast.Location{ + Line: int(744), + Column: int(21), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p7933, + FreeVars: ast.Identifiers{ + "code", + "j2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(741), + Column: int(13), + }, + End: ast.Location{ + Line: int(744), + Column: int(21), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "j3", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(740), + Column: int(17), + }, + End: ast.Location{ + Line: int(744), + Column: int(21), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "format_codes_arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "format_codes_arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "codes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(28), + }, + End: ast.Location{ + Line: int(745), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(35), + }, + End: ast.Location{ + Line: int(745), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(44), + }, + End: ast.Location{ + Line: int(745), + Column: int(45), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(40), + }, + End: ast.Location{ + Line: int(745), + Column: int(41), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(40), + }, + End: ast.Location{ + Line: int(745), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "j3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "j3", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(47), + }, + End: ast.Location{ + Line: int(745), + Column: int(49), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "s_padded", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "s_padded", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(55), + }, + End: ast.Location{ + Line: int(745), + Column: int(63), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(51), + }, + End: ast.Location{ + Line: int(745), + Column: int(52), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7958, + FreeVars: ast.Identifiers{ + "s_padded", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(51), + }, + End: ast.Location{ + Line: int(745), + Column: int(63), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "codes", + "format_codes_arr", + "i", + "j3", + "s_padded", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(745), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_codes_arr", + "i", + "j2", + "s_padded", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(740), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_codes_arr", + "i", + "j2", + "pad_left", + "pad_right", + "s", + "tmp", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(735), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p7300, + Ctx: p7491, FreeVars: ast.Identifiers{ "arr", "code", @@ -100874,1999 +104477,481 @@ var _StdAst = &ast.DesugaredObject{ "v", "val", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "s", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(13), - }, - End: ast.Location{ - Line: int(722), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7679, - FreeVars: ast.Identifiers{ - "code", - "format_code", - "j2", - "tmp", - "tmp2", - "val", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(16), - }, - End: ast.Location{ - Line: int(719), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7679, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(16), - }, - End: ast.Location{ - Line: int(719), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7679, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(16), - }, - End: ast.Location{ - Line: int(719), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(30), - }, - End: ast.Location{ - Line: int(719), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7679, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(720), - Column: int(15), - }, - End: ast.Location{ - Line: int(720), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7679, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(15), - }, - End: ast.Location{ - Line: int(722), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7679, - FreeVars: ast.Identifiers{ - "code", - "format_code", - "j2", - "tmp", - "tmp2", - "val", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(15), - }, - End: ast.Location{ - Line: int(722), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7679, - FreeVars: ast.Identifiers{ - "format_code", - }, - }, - Id: "format_code", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(27), - }, - End: ast.Location{ - Line: int(722), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7699, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(32), - }, - End: ast.Location{ - Line: int(722), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7699, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(38), - }, - End: ast.Location{ - Line: int(722), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7699, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(38), - }, - End: ast.Location{ - Line: int(722), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(46), - }, - End: ast.Location{ - Line: int(722), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7699, - FreeVars: ast.Identifiers{ - "tmp2", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(46), - }, - End: ast.Location{ - Line: int(722), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp2", - }, - }, - Id: "tmp2", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prec", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(57), - }, - End: ast.Location{ - Line: int(722), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7699, - FreeVars: ast.Identifiers{ - "j2", - }, - }, - Id: "j2", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(730), + Column: int(11), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(718), - Column: int(17), - }, - End: ast.Location{ - Line: int(722), - Column: int(60), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(723), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_codes_arr", - "i", - "j2", - "pad_left", - "pad_right", - "s", - "tmp", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "s_padded", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(13), - }, - End: ast.Location{ - Line: int(727), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7721, - FreeVars: ast.Identifiers{ - "code", - "pad_left", - "pad_right", - "s", - "tmp", - }, - }, - Cond: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(16), - }, - End: ast.Location{ - Line: int(724), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7721, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(16), - }, - End: ast.Location{ - Line: int(724), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(16), - }, - End: ast.Location{ - Line: int(724), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "cflags", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "left", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(15), - }, - End: ast.Location{ - Line: int(725), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7721, - FreeVars: ast.Identifiers{ - "pad_right", - "s", - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(15), - }, - End: ast.Location{ - Line: int(725), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7721, - FreeVars: ast.Identifiers{ - "pad_right", - }, - }, - Id: "pad_right", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(25), - }, - End: ast.Location{ - Line: int(725), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7738, - FreeVars: ast.Identifiers{ - "s", - }, - }, - Id: "s", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(28), - }, - End: ast.Location{ - Line: int(725), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7738, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(28), - }, - End: ast.Location{ - Line: int(725), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(36), - }, - End: ast.Location{ - Line: int(725), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7738, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(15), - }, - End: ast.Location{ - Line: int(727), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7721, - FreeVars: ast.Identifiers{ - "pad_left", - "s", - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(15), - }, - End: ast.Location{ - Line: int(727), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7721, - FreeVars: ast.Identifiers{ - "pad_left", - }, - }, - Id: "pad_left", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(24), - }, - End: ast.Location{ - Line: int(727), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7754, - FreeVars: ast.Identifiers{ - "s", - }, - }, - Id: "s", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(27), - }, - End: ast.Location{ - Line: int(727), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7754, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(27), - }, - End: ast.Location{ - Line: int(727), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Id: "tmp", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(35), - }, - End: ast.Location{ - Line: int(727), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7754, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(723), - Column: int(17), - }, - End: ast.Location{ - Line: int(727), - Column: int(39), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(728), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_codes_arr", - "i", - "j2", - "s_padded", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "j3", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(13), - }, - End: ast.Location{ - Line: int(732), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7768, - FreeVars: ast.Identifiers{ - "code", - "j2", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(16), - }, - End: ast.Location{ - Line: int(729), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7768, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(16), - }, - End: ast.Location{ - Line: int(729), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7768, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(16), - }, - End: ast.Location{ - Line: int(729), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(30), - }, - End: ast.Location{ - Line: int(729), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7768, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(730), - Column: int(15), - }, - End: ast.Location{ - Line: int(730), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7768, - FreeVars: ast.Identifiers{ - "j2", - }, - }, - Id: "j2", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(732), - Column: int(15), - }, - End: ast.Location{ - Line: int(732), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7768, - FreeVars: ast.Identifiers{ - "j2", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(732), - Column: int(15), - }, - End: ast.Location{ - Line: int(732), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7768, - FreeVars: ast.Identifiers{ - "j2", - }, - }, - Id: "j2", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(732), - Column: int(20), - }, - End: ast.Location{ - Line: int(732), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7768, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(728), - Column: int(17), - }, - End: ast.Location{ - Line: int(732), - Column: int(21), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "arr", - "codes", - "format_codes_arr", - "i", - "j3", - "s_padded", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(11), - }, - End: ast.Location{ - Line: int(733), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7300, - FreeVars: ast.Identifiers{ - "format_codes_arr", - }, - }, - Id: "format_codes_arr", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(28), - }, - End: ast.Location{ - Line: int(733), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(35), - }, - End: ast.Location{ - Line: int(733), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(40), - }, - End: ast.Location{ - Line: int(733), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(40), - }, - End: ast.Location{ - Line: int(733), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(44), - }, - End: ast.Location{ - Line: int(733), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(47), - }, - End: ast.Location{ - Line: int(733), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "j3", - }, - }, - Id: "j3", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(51), - }, - End: ast.Location{ - Line: int(733), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "s_padded", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(51), - }, - End: ast.Location{ - Line: int(733), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(55), - }, - End: ast.Location{ - Line: int(733), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7795, - FreeVars: ast.Identifiers{ - "s_padded", - }, - }, - Id: "s_padded", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + End: ast.Location{ + Line: int(745), + Column: int(64), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_code", + "format_codes_arr", + "i", + "j2", + "pad_left", + "pad_right", + "std", + "tmp", + "tmp2", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(725), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_code", + "format_codes_arr", + "i", + "pad_left", + "pad_right", + "std", + "tmp", + "tmp2", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(724), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_code", + "format_codes_arr", + "i", + "pad_left", + "pad_right", + "std", + "tmp", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(714), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_code", + "format_codes_arr", + "i", + "j", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(704), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), }, }, }, }, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// Render a parsed format string with an object of values.", - }, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "codes", - "format_code", - "format_codes_arr", - "pad_left", - "pad_right", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "format_codes_obj", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: nil, - Ctx: p7818, - FreeVars: ast.Identifiers{ - "format_code", - "format_codes_obj", - "pad_left", - "pad_right", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "codes", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(28), - }, - End: ast.Location{ - Line: int(736), - Column: int(33), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "obj", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(35), - }, - End: ast.Location{ - Line: int(736), - Column: int(38), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(40), - }, - End: ast.Location{ - Line: int(736), - Column: int(41), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(43), - }, - End: ast.Location{ - Line: int(736), - Column: int(44), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(7), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Indent: int(8), }, }, - Ctx: p7823, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "code", + "codes", + "format_code", + "format_codes_arr", + "i", + "j", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(701), + Column: int(9), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p7491, FreeVars: ast.Identifiers{ + "arr", "codes", "format_code", - "format_codes_obj", + "format_codes_arr", "i", - "obj", + "j", "pad_left", "pad_right", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(700), + Column: int(9), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p7491, + FreeVars: ast.Identifiers{ + "arr", + "codes", + "format_code", + "format_codes_arr", + "i", + "j", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(694), + Column: int(7), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "codes", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(28), + }, + End: ast.Location{ + Line: int(693), + Column: int(33), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(35), + }, + End: ast.Location{ + Line: int(693), + Column: int(38), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(40), + }, + End: ast.Location{ + Line: int(693), + Column: int(41), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(43), + }, + End: ast.Location{ + Line: int(693), + Column: int(44), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(46), + }, + End: ast.Location{ + Line: int(693), + Column: int(47), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p7999, + FreeVars: ast.Identifiers{ + "format_code", + "format_codes_arr", + "pad_left", + "pad_right", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(11), + }, + End: ast.Location{ + Line: int(745), + Column: int(64), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "format_codes_arr", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(10), - }, - End: ast.Location{ - Line: int(737), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "codes", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(10), - }, - End: ast.Location{ - Line: int(737), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(15), - }, - End: ast.Location{ - Line: int(737), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "codes", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(15), - }, - End: ast.Location{ - Line: int(737), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(15), - }, - End: ast.Location{ - Line: int(737), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(749), + Column: int(15), + }, + End: ast.Location{ + Line: int(749), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -102876,344 +104961,314 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(749), + Column: int(15), + }, + End: ast.Location{ + Line: int(749), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "codes", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(26), - }, - End: ast.Location{ - Line: int(737), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7838, + Ctx: p8015, FreeVars: ast.Identifiers{ "codes", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(749), + Column: int(26), + }, + End: ast.Location{ + Line: int(749), + Column: int(31), + }, + }, }, - Id: "codes", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "codes", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(749), + Column: int(15), + }, + End: ast.Location{ + Line: int(749), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(749), + Column: int(10), + }, + End: ast.Location{ + Line: int(749), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "codes", + "i", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(738), - Column: int(9), - }, - End: ast.Location{ - Line: int(738), + Line: int(749), Column: int(10), }, - File: p1, + End: ast.Location{ + Line: int(749), + Column: int(32), + }, }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p7823, + Ctx: p8011, FreeVars: ast.Identifiers{ "v", }, - }, - Id: "v", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(750), + Column: int(9), + }, + End: ast.Location{ + Line: int(750), + Column: int(10), + }, + }, }, }, BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(740), - Column: int(9), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "codes", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "code", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(740), - Column: int(22), + Target: &ast.Var{ + Id: "codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8028, + FreeVars: ast.Identifiers{ + "codes", }, - End: ast.Location{ - Line: int(740), - Column: int(30), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(752), + Column: int(22), + }, + End: ast.Location{ + Line: int(752), + Column: int(27), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8028, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(752), + Column: int(28), + }, + End: ast.Location{ + Line: int(752), + Column: int(29), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p7849, + Ctx: p8028, FreeVars: ast.Identifiers{ "codes", "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(740), - Column: int(22), - }, - End: ast.Location{ - Line: int(740), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(752), + Column: int(22), }, - Fodder: ast.Fodder{}, - Ctx: p7849, - FreeVars: ast.Identifiers{ - "codes", + End: ast.Location{ + Line: int(752), + Column: int(30), }, }, - Id: "codes", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(740), - Column: int(28), - }, - End: ast.Location{ - Line: int(740), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7849, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "code", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(740), + Line: int(752), Column: int(15), }, End: ast.Location{ - Line: int(740), + Line: int(752), Column: int(30), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(9), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "code", - "codes", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(12), - }, - End: ast.Location{ - Line: int(741), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "code", - "std", - }, - }, - Left: &ast.Apply{ + Right: &ast.LiteralString{ + Value: "string", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(741), - Column: int(12), + Line: int(753), + Column: int(30), }, End: ast.Location{ - Line: int(741), - Column: int(26), + Line: int(753), + Column: int(38), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "code", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(12), - }, - End: ast.Location{ - Line: int(741), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(12), - }, - End: ast.Location{ - Line: int(741), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(12), + }, + End: ast.Location{ + Line: int(753), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -103223,479 +105278,424 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(12), + }, + End: ast.Location{ + Line: int(753), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(21), - }, - End: ast.Location{ - Line: int(741), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7869, + Ctx: p8044, FreeVars: ast.Identifiers{ "code", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(21), + }, + End: ast.Location{ + Line: int(753), + Column: int(25), + }, + }, }, - Id: "code", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "code", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(12), + }, + End: ast.Location{ + Line: int(753), + Column: int(26), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(30), - }, - End: ast.Location{ - Line: int(741), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{}, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(11), - }, - End: ast.Location{ - Line: int(742), - Column: int(56), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7823, + Ctx: p8011, FreeVars: ast.Identifiers{ "code", - "codes", - "format_codes_obj", - "i", - "obj", - "v", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(12), + }, + End: ast.Location{ + Line: int(753), + Column: int(38), + }, }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "format_codes_obj", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(11), - }, - End: ast.Location{ - Line: int(742), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p7823, + Ctx: p8011, FreeVars: ast.Identifiers{ "format_codes_obj", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(11), + }, + End: ast.Location{ + Line: int(754), + Column: int(27), + }, + }, }, - Id: "format_codes_obj", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "codes", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(28), - }, - End: ast.Location{ - Line: int(742), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7879, + Ctx: p8054, FreeVars: ast.Identifiers{ "codes", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(28), + }, + End: ast.Location{ + Line: int(754), + Column: int(33), + }, + }, }, - Id: "codes", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "obj", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(35), - }, - End: ast.Location{ - Line: int(742), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7879, + Ctx: p8054, FreeVars: ast.Identifiers{ "obj", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(35), + }, + End: ast.Location{ + Line: int(754), + Column: int(38), + }, + }, }, - Id: "obj", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(40), - }, - End: ast.Location{ - Line: int(742), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7879, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(40), - }, - End: ast.Location{ - Line: int(742), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7879, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8054, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(742), + Line: int(754), Column: int(44), }, End: ast.Location{ - Line: int(742), + Line: int(754), Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p7879, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8054, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(40), + }, + End: ast.Location{ + Line: int(754), + Column: int(41), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8054, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(40), + }, + End: ast.Location{ + Line: int(754), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(47), + Right: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8054, + FreeVars: ast.Identifiers{ + "code", }, - End: ast.Location{ - Line: int(742), - Column: int(55), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(51), + }, + End: ast.Location{ + Line: int(754), + Column: int(55), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8054, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(47), + }, + End: ast.Location{ + Line: int(754), + Column: int(48), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p7879, + Ctx: p8054, FreeVars: ast.Identifiers{ "code", "v", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(47), - }, - End: ast.Location{ - Line: int(742), - Column: int(48), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(47), }, - Fodder: ast.Fodder{}, - Ctx: p7879, - FreeVars: ast.Identifiers{ - "v", + End: ast.Location{ + Line: int(754), + Column: int(55), }, }, - Id: "v", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(51), - }, - End: ast.Location{ - Line: int(742), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7879, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: true, FodderRight: ast.Fodder{}, TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(744), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7823, + Fodder: ast.Fodder{}, + Ctx: p8011, FreeVars: ast.Identifiers{ "code", "codes", - "format_code", "format_codes_obj", "i", "obj", - "pad_left", - "pad_right", - "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(754), + Column: int(11), + }, + End: ast.Location{ + Line: int(754), + Column: int(56), + }, + }, }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "f", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(13), - }, - End: ast.Location{ - Line: int(748), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7901, - FreeVars: ast.Identifiers{ - "code", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(16), + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8075, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(757), + Column: int(29), + }, + End: ast.Location{ + Line: int(757), + Column: int(33), + }, }, - End: ast.Location{ - Line: int(745), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7901, - FreeVars: ast.Identifiers{ - "code", }, }, Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(16), - }, - End: ast.Location{ - Line: int(745), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7901, - FreeVars: ast.Identifiers{ - "code", - }, - }, Target: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(16), - }, - End: ast.Location{ - Line: int(745), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(757), + Column: int(16), + }, + End: ast.Location{ + Line: int(757), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mkey", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -103705,328 +105705,296 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "mkey", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8075, + FreeVars: ast.Identifiers{ + "code", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(745), - Column: int(29), + Line: int(757), + Column: int(16), }, End: ast.Location{ - Line: int(745), - Column: int(33), + Line: int(757), + Column: int(25), }, - File: p1, }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8075, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(757), + Column: int(16), + }, + End: ast.Location{ + Line: int(757), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Mapping keys required.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p7901, + Ctx: p8075, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(758), + Column: int(21), + }, + End: ast.Location{ + Line: int(758), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8075, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(758), + Column: int(15), + }, + End: ast.Location{ + Line: int(758), + Column: int(45), + }, + }, + }, + }, + BranchFalse: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(760), + Column: int(15), + }, + End: ast.Location{ + Line: int(760), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mkey", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8075, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(760), + Column: int(15), + }, + End: ast.Location{ + Line: int(760), + Column: int(24), + }, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(746), - Column: int(15), - }, - End: ast.Location{ - Line: int(746), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7901, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(746), - Column: int(21), - }, - End: ast.Location{ - Line: int(746), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7901, - FreeVars: ast.Identifiers{}, - }, - Value: "Mapping keys required.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(12), - Comment: []string{}, }, }, - BranchFalse: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(15), - }, - End: ast.Location{ - Line: int(748), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7901, - FreeVars: ast.Identifiers{ - "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(15), - }, - End: ast.Location{ - Line: int(748), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", + Ctx: p8075, + FreeVars: ast.Identifiers{ + "code", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(757), + Column: int(13), + }, + End: ast.Location{ + Line: int(760), + Column: int(24), }, - Value: "mkey", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "f", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(744), + Line: int(756), Column: int(17), }, End: ast.Location{ - Line: int(748), + Line: int(760), Column: int(24), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "code", - "codes", - "f", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "fw", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(13), - }, - End: ast.Location{ - Line: int(753), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7927, - FreeVars: ast.Identifiers{ - "code", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(16), - }, - End: ast.Location{ - Line: int(750), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7927, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ + Right: &ast.LiteralString{ + Value: "*", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8099, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(750), - Column: int(16), + Line: int(762), + Column: int(27), }, End: ast.Location{ - Line: int(750), - Column: int(23), + Line: int(762), + Column: int(30), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7927, - FreeVars: ast.Identifiers{ - "code", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ Target: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(16), - }, - End: ast.Location{ - Line: int(750), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(762), + Column: int(16), + }, + End: ast.Location{ + Line: int(762), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -104036,157 +106004,144 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "fw", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8099, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(762), + Column: int(16), + }, + End: ast.Location{ + Line: int(762), + Column: int(23), + }, + }, + }, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(27), - }, - End: ast.Location{ - Line: int(750), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7927, - FreeVars: ast.Identifiers{}, - }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(751), - Column: int(15), - }, - End: ast.Location{ - Line: int(751), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7927, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(751), - Column: int(21), - }, - End: ast.Location{ - Line: int(751), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7927, - FreeVars: ast.Identifiers{}, - }, - Value: "Cannot use * field width with object.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(15), - }, - End: ast.Location{ - Line: int(753), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7927, + Ctx: p8099, FreeVars: ast.Identifiers{ "code", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(762), + Column: int(16), + }, + End: ast.Location{ + Line: int(762), + Column: int(30), + }, + }, }, - Target: &ast.Var{ + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Cannot use * field width with object.", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8099, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(753), - Column: int(15), + Line: int(763), + Column: int(21), }, End: ast.Location{ - Line: int(753), - Column: int(19), + Line: int(763), + Column: int(60), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8099, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(763), + Column: int(15), + }, + End: ast.Location{ + Line: int(763), + Column: int(60), + }, + }, + }, + }, + BranchFalse: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(14), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(765), + Column: int(15), + }, + End: ast.Location{ + Line: int(765), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "fw", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -104196,173 +106151,149 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "fw", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8099, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(765), + Column: int(15), + }, + End: ast.Location{ + Line: int(765), + Column: int(22), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p8099, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(762), + Column: int(13), + }, + End: ast.Location{ + Line: int(765), + Column: int(22), + }, + }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "fw", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(749), + Line: int(761), Column: int(17), }, End: ast.Location{ - Line: int(753), + Line: int(765), Column: int(22), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "code", - "codes", - "f", - "format_code", - "format_codes_obj", - "fw", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "prec", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(755), - Column: int(13), - }, - End: ast.Location{ - Line: int(758), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7953, - FreeVars: ast.Identifiers{ - "code", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(755), - Column: int(16), - }, - End: ast.Location{ - Line: int(755), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7953, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ + Right: &ast.LiteralString{ + Value: "*", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8123, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(755), - Column: int(16), + Line: int(767), + Column: int(29), }, End: ast.Location{ - Line: int(755), - Column: int(25), + Line: int(767), + Column: int(32), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7953, - FreeVars: ast.Identifiers{ - "code", }, }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ Target: &ast.Var{ + Id: "code", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(755), - Column: int(16), - }, - End: ast.Location{ - Line: int(755), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(767), + Column: int(16), + }, + End: ast.Location{ + Line: int(767), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -104372,157 +106303,144 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "prec", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8123, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(767), + Column: int(16), + }, + End: ast.Location{ + Line: int(767), + Column: int(25), + }, + }, + }, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(755), - Column: int(29), - }, - End: ast.Location{ - Line: int(755), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7953, - FreeVars: ast.Identifiers{}, - }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(756), - Column: int(15), - }, - End: ast.Location{ - Line: int(756), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7953, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(756), - Column: int(21), - }, - End: ast.Location{ - Line: int(756), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7953, - FreeVars: ast.Identifiers{}, - }, - Value: "Cannot use * precision with object.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(758), - Column: int(15), - }, - End: ast.Location{ - Line: int(758), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7953, + Ctx: p8123, FreeVars: ast.Identifiers{ "code", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(767), + Column: int(16), + }, + End: ast.Location{ + Line: int(767), + Column: int(32), + }, + }, }, - Target: &ast.Var{ + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Cannot use * precision with object.", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8123, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(758), - Column: int(15), + Line: int(768), + Column: int(21), }, End: ast.Location{ - Line: int(758), - Column: int(19), + Line: int(768), + Column: int(58), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8123, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(768), + Column: int(15), + }, + End: ast.Location{ + Line: int(768), + Column: int(58), + }, + }, + }, + }, + BranchFalse: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(14), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "code", }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(770), + Column: int(15), + }, + End: ast.Location{ + Line: int(770), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prec", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -104532,178 +106450,126 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "prec", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8123, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(770), + Column: int(15), + }, + End: ast.Location{ + Line: int(770), + Column: int(24), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p8123, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(767), + Column: int(13), + }, + End: ast.Location{ + Line: int(770), + Column: int(24), + }, + }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "prec", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(754), + Line: int(766), Column: int(17), }, End: ast.Location{ - Line: int(758), + Line: int(770), Column: int(24), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(759), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "code", - "codes", - "f", - "format_code", - "format_codes_obj", - "fw", - "i", - "obj", - "pad_left", - "pad_right", - "prec", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "val", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(13), - }, - End: ast.Location{ - Line: int(763), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "f", - "obj", - "std", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(16), - }, - End: ast.Location{ - Line: int(760), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "f", - "obj", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(16), - }, - End: ast.Location{ - Line: int(760), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(16), - }, - End: ast.Location{ - Line: int(760), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(16), + }, + End: ast.Location{ + Line: int(772), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectHasAll", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -104713,302 +106579,1497 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectHasAll", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8150, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(16), + }, + End: ast.Location{ + Line: int(772), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "obj", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(33), - }, - End: ast.Location{ - Line: int(760), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7990, + Ctx: p8154, FreeVars: ast.Identifiers{ "obj", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(33), + }, + End: ast.Location{ + Line: int(772), + Column: int(36), + }, + }, }, - Id: "obj", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "f", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(38), - }, - End: ast.Location{ - Line: int(760), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7990, + Ctx: p8154, FreeVars: ast.Identifiers{ "f", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(38), + }, + End: ast.Location{ + Line: int(772), + Column: int(39), + }, + }, }, - Id: "f", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Index{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8150, + FreeVars: ast.Identifiers{ + "f", + "obj", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(761), - Column: int(15), + Line: int(772), + Column: int(16), }, End: ast.Location{ - Line: int(761), - Column: int(21), + Line: int(772), + Column: int(40), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Index{ + Target: &ast.Var{ + Id: "obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8150, + FreeVars: ast.Identifiers{ + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(773), + Column: int(15), + }, + End: ast.Location{ + Line: int(773), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8150, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(773), + Column: int(19), + }, + End: ast.Location{ + Line: int(773), + Column: int(20), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p7979, + Ctx: p8150, FreeVars: ast.Identifiers{ "f", "obj", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(15), - }, - End: ast.Location{ - Line: int(761), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "obj", - }, - }, - Id: "obj", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(19), - }, - End: ast.Location{ - Line: int(761), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(763), + Line: int(773), Column: int(15), }, End: ast.Location{ - Line: int(763), - Column: int(42), + Line: int(773), + Column: int(21), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "f", }, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(763), - Column: int(21), - }, - End: ast.Location{ - Line: int(763), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(763), - Column: int(21), - }, - End: ast.Location{ - Line: int(763), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7979, - FreeVars: ast.Identifiers{}, - }, - Value: "No such field: ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Var{ + Id: "f", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(763), - Column: int(41), - }, - End: ast.Location{ - Line: int(763), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p7979, + Ctx: p8150, FreeVars: ast.Identifiers{ "f", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(775), + Column: int(41), + }, + End: ast.Location{ + Line: int(775), + Column: int(42), + }, + }, }, - Id: "f", + }, + Left: &ast.LiteralString{ + Value: "No such field: ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8150, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(775), + Column: int(21), + }, + End: ast.Location{ + Line: int(775), + Column: int(38), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8150, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(775), + Column: int(21), + }, + End: ast.Location{ + Line: int(775), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8150, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(775), + Column: int(15), + }, + End: ast.Location{ + Line: int(775), + Column: int(42), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p8150, + FreeVars: ast.Identifiers{ + "f", + "obj", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(13), + }, + End: ast.Location{ + Line: int(775), + Column: int(42), }, }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "val", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(759), + Line: int(771), Column: int(17), }, End: ast.Location{ - Line: int(763), + Line: int(775), Column: int(42), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(764), - Column: int(11), + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8182, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(777), + Column: int(30), + }, + End: ast.Location{ + Line: int(777), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(777), + Column: int(16), + }, + End: ast.Location{ + Line: int(777), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "ctype", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8182, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(777), + Column: int(16), + }, + End: ast.Location{ + Line: int(777), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8182, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(777), + Column: int(16), + }, + End: ast.Location{ + Line: int(777), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "%", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8182, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(778), + Column: int(15), + }, + End: ast.Location{ + Line: int(778), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "format_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8182, + FreeVars: ast.Identifiers{ + "format_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(780), + Column: int(15), + }, + End: ast.Location{ + Line: int(780), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "val", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8197, + FreeVars: ast.Identifiers{ + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(780), + Column: int(27), + }, + End: ast.Location{ + Line: int(780), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8197, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(780), + Column: int(32), + }, + End: ast.Location{ + Line: int(780), + Column: int(36), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "fw", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8197, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(780), + Column: int(38), + }, + End: ast.Location{ + Line: int(780), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "prec", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8197, + FreeVars: ast.Identifiers{ + "prec", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(780), + Column: int(42), + }, + End: ast.Location{ + Line: int(780), + Column: int(46), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8197, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(780), + Column: int(48), + }, + End: ast.Location{ + Line: int(780), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8182, + FreeVars: ast.Identifiers{ + "code", + "f", + "format_code", + "fw", + "prec", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(780), + Column: int(15), + }, + End: ast.Location{ + Line: int(780), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p8182, + FreeVars: ast.Identifiers{ + "code", + "f", + "format_code", + "fw", + "prec", + "val", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(777), + Column: int(13), + }, + End: ast.Location{ + Line: int(780), + Column: int(50), + }, + }, + }, }, - End: ast.Location{ - Line: int(774), - Column: int(60), + EqFodder: ast.Fodder{}, + Variable: "s", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(776), + Column: int(17), + }, + End: ast.Location{ + Line: int(780), + Column: int(50), + }, }, - File: p1, }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Index{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(16), + }, + End: ast.Location{ + Line: int(782), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "cflags", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(16), + }, + End: ast.Location{ + Line: int(782), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "left", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8221, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(16), + }, + End: ast.Location{ + Line: int(782), + Column: int(32), + }, + }, + }, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "pad_right", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8221, + FreeVars: ast.Identifiers{ + "pad_right", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(783), + Column: int(15), + }, + End: ast.Location{ + Line: int(783), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "s", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8229, + FreeVars: ast.Identifiers{ + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(783), + Column: int(25), + }, + End: ast.Location{ + Line: int(783), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "fw", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8229, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(783), + Column: int(28), + }, + End: ast.Location{ + Line: int(783), + Column: int(30), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8229, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(783), + Column: int(32), + }, + End: ast.Location{ + Line: int(783), + Column: int(35), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8221, + FreeVars: ast.Identifiers{ + "fw", + "pad_right", + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(783), + Column: int(15), + }, + End: ast.Location{ + Line: int(783), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "pad_left", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p8221, + FreeVars: ast.Identifiers{ + "pad_left", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(785), + Column: int(15), + }, + End: ast.Location{ + Line: int(785), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "s", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8241, + FreeVars: ast.Identifiers{ + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(785), + Column: int(24), + }, + End: ast.Location{ + Line: int(785), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "fw", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8241, + FreeVars: ast.Identifiers{ + "fw", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(785), + Column: int(27), + }, + End: ast.Location{ + Line: int(785), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8241, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(785), + Column: int(31), + }, + End: ast.Location{ + Line: int(785), + Column: int(34), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8221, + FreeVars: ast.Identifiers{ + "fw", + "pad_left", + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(785), + Column: int(15), + }, + End: ast.Location{ + Line: int(785), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p8221, + FreeVars: ast.Identifiers{ + "code", + "fw", + "pad_left", + "pad_right", + "s", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(13), + }, + End: ast.Location{ + Line: int(785), + Column: int(35), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "s_padded", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(781), + Column: int(17), + }, + End: ast.Location{ + Line: int(785), + Column: int(35), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "format_codes_obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "format_codes_obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(11), + }, + End: ast.Location{ + Line: int(786), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{ + "codes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(28), + }, + End: ast.Location{ + Line: int(786), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{ + "obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(35), + }, + End: ast.Location{ + Line: int(786), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(44), + }, + End: ast.Location{ + Line: int(786), + Column: int(45), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(40), + }, + End: ast.Location{ + Line: int(786), + Column: int(41), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(40), + }, + End: ast.Location{ + Line: int(786), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "s_padded", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{ + "s_padded", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(51), + }, + End: ast.Location{ + Line: int(786), + Column: int(59), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(47), + }, + End: ast.Location{ + Line: int(786), + Column: int(48), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8256, + FreeVars: ast.Identifiers{ + "s_padded", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(47), + }, + End: ast.Location{ + Line: int(786), + Column: int(59), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "codes", + "format_codes_obj", + "i", + "obj", + "s_padded", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(11), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "code", + "codes", + "format_codes_obj", + "fw", + "i", + "obj", + "pad_left", + "pad_right", + "s", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(781), + Column: int(11), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p7823, + Ctx: p8011, FreeVars: ast.Identifiers{ "code", "codes", @@ -105024,1162 +108085,403 @@ var _StdAst = &ast.DesugaredObject{ "v", "val", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "s", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(765), - Column: int(13), - }, - End: ast.Location{ - Line: int(768), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p8016, - FreeVars: ast.Identifiers{ - "code", - "f", - "format_code", - "fw", - "prec", - "val", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(765), - Column: int(16), - }, - End: ast.Location{ - Line: int(765), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8016, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(765), - Column: int(16), - }, - End: ast.Location{ - Line: int(765), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8016, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(765), - Column: int(16), - }, - End: ast.Location{ - Line: int(765), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(765), - Column: int(30), - }, - End: ast.Location{ - Line: int(765), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8016, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(15), - }, - End: ast.Location{ - Line: int(766), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p8016, - FreeVars: ast.Identifiers{}, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(15), - }, - End: ast.Location{ - Line: int(768), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8016, - FreeVars: ast.Identifiers{ - "code", - "f", - "format_code", - "fw", - "prec", - "val", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(15), - }, - End: ast.Location{ - Line: int(768), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p8016, - FreeVars: ast.Identifiers{ - "format_code", - }, - }, - Id: "format_code", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(27), - }, - End: ast.Location{ - Line: int(768), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8036, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(32), - }, - End: ast.Location{ - Line: int(768), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8036, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(38), - }, - End: ast.Location{ - Line: int(768), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8036, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(42), - }, - End: ast.Location{ - Line: int(768), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8036, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(48), - }, - End: ast.Location{ - Line: int(768), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8036, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(776), + Column: int(11), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(764), - Column: int(17), - }, - End: ast.Location{ - Line: int(768), - Column: int(50), - }, - File: p1, + End: ast.Location{ + Line: int(786), + Column: int(60), }, }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "code", - "codes", - "format_codes_obj", - "fw", - "i", - "obj", - "pad_left", - "pad_right", - "s", - "v", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "s_padded", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(770), - Column: int(13), - }, - End: ast.Location{ - Line: int(773), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p8052, - FreeVars: ast.Identifiers{ - "code", - "fw", - "pad_left", - "pad_right", - "s", - }, - }, - Cond: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(770), - Column: int(16), - }, - End: ast.Location{ - Line: int(770), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8052, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(770), - Column: int(16), - }, - End: ast.Location{ - Line: int(770), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(770), - Column: int(16), - }, - End: ast.Location{ - Line: int(770), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "cflags", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "left", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(771), - Column: int(15), - }, - End: ast.Location{ - Line: int(771), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8052, - FreeVars: ast.Identifiers{ - "fw", - "pad_right", - "s", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(771), - Column: int(15), - }, - End: ast.Location{ - Line: int(771), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p8052, - FreeVars: ast.Identifiers{ - "pad_right", - }, - }, - Id: "pad_right", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(771), - Column: int(25), - }, - End: ast.Location{ - Line: int(771), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8069, - FreeVars: ast.Identifiers{ - "s", - }, - }, - Id: "s", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(771), - Column: int(28), - }, - End: ast.Location{ - Line: int(771), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8069, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(771), - Column: int(32), - }, - End: ast.Location{ - Line: int(771), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8069, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(15), - }, - End: ast.Location{ - Line: int(773), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8052, - FreeVars: ast.Identifiers{ - "fw", - "pad_left", - "s", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(15), - }, - End: ast.Location{ - Line: int(773), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p8052, - FreeVars: ast.Identifiers{ - "pad_left", - }, - }, - Id: "pad_left", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(24), - }, - End: ast.Location{ - Line: int(773), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8082, - FreeVars: ast.Identifiers{ - "s", - }, - }, - Id: "s", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(27), - }, - End: ast.Location{ - Line: int(773), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8082, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(31), - }, - End: ast.Location{ - Line: int(773), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8082, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(17), - }, - End: ast.Location{ - Line: int(773), - Column: int(35), - }, - File: p1, - }, - }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "code", + "codes", + "f", + "format_code", + "format_codes_obj", + "fw", + "i", + "obj", + "pad_left", + "pad_right", + "prec", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(771), + Column: int(11), }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_obj", - "i", - "obj", - "s_padded", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(11), - }, - End: ast.Location{ - Line: int(774), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p7823, - FreeVars: ast.Identifiers{ - "format_codes_obj", - }, - }, - Id: "format_codes_obj", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(28), - }, - End: ast.Location{ - Line: int(774), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(35), - }, - End: ast.Location{ - Line: int(774), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{ - "obj", - }, - }, - Id: "obj", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(40), - }, - End: ast.Location{ - Line: int(774), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(40), - }, - End: ast.Location{ - Line: int(774), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(44), - }, - End: ast.Location{ - Line: int(774), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(47), - }, - End: ast.Location{ - Line: int(774), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{ - "s_padded", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(47), - }, - End: ast.Location{ - Line: int(774), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(51), - }, - End: ast.Location{ - Line: int(774), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8094, - FreeVars: ast.Identifiers{ - "s_padded", - }, - }, - Id: "s_padded", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + End: ast.Location{ + Line: int(786), + Column: int(60), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "code", + "codes", + "f", + "format_code", + "format_codes_obj", + "fw", + "i", + "obj", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(766), + Column: int(11), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "code", + "codes", + "f", + "format_code", + "format_codes_obj", + "i", + "obj", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(761), + Column: int(11), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "code", + "codes", + "format_code", + "format_codes_obj", + "i", + "obj", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(756), + Column: int(11), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "code", + "codes", + "format_code", + "format_codes_obj", + "i", + "obj", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(9), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "codes", + "format_code", + "format_codes_obj", + "i", + "obj", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(752), + Column: int(9), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8011, + FreeVars: ast.Identifiers{ + "codes", + "format_code", + "format_codes_obj", + "i", + "obj", + "pad_left", + "pad_right", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(749), + Column: int(7), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "codes", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(748), + Column: int(28), + }, + End: ast.Location{ + Line: int(748), + Column: int(33), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "obj", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(748), + Column: int(35), + }, + End: ast.Location{ + Line: int(748), + Column: int(38), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(748), + Column: int(40), + }, + End: ast.Location{ + Line: int(748), + Column: int(41), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(748), + Column: int(43), + }, + End: ast.Location{ + Line: int(748), + Column: int(44), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p8293, + FreeVars: ast.Identifiers{ + "format_code", + "format_codes_obj", + "pad_left", + "pad_right", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(748), + Column: int(11), + }, + End: ast.Location{ + Line: int(786), + Column: int(60), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "format_codes_obj", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -106189,108 +108491,44 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(5), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_arr", - "format_codes_obj", - "std", - "vals", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(8), - }, - End: ast.Location{ - Line: int(776), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "std", - "vals", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(8), - }, - End: ast.Location{ - Line: int(776), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(8), - }, - End: ast.Location{ - Line: int(776), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(788), + Column: int(8), + }, + End: ast.Location{ + Line: int(788), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -106300,265 +108538,785 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(788), + Column: int(8), + }, + End: ast.Location{ + Line: int(788), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "vals", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(20), - }, - End: ast.Location{ - Line: int(776), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8121, + Ctx: p8305, FreeVars: ast.Identifiers{ "vals", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(788), + Column: int(20), + }, + End: ast.Location{ + Line: int(788), + Column: int(24), + }, + }, }, - Id: "vals", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(7), - }, - End: ast.Location{ - Line: int(777), - Column: int(46), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p3498, + Ctx: p8301, FreeVars: ast.Identifiers{ - "codes", - "format_codes_arr", + "std", "vals", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(7), - }, - End: ast.Location{ - Line: int(777), - Column: int(23), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(788), + Column: int(8), }, + End: ast.Location{ + Line: int(788), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "format_codes_arr", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p3498, + Ctx: p8301, FreeVars: ast.Identifiers{ "format_codes_arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(7), + }, + End: ast.Location{ + Line: int(789), + Column: int(23), + }, + }, }, - Id: "format_codes_arr", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "codes", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(24), - }, - End: ast.Location{ - Line: int(777), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8130, + Ctx: p8314, FreeVars: ast.Identifiers{ "codes", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(24), + }, + End: ast.Location{ + Line: int(789), + Column: int(29), + }, + }, }, - Id: "codes", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "vals", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(31), - }, - End: ast.Location{ - Line: int(777), - Column: int(35), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8130, + Ctx: p8314, FreeVars: ast.Identifiers{ "vals", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(31), + }, + End: ast.Location{ + Line: int(789), + Column: int(35), + }, + }, }, - Id: "vals", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8314, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(777), + Line: int(789), Column: int(37), }, End: ast.Location{ - Line: int(777), + Line: int(789), Column: int(38), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8130, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8314, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(777), + Line: int(789), Column: int(40), }, End: ast.Location{ - Line: int(777), + Line: int(789), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8130, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8314, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(777), + Line: int(789), Column: int(43), }, End: ast.Location{ - Line: int(777), + Line: int(789), Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8130, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "format_codes_arr", + "vals", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(778), - Column: int(10), + Line: int(789), + Column: int(7), }, End: ast.Location{ - Line: int(781), - Column: int(48), + Line: int(789), + Column: int(46), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(13), + }, + End: ast.Location{ + Line: int(790), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(13), + }, + End: ast.Location{ + Line: int(790), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "vals", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8331, + FreeVars: ast.Identifiers{ + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(26), + }, + End: ast.Location{ + Line: int(790), + Column: int(30), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(13), + }, + End: ast.Location{ + Line: int(790), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "format_codes_obj", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "format_codes_obj", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(791), + Column: int(7), + }, + End: ast.Location{ + Line: int(791), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8340, + FreeVars: ast.Identifiers{ + "codes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(791), + Column: int(24), + }, + End: ast.Location{ + Line: int(791), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "vals", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8340, + FreeVars: ast.Identifiers{ + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(791), + Column: int(31), + }, + End: ast.Location{ + Line: int(791), + Column: int(35), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8340, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(791), + Column: int(37), + }, + End: ast.Location{ + Line: int(791), + Column: int(38), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8340, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(791), + Column: int(40), + }, + End: ast.Location{ + Line: int(791), + Column: int(42), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "format_codes_obj", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(791), + Column: int(7), + }, + End: ast.Location{ + Line: int(791), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "format_codes_arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "format_codes_arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(7), + }, + End: ast.Location{ + Line: int(793), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "codes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8353, + FreeVars: ast.Identifiers{ + "codes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(24), + }, + End: ast.Location{ + Line: int(793), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "vals", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8358, + FreeVars: ast.Identifiers{ + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(32), + }, + End: ast.Location{ + Line: int(793), + Column: int(36), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8353, + FreeVars: ast.Identifiers{ + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(31), + }, + End: ast.Location{ + Line: int(793), + Column: int(37), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8353, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(39), + }, + End: ast.Location{ + Line: int(793), + Column: int(40), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8353, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(42), + }, + End: ast.Location{ + Line: int(793), + Column: int(43), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8353, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(45), + }, + End: ast.Location{ + Line: int(793), + Column: int(47), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "format_codes_arr", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(7), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p3498, + Ctx: p8301, FreeVars: ast.Identifiers{ "codes", "format_codes_arr", @@ -106566,945 +109324,1483 @@ var _StdAst = &ast.DesugaredObject{ "std", "vals", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(10), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(778), - Column: int(13), - }, - End: ast.Location{ - Line: int(778), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "std", - "vals", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(778), - Column: int(13), - }, - End: ast.Location{ - Line: int(778), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(778), - Column: int(13), - }, - End: ast.Location{ - Line: int(778), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(778), - Column: int(26), - }, - End: ast.Location{ - Line: int(778), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8149, - FreeVars: ast.Identifiers{ - "vals", - }, - }, - Id: "vals", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(7), - }, - End: ast.Location{ - Line: int(779), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_obj", - "vals", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(7), - }, - End: ast.Location{ - Line: int(779), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "format_codes_obj", - }, - }, - Id: "format_codes_obj", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(24), - }, - End: ast.Location{ - Line: int(779), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8158, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(31), - }, - End: ast.Location{ - Line: int(779), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8158, - FreeVars: ast.Identifiers{ - "vals", - }, - }, - Id: "vals", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(37), - }, - End: ast.Location{ - Line: int(779), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8158, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(40), - }, - End: ast.Location{ - Line: int(779), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8158, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), }, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(7), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_arr", - "vals", - }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "format_codes_arr", + "format_codes_obj", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(788), + Column: int(5), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(7), - }, - End: ast.Location{ - Line: int(781), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p3498, - FreeVars: ast.Identifiers{ - "format_codes_arr", - }, - }, - Id: "format_codes_arr", + End: ast.Location{ + Line: int(793), + Column: int(48), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(24), - }, - End: ast.Location{ - Line: int(781), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8172, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(31), - }, - End: ast.Location{ - Line: int(781), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8172, - FreeVars: ast.Identifiers{ - "vals", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(32), - }, - End: ast.Location{ - Line: int(781), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8178, - FreeVars: ast.Identifiers{ - "vals", - }, - }, - Id: "vals", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(39), - }, - End: ast.Location{ - Line: int(781), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8172, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(42), - }, - End: ast.Location{ - Line: int(781), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8172, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(45), - }, - End: ast.Location{ - Line: int(781), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8172, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Render a parsed format string with an object of values.", }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "format_code", + "format_codes_arr", + "pad_left", + "pad_right", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(748), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Render a parsed format string with an array of values.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "format_code", + "pad_left", + "pad_right", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Render a value with an arbitrary format code.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "pad_left", + "pad_right", + "render_float_dec", + "render_float_sci", + "render_hex", + "render_int", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Render floating point in scientific form", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "codes", + "pad_left", + "pad_right", + "render_float_dec", + "render_hex", + "render_int", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Render floating point in decimal form", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "codes", + "pad_left", + "pad_right", + "render_hex", + "render_int", + "std", + "strip_trailing_zero", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "codes", + "pad_left", + "pad_right", + "render_hex", + "render_int", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(548), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Render an integer in hexadecimal.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "codes", + "pad_left", + "pad_right", + "render_int", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(529), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Render a sign & magnitude integer (radix ranges from decimal to binary).", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// neg should be a boolean, and when true indicates that we should render a negative number.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// mag must always be a whole number >= 0, it's the magnitude of the integer to render", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// min_chars must be a whole number >= 0", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// It is the field width, i.e. std.length() of the result should be >= min_chars", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// min_digits must be a whole number >= 0. It's the number of zeroes to pad with.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// blank must be a boolean, if true adds an additional ' ' in front of a positive number, so", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// that it is aligned with negative numbers with the same number of digits.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// plus must be a boolean, if true adds a '+' in front of a positive number, so that it is", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// aligned with negative numbers with the same number of digits. This takes precedence over", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// blank, if both are true.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// radix must be a whole number >1 and <= 10. It is the base of the system of numerals.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// zero_prefix is a string prefixed before the sign to all numbers that are not 0.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "codes", + "pad_left", + "pad_right", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(511), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Add s to the right of str so that its length is at least w.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "codes", + "pad_left", + "padding", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(495), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Add s to the left of str so that its length is at least w.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "codes", + "padding", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(491), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(2), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "///////////////////////", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Format the values //", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "///////////////////////", + }, + Kind: ast.FodderKind(2), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Useful utilities", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "codes", + "std", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(482), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "parse_codes", + "std", + "str", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(474), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Parse a format string (containing none or more % format tags).", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "parse_code", + "std", + "str", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(463), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(2), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Parsed initial %, now the rest.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "parse_conv_type", + "std", + "str", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_length_modifier", + "try_parse_mapping_key", + "try_parse_precision", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(442), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_length_modifier", + "try_parse_mapping_key", + "try_parse_precision", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(408), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Ignored, if it exists.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_mapping_key", + "try_parse_precision", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(400), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_mapping_key", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(391), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "try_parse_cflags", + "try_parse_mapping_key", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(360), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "try_parse_mapping_key", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(342), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "/////////////////////////////", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// Parse the mini-language //", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "/////////////////////////////", + }, + Kind: ast.FodderKind(2), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p8301, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "vals", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(325), + Column: int(5), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(307), - Column: int(3), - }, - End: ast.Location{ - Line: int(781), - Column: int(48), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "foldr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "func", + Name: "str", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(783), - Column: int(9), + Line: int(319), + Column: int(10), }, End: ast.Location{ - Line: int(783), + Line: int(319), Column: int(13), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arr", + Name: "vals", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(783), + Line: int(319), Column: int(15), }, End: ast.Location{ - Line: int(783), - Column: int(18), + Line: int(319), + Column: int(19), }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "init", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(783), - Column: int(20), - }, - End: ast.Location{ - Line: int(783), - Column: int(24), - }, - File: p1, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(784), - Column: int(5), - }, - End: ast.Location{ - Line: int(789), - Column: int(46), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(319), + Column: int(3), + }, + End: ast.Location{ + Line: int(793), + Column: int(48), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "foldr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8189, - FreeVars: ast.Identifiers{ - "arr", - "func", - "init", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(784), - Column: int(11), - }, - End: ast.Location{ - Line: int(788), - Column: int(57), - }, - File: p1, - }, - Fodder: nil, - Ctx: p8193, - FreeVars: ast.Identifiers{ - "aux", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(784), - Column: int(15), - }, - End: ast.Location{ - Line: int(784), - Column: int(19), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(784), - Column: int(21), - }, - End: ast.Location{ - Line: int(784), - Column: int(24), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "running", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(784), - Column: int(26), - }, - End: ast.Location{ - Line: int(784), - Column: int(33), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "idx", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(784), - Column: int(35), - }, - End: ast.Location{ - Line: int(784), - Column: int(38), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(7), - }, - End: ast.Location{ - Line: int(788), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8198, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(10), - }, - End: ast.Location{ - Line: int(785), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8198, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(10), - }, - End: ast.Location{ - Line: int(785), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8198, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8451, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(785), + Line: int(797), Column: int(16), }, End: ast.Location{ - Line: int(785), + Line: int(797), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8198, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8451, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(797), + Column: int(10), + }, + End: ast.Location{ + Line: int(797), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8451, + FreeVars: ast.Identifiers{ + "idx", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(786), - Column: int(9), + Line: int(797), + Column: int(10), }, End: ast.Location{ - Line: int(786), - Column: int(16), + Line: int(797), + Column: int(17), }, - File: p1, }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p8198, + Ctx: p8451, FreeVars: ast.Identifiers{ "running", }, - }, - Id: "running", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(788), + Line: int(798), Column: int(9), }, End: ast.Location{ - Line: int(788), - Column: int(57), + Line: int(798), + Column: int(16), }, - File: p1, }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p8451, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(9), + }, + End: ast.Location{ + Line: int(800), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8464, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(13), + }, + End: ast.Location{ + Line: int(800), + Column: int(17), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8464, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(19), + }, + End: ast.Location{ + Line: int(800), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8464, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(24), + }, + End: ast.Location{ + Line: int(800), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8474, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(29), + }, + End: ast.Location{ + Line: int(800), + Column: int(32), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8474, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(33), + }, + End: ast.Location{ + Line: int(800), + Column: int(36), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8474, + FreeVars: ast.Identifiers{ + "arr", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(29), + }, + End: ast.Location{ + Line: int(800), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8474, + FreeVars: ast.Identifiers{ + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(39), + }, + End: ast.Location{ + Line: int(800), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8464, + FreeVars: ast.Identifiers{ + "arr", + "func", + "idx", + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(24), + }, + End: ast.Location{ + Line: int(800), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8464, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(55), + }, + End: ast.Location{ + Line: int(800), + Column: int(56), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8464, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(49), + }, + End: ast.Location{ + Line: int(800), + Column: int(52), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8464, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(49), + }, + End: ast.Location{ + Line: int(800), + Column: int(56), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p8198, + Ctx: p8451, FreeVars: ast.Identifiers{ "arr", "aux", @@ -107512,326 +110808,167 @@ var _StdAst = &ast.DesugaredObject{ "idx", "running", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(9), - }, - End: ast.Location{ - Line: int(788), - Column: int(12), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(800), + Column: int(9), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p8198, - FreeVars: ast.Identifiers{ - "aux", + End: ast.Location{ + Line: int(800), + Column: int(57), }, }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(13), - }, - End: ast.Location{ - Line: int(788), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8216, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(19), - }, - End: ast.Location{ - Line: int(788), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8216, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(24), - }, - End: ast.Location{ - Line: int(788), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8216, - FreeVars: ast.Identifiers{ - "arr", - "func", - "idx", - "running", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(24), - }, - End: ast.Location{ - Line: int(788), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8216, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(29), - }, - End: ast.Location{ - Line: int(788), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8226, - FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(29), - }, - End: ast.Location{ - Line: int(788), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8226, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(33), - }, - End: ast.Location{ - Line: int(788), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8226, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(39), - }, - End: ast.Location{ - Line: int(788), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8226, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(49), - }, - End: ast.Location{ - Line: int(788), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8216, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(49), - }, - End: ast.Location{ - Line: int(788), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8216, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(55), - }, - End: ast.Location{ - Line: int(788), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8216, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8451, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "idx", + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(797), + Column: int(7), + }, + End: ast.Location{ + Line: int(800), + Column: int(57), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "func", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(15), + }, + End: ast.Location{ + Line: int(796), + Column: int(19), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(21), + }, + End: ast.Location{ + Line: int(796), + Column: int(24), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "running", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(26), + }, + End: ast.Location{ + Line: int(796), + Column: int(33), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "idx", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(35), + }, + End: ast.Location{ + Line: int(796), + Column: int(38), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p8492, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(11), + }, + End: ast.Location{ + Line: int(800), + Column: int(57), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -107841,230 +110978,173 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(5), - }, - End: ast.Location{ - Line: int(789), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8189, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "init", - "std", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(5), - }, - End: ast.Location{ - Line: int(789), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p8189, + Ctx: p8497, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(5), + }, + End: ast.Location{ + Line: int(801), + Column: int(8), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(9), - }, - End: ast.Location{ - Line: int(789), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8246, + Ctx: p8501, FreeVars: ast.Identifiers{ "func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(9), + }, + End: ast.Location{ + Line: int(801), + Column: int(13), + }, + }, }, - Id: "func", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(15), - }, - End: ast.Location{ - Line: int(789), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8246, + Ctx: p8501, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(15), + }, + End: ast.Location{ + Line: int(801), + Column: int(18), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "init", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(20), - }, - End: ast.Location{ - Line: int(789), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8246, + Ctx: p8501, FreeVars: ast.Identifiers{ "init", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(20), + }, + End: ast.Location{ + Line: int(801), + Column: int(24), + }, + }, }, - Id: "init", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(26), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8501, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(44), + }, + End: ast.Location{ + Line: int(801), + Column: int(45), + }, }, - End: ast.Location{ - Line: int(789), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8246, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(26), - }, - End: ast.Location{ - Line: int(789), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8246, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(26), - }, - End: ast.Location{ - Line: int(789), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8246, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(26), - }, - End: ast.Location{ - Line: int(789), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(26), + }, + End: ast.Location{ + Line: int(801), + Column: int(29), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -108074,372 +111154,864 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8501, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(26), + }, + End: ast.Location{ + Line: int(801), + Column: int(36), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(37), - }, - End: ast.Location{ - Line: int(789), - Column: int(40), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8263, + Ctx: p8517, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(37), + }, + End: ast.Location{ + Line: int(801), + Column: int(40), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8501, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(789), - Column: int(44), + Line: int(801), + Column: int(26), }, End: ast.Location{ - Line: int(789), - Column: int(45), + Line: int(801), + Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8246, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8501, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(26), + }, + End: ast.Location{ + Line: int(801), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(783), - Column: int(3), - }, - End: ast.Location{ - Line: int(789), - Column: int(46), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "foldl", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(9), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8497, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "init", + "std", }, - End: ast.Location{ - Line: int(791), - Column: int(13), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(5), + }, + End: ast.Location{ + Line: int(801), + Column: int(46), + }, }, - File: p1, }, + TrailingComma: false, + TailStrict: false, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(15), - }, - End: ast.Location{ - Line: int(791), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "init", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(20), - }, - End: ast.Location{ - Line: int(791), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(792), - Column: int(5), - }, - End: ast.Location{ - Line: int(797), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p8272, + Ctx: p8497, FreeVars: ast.Identifiers{ "arr", "func", "init", "std", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(5), + }, + End: ast.Location{ + Line: int(801), + Column: int(46), + }, + }, }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "func", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(9), + }, + End: ast.Location{ + Line: int(795), + Column: int(13), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(15), + }, + End: ast.Location{ + Line: int(795), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "init", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(20), + }, + End: ast.Location{ + Line: int(795), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(3), + }, + End: ast.Location{ + Line: int(801), + Column: int(46), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "foldl", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(792), - Column: int(11), - }, - End: ast.Location{ - Line: int(796), - Column: int(57), - }, - File: p1, - }, - Fodder: nil, - Ctx: p8276, - FreeVars: ast.Identifiers{ - "aux", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(792), - Column: int(15), - }, - End: ast.Location{ - Line: int(792), - Column: int(19), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(792), - Column: int(21), - }, - End: ast.Location{ - Line: int(792), - Column: int(24), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "running", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(792), - Column: int(26), - }, - End: ast.Location{ - Line: int(792), - Column: int(33), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "idx", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(792), - Column: int(35), - }, - End: ast.Location{ - Line: int(792), - Column: int(38), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(7), + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(17), + }, + End: ast.Location{ + Line: int(805), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8538, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(17), + }, + End: ast.Location{ + Line: int(805), + Column: int(27), + }, + }, + }, }, - End: ast.Location{ - Line: int(796), - Column: int(57), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8542, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(28), + }, + End: ast.Location{ + Line: int(805), + Column: int(31), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8538, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(17), + }, + End: ast.Location{ + Line: int(805), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8538, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(10), + }, + End: ast.Location{ + Line: int(805), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8538, + FreeVars: ast.Identifiers{ + "arr", + "idx", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(10), + }, + End: ast.Location{ + Line: int(805), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p8538, + FreeVars: ast.Identifiers{ + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(806), + Column: int(9), + }, + End: ast.Location{ + Line: int(806), + Column: int(16), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p8538, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(9), + }, + End: ast.Location{ + Line: int(808), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8557, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(13), + }, + End: ast.Location{ + Line: int(808), + Column: int(17), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8557, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(19), + }, + End: ast.Location{ + Line: int(808), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8557, + FreeVars: ast.Identifiers{ + "func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(24), + }, + End: ast.Location{ + Line: int(808), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "running", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8566, + FreeVars: ast.Identifiers{ + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(29), + }, + End: ast.Location{ + Line: int(808), + Column: int(36), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8566, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(38), + }, + End: ast.Location{ + Line: int(808), + Column: int(41), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8566, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(42), + }, + End: ast.Location{ + Line: int(808), + Column: int(45), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8566, + FreeVars: ast.Identifiers{ + "arr", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(38), + }, + End: ast.Location{ + Line: int(808), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8557, + FreeVars: ast.Identifiers{ + "arr", + "func", + "idx", + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(24), + }, + End: ast.Location{ + Line: int(808), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8557, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(55), + }, + End: ast.Location{ + Line: int(808), + Column: int(56), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8557, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(49), + }, + End: ast.Location{ + Line: int(808), + Column: int(52), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8557, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(49), + }, + End: ast.Location{ + Line: int(808), + Column: int(56), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8538, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "idx", + "running", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(808), + Column: int(9), + }, + End: ast.Location{ + Line: int(808), + Column: int(57), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p8281, + Ctx: p8538, FreeVars: ast.Identifiers{ "arr", "aux", @@ -108448,561 +112020,126 @@ var _StdAst = &ast.DesugaredObject{ "running", "std", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(10), - }, - End: ast.Location{ - Line: int(793), - Column: int(32), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p8281, - FreeVars: ast.Identifiers{ - "arr", - "idx", - "std", + End: ast.Location{ + Line: int(808), + Column: int(57), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(10), - }, - End: ast.Location{ - Line: int(793), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8281, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(17), - }, - End: ast.Location{ - Line: int(793), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8281, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(17), - }, - End: ast.Location{ - Line: int(793), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8281, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(17), - }, - End: ast.Location{ - Line: int(793), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(28), - }, - End: ast.Location{ - Line: int(793), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8296, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(794), - Column: int(9), - }, - End: ast.Location{ - Line: int(794), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p8281, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(9), - }, - End: ast.Location{ - Line: int(796), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8281, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(9), - }, - End: ast.Location{ - Line: int(796), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p8281, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(13), - }, - End: ast.Location{ - Line: int(796), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8309, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(19), - }, - End: ast.Location{ - Line: int(796), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8309, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(24), - }, - End: ast.Location{ - Line: int(796), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8309, - FreeVars: ast.Identifiers{ - "arr", - "func", - "idx", - "running", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(24), - }, - End: ast.Location{ - Line: int(796), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8309, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(29), - }, - End: ast.Location{ - Line: int(796), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8319, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(38), - }, - End: ast.Location{ - Line: int(796), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8319, - FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(38), - }, - End: ast.Location{ - Line: int(796), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8319, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(42), - }, - End: ast.Location{ - Line: int(796), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8319, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(49), - }, - End: ast.Location{ - Line: int(796), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8309, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(49), - }, - End: ast.Location{ - Line: int(796), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8309, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(55), - }, - End: ast.Location{ - Line: int(796), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8309, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "func", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(804), + Column: int(15), + }, + End: ast.Location{ + Line: int(804), + Column: int(19), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(804), + Column: int(21), + }, + End: ast.Location{ + Line: int(804), + Column: int(24), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "running", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(804), + Column: int(26), + }, + End: ast.Location{ + Line: int(804), + Column: int(33), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "idx", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(804), + Column: int(35), + }, + End: ast.Location{ + Line: int(804), + Column: int(38), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p8585, + FreeVars: ast.Identifiers{ + "aux", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(804), + Column: int(11), + }, + End: ast.Location{ + Line: int(808), + Column: int(57), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -109012,413 +112149,358 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(5), - }, - End: ast.Location{ - Line: int(797), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8272, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "init", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(5), - }, - End: ast.Location{ - Line: int(797), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p8272, + Ctx: p8590, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(809), + Column: int(5), + }, + End: ast.Location{ + Line: int(809), + Column: int(8), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(9), - }, - End: ast.Location{ - Line: int(797), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8339, + Ctx: p8594, FreeVars: ast.Identifiers{ "func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(809), + Column: int(9), + }, + End: ast.Location{ + Line: int(809), + Column: int(13), + }, + }, }, - Id: "func", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(15), - }, - End: ast.Location{ - Line: int(797), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8339, + Ctx: p8594, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(809), + Column: int(15), + }, + End: ast.Location{ + Line: int(809), + Column: int(18), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "init", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(20), - }, - End: ast.Location{ - Line: int(797), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8339, + Ctx: p8594, FreeVars: ast.Identifiers{ "init", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(809), + Column: int(20), + }, + End: ast.Location{ + Line: int(809), + Column: int(24), + }, + }, }, - Id: "init", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8594, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(797), + Line: int(809), Column: int(26), }, End: ast.Location{ - Line: int(797), + Line: int(809), Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8339, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8590, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "init", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(809), + Column: int(5), + }, + End: ast.Location{ + Line: int(809), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8590, + FreeVars: ast.Identifiers{ + "arr", + "func", + "init", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(804), + Column: int(5), + }, + End: ast.Location{ + Line: int(809), + Column: int(28), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(3), - }, - End: ast.Location{ - Line: int(797), - Column: int(28), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "filterMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "filter_func", + Name: "func", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(800), + Line: int(803), + Column: int(9), + }, + End: ast.Location{ + Line: int(803), Column: int(13), }, - End: ast.Location{ - Line: int(800), - Column: int(24), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "map_func", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(26), - }, - End: ast.Location{ - Line: int(800), - Column: int(34), - }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(800), - Column: int(36), + Line: int(803), + Column: int(15), }, End: ast.Location{ - Line: int(800), - Column: int(39), + Line: int(803), + Column: int(18), }, - File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "init", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(803), + Column: int(20), + }, + End: ast.Location{ + Line: int(803), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(5), - }, - End: ast.Location{ - Line: int(808), - Column: int(54), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(803), + Column: int(3), + }, + End: ast.Location{ + Line: int(809), + Column: int(28), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "filterMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(8), - }, - End: ast.Location{ - Line: int(801), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(9), - }, - End: ast.Location{ - Line: int(801), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(9), - }, - End: ast.Location{ - Line: int(801), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(9), - }, - End: ast.Location{ - Line: int(801), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(9), + }, + End: ast.Location{ + Line: int(813), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -109428,380 +112510,349 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(9), + }, + End: ast.Location{ + Line: int(813), + Column: int(23), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "filter_func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(24), - }, - End: ast.Location{ - Line: int(801), - Column: int(35), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8365, + Ctx: p8619, FreeVars: ast.Identifiers{ "filter_func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(24), + }, + End: ast.Location{ + Line: int(813), + Column: int(35), + }, + }, }, - Id: "filter_func", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(7), - }, - End: ast.Location{ - Line: int(802), - Column: int(89), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(14), - }, - End: ast.Location{ - Line: int(802), - Column: int(88), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8352, + Ctx: p8615, FreeVars: ast.Identifiers{ "filter_func", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(14), - }, - End: ast.Location{ - Line: int(802), - Column: int(64), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(9), + }, + End: ast.Location{ + Line: int(813), + Column: int(36), }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{}, }, - Value: "std.filterMap first param must be function, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "filter_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(8), + }, + End: ast.Location{ + Line: int(813), + Column: int(36), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(67), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(814), + Column: int(67), + }, + End: ast.Location{ + Line: int(814), + Column: int(70), + }, + }, }, - End: ast.Location{ - Line: int(802), - Column: int(88), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(814), + Column: int(67), + }, + End: ast.Location{ + Line: int(814), + Column: int(75), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "filter_func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8633, + FreeVars: ast.Identifiers{ + "filter_func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(814), + Column: int(76), + }, + End: ast.Location{ + Line: int(814), + Column: int(87), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p8352, + Ctx: p8615, FreeVars: ast.Identifiers{ "filter_func", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(67), - }, - End: ast.Location{ - Line: int(802), - Column: int(75), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(814), + Column: int(67), }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(814), + Column: int(88), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(67), - }, - End: ast.Location{ - Line: int(802), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(76), - }, - End: ast.Location{ - Line: int(802), - Column: int(87), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8382, - FreeVars: ast.Identifiers{ - "filter_func", - }, - }, - Id: "filter_func", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, + Left: &ast.LiteralString{ + Value: "std.filterMap first param must be function, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(814), + Column: int(14), + }, + End: ast.Location{ + Line: int(814), + Column: int(64), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "filter_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(814), + Column: int(14), + }, + End: ast.Location{ + Line: int(814), + Column: int(88), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "filter_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(814), + Column: int(7), + }, + End: ast.Location{ + Line: int(814), + Column: int(89), + }, + }, }, }, BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(10), - }, - End: ast.Location{ - Line: int(808), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", - }, - }, Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(13), - }, - End: ast.Location{ - Line: int(803), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(14), - }, - End: ast.Location{ - Line: int(803), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(14), - }, - End: ast.Location{ - Line: int(803), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(14), - }, - End: ast.Location{ - Line: int(803), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(815), + Column: int(14), + }, + End: ast.Location{ + Line: int(815), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -109811,380 +112862,349 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(815), + Column: int(14), + }, + End: ast.Location{ + Line: int(815), + Column: int(28), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "map_func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(29), - }, - End: ast.Location{ - Line: int(803), - Column: int(37), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8398, + Ctx: p8650, FreeVars: ast.Identifiers{ "map_func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(815), + Column: int(29), + }, + End: ast.Location{ + Line: int(815), + Column: int(37), + }, + }, }, - Id: "map_func", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(7), - }, - End: ast.Location{ - Line: int(804), - Column: int(87), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(14), - }, - End: ast.Location{ - Line: int(804), - Column: int(86), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8352, + Ctx: p8615, FreeVars: ast.Identifiers{ "map_func", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(14), - }, - End: ast.Location{ - Line: int(804), - Column: int(65), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(815), + Column: int(14), + }, + End: ast.Location{ + Line: int(815), + Column: int(38), }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{}, }, - Value: "std.filterMap second param must be function, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "map_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(815), + Column: int(13), + }, + End: ast.Location{ + Line: int(815), + Column: int(38), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(68), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(68), + }, + End: ast.Location{ + Line: int(816), + Column: int(71), + }, + }, }, - End: ast.Location{ - Line: int(804), - Column: int(86), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(68), + }, + End: ast.Location{ + Line: int(816), + Column: int(76), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "map_func", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8664, + FreeVars: ast.Identifiers{ + "map_func", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(77), + }, + End: ast.Location{ + Line: int(816), + Column: int(85), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p8352, + Ctx: p8615, FreeVars: ast.Identifiers{ "map_func", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(68), - }, - End: ast.Location{ - Line: int(804), - Column: int(76), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(68), }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(816), + Column: int(86), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(68), - }, - End: ast.Location{ - Line: int(804), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(77), - }, - End: ast.Location{ - Line: int(804), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8415, - FreeVars: ast.Identifiers{ - "map_func", - }, - }, - Id: "map_func", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, + Left: &ast.LiteralString{ + Value: "std.filterMap second param must be function, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(14), + }, + End: ast.Location{ + Line: int(816), + Column: int(65), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "map_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(14), + }, + End: ast.Location{ + Line: int(816), + Column: int(86), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(10), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), }, - End: ast.Location{ - Line: int(808), - Column: int(54), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8352, + Ctx: p8615, FreeVars: ast.Identifiers{ - "arr", - "filter_func", "map_func", "std", }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(13), - }, - End: ast.Location{ - Line: int(805), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(816), + Column: int(87), }, }, - Op: ast.UnaryOp(0), + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Unary{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(14), - }, - End: ast.Location{ - Line: int(805), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(14), - }, - End: ast.Location{ - Line: int(805), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(14), - }, - End: ast.Location{ - Line: int(805), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(14), + }, + End: ast.Location{ + Line: int(817), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -110194,199 +113214,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(14), + }, + End: ast.Location{ + Line: int(817), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(26), - }, - End: ast.Location{ - Line: int(805), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8431, + Ctx: p8681, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(26), + }, + End: ast.Location{ + Line: int(817), + Column: int(29), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(7), - }, - End: ast.Location{ - Line: int(806), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(14), - }, - End: ast.Location{ - Line: int(806), - Column: int(77), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8352, + Ctx: p8615, FreeVars: ast.Identifiers{ "arr", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(14), - }, - End: ast.Location{ - Line: int(806), - Column: int(61), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(14), + }, + End: ast.Location{ + Line: int(817), + Column: int(30), }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{}, }, - Value: "std.filterMap third param must be array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(13), + }, + End: ast.Location{ + Line: int(817), + Column: int(30), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(64), - }, - End: ast.Location{ - Line: int(806), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(64), - }, - End: ast.Location{ - Line: int(806), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(64), - }, - End: ast.Location{ - Line: int(806), - Column: int(67), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(818), + Column: int(64), + }, + End: ast.Location{ + Line: int(818), + Column: int(67), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -110396,142 +113364,204 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(818), + Column: int(64), + }, + End: ast.Location{ + Line: int(818), + Column: int(72), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(73), - }, - End: ast.Location{ - Line: int(806), - Column: int(76), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8448, + Ctx: p8695, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(818), + Column: int(73), + }, + End: ast.Location{ + Line: int(818), + Column: int(76), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(818), + Column: int(64), + }, + End: ast.Location{ + Line: int(818), + Column: int(77), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.LiteralString{ + Value: "std.filterMap third param must be array, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(818), + Column: int(14), + }, + End: ast.Location{ + Line: int(818), + Column: int(61), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(818), + Column: int(14), + }, + End: ast.Location{ + Line: int(818), + Column: int(77), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(808), + Line: int(818), Column: int(7), }, End: ast.Location{ - Line: int(808), - Column: int(54), + Line: int(818), + Column: int(78), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", }, }, + }, + BranchFalse: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(7), - }, - End: ast.Location{ - Line: int(808), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8352, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(7), - }, - End: ast.Location{ - Line: int(808), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(7), + }, + End: ast.Location{ + Line: int(820), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -110541,117 +113571,96 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "map", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(7), + }, + End: ast.Location{ + Line: int(820), + Column: int(14), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "map_func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(15), - }, - End: ast.Location{ - Line: int(808), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8461, + Ctx: p8711, FreeVars: ast.Identifiers{ "map_func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(15), + }, + End: ast.Location{ + Line: int(820), + Column: int(23), + }, + }, }, - Id: "map_func", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(25), - }, - End: ast.Location{ - Line: int(808), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8461, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(25), - }, - End: ast.Location{ - Line: int(808), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8461, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(25), - }, - End: ast.Location{ - Line: int(808), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(25), + }, + End: ast.Location{ + Line: int(820), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "filter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -110661,1266 +113670,428 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "filter", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8711, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(25), + }, + End: ast.Location{ + Line: int(820), + Column: int(35), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "filter_func", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(36), - }, - End: ast.Location{ - Line: int(808), - Column: int(47), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8472, + Ctx: p8721, FreeVars: ast.Identifiers{ "filter_func", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(36), + }, + End: ast.Location{ + Line: int(820), + Column: int(47), + }, + }, }, - Id: "filter_func", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(49), - }, - End: ast.Location{ - Line: int(808), - Column: int(52), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8472, + Ctx: p8721, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(49), + }, + End: ast.Location{ + Line: int(820), + Column: int(52), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(3), - }, - End: ast.Location{ - Line: int(808), - Column: int(54), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "assertEqual", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{}, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(810), - Column: int(15), - }, - End: ast.Location{ - Line: int(810), - Column: int(16), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(810), - Column: int(18), - }, - End: ast.Location{ - Line: int(810), - Column: int(19), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(5), - }, - End: ast.Location{ - Line: int(814), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(8), - }, - End: ast.Location{ - Line: int(811), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(8), - }, - End: ast.Location{ - Line: int(811), - Column: int(9), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(13), - }, - End: ast.Location{ - Line: int(811), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(812), - Column: int(7), - }, - End: ast.Location{ - Line: int(812), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8481, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(7), - }, - End: ast.Location{ - Line: int(814), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(13), - }, - End: ast.Location{ - Line: int(814), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(13), - }, - End: ast.Location{ - Line: int(814), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(13), - }, - End: ast.Location{ - Line: int(814), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(13), - }, - End: ast.Location{ - Line: int(814), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{}, - }, - Value: "Assertion failed. ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(36), - }, - End: ast.Location{ - Line: int(814), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(40), - }, - End: ast.Location{ - Line: int(814), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{}, - }, - Value: " != ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(49), - }, - End: ast.Location{ - Line: int(814), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8481, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(810), - Column: int(3), - }, - End: ast.Location{ - Line: int(814), - Column: int(50), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(7), - }, - End: ast.Location{ - Line: int(816), - Column: int(8), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(5), - }, - End: ast.Location{ - Line: int(820), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(8), - }, - End: ast.Location{ - Line: int(817), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(9), - }, - End: ast.Location{ - Line: int(817), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(9), - }, - End: ast.Location{ - Line: int(817), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(9), - }, - End: ast.Location{ - Line: int(817), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isNumber", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(22), - }, - End: ast.Location{ - Line: int(817), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8526, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(7), - }, - End: ast.Location{ - Line: int(818), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(13), - }, - End: ast.Location{ - Line: int(818), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(13), - }, - End: ast.Location{ - Line: int(818), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{}, - }, - Value: "std.abs expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(47), - }, - End: ast.Location{ - Line: int(818), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(47), - }, - End: ast.Location{ - Line: int(818), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(47), - }, - End: ast.Location{ - Line: int(818), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8711, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(818), - Column: int(56), + Line: int(820), + Column: int(25), }, End: ast.Location{ - Line: int(818), - Column: int(57), + Line: int(820), + Column: int(53), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8543, - FreeVars: ast.Identifiers{ - "n", }, }, - Id: "n", + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "map_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(7), + }, + End: ast.Location{ + Line: int(820), + Column: int(54), + }, + }, }, - End: ast.Location{ - Line: int(820), - Column: int(30), - }, - File: p1, + TrailingComma: false, + TailStrict: false, }, - Fodder: ast.Fodder{ + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Indent: int(4), }, }, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Cond: &ast.Binary{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "map_func", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(820), + Line: int(817), Column: int(10), }, End: ast.Location{ Line: int(820), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(10), - }, - End: ast.Location{ - Line: int(820), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", + Column: int(54), }, }, - Id: "n", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(14), - }, - End: ast.Location{ - Line: int(820), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(21), - }, - End: ast.Location{ - Line: int(820), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - Id: "n", }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(28), - }, - End: ast.Location{ - Line: int(820), - Column: int(30), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "map_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(815), + Column: int(10), }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", + End: ast.Location{ + Line: int(820), + Column: int(54), }, }, - Op: ast.UnaryOp(3), - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(29), - }, - End: ast.Location{ - Line: int(820), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8513, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8615, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "map_func", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(5), + }, + End: ast.Location{ + Line: int(820), + Column: int(54), }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(3), - }, - End: ast.Location{ - Line: int(820), - Column: int(30), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "n", + Name: "filter_func", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(822), - Column: int(8), + Line: int(812), + Column: int(13), }, End: ast.Location{ - Line: int(822), - Column: int(9), + Line: int(812), + Column: int(24), }, - File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "map_func", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(812), + Column: int(26), + }, + End: ast.Location{ + Line: int(812), + Column: int(34), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(812), + Column: int(36), + }, + End: ast.Location{ + Line: int(812), + Column: int(39), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(5), - }, - End: ast.Location{ - Line: int(830), - Column: int(13), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(812), + Column: int(3), + }, + End: ast.Location{ + Line: int(820), + Column: int(54), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "assertEqual", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Cond: &ast.Unary{ + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(823), + Column: int(13), + }, + End: ast.Location{ + Line: int(823), + Column: int(14), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(823), + Column: int(8), + }, + End: ast.Location{ + Line: int(823), + Column: int(9), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(823), @@ -111928,149 +114099,26 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(823), - Column: int(24), + Column: int(14), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - "std", }, }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(9), - }, - End: ast.Location{ - Line: int(823), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(9), - }, - End: ast.Location{ - Line: int(823), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(9), - }, - End: ast.Location{ - Line: int(823), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isNumber", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(22), - }, - End: ast.Location{ - Line: int(823), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8579, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, + Op: ast.BinaryOp(12), }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ + BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8741, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(824), @@ -112078,541 +114126,323 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(824), - Column: int(59), + Column: int(11), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - "std", }, }, + Value: true, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(824), - Column: int(13), - }, - End: ast.Location{ - Line: int(824), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Left: &ast.LiteralString{ + Right: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(824), + Line: int(826), + Column: int(49), + }, + End: ast.Location{ + Line: int(826), + Column: int(50), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " != ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(826), + Column: int(40), + }, + End: ast.Location{ + Line: int(826), + Column: int(46), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(826), + Column: int(36), + }, + End: ast.Location{ + Line: int(826), + Column: int(37), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Assertion failed. ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(826), + Column: int(13), + }, + End: ast.Location{ + Line: int(826), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(826), + Column: int(13), + }, + End: ast.Location{ + Line: int(826), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(826), Column: int(13), }, End: ast.Location{ - Line: int(824), - Column: int(45), + Line: int(826), + Column: int(46), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{}, }, - Value: "std.sign expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + Op: ast.BinaryOp(3), }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(824), - Column: int(48), - }, - End: ast.Location{ - Line: int(824), - Column: int(59), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(826), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - "std", + End: ast.Location{ + Line: int(826), + Column: int(50), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(824), - Column: int(48), - }, - End: ast.Location{ - Line: int(824), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(824), - Column: int(48), - }, - End: ast.Location{ - Line: int(824), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(824), - Column: int(57), - }, - End: ast.Location{ - Line: int(824), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8596, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(826), Column: int(7), }, End: ast.Location{ - Line: int(830), - Column: int(13), + Line: int(826), + Column: int(50), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(10), - }, - End: ast.Location{ - Line: int(826), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(10), - }, - End: ast.Location{ - Line: int(826), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(14), - }, - End: ast.Location{ - Line: int(826), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(827), - Column: int(9), - }, - End: ast.Location{ - Line: int(827), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p8566, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - ElseFodder: ast.Fodder{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Indent: int(4), }, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(12), - }, - End: ast.Location{ - Line: int(830), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - }, + Ctx: p8741, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(823), + Column: int(5), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(15), - }, - End: ast.Location{ - Line: int(828), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(15), - }, - End: ast.Location{ - Line: int(828), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(19), - }, - End: ast.Location{ - Line: int(828), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(9), - }, - End: ast.Location{ - Line: int(829), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p8566, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(10), - }, - End: ast.Location{ - Line: int(829), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(12), - }, - End: ast.Location{ - Line: int(830), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", + End: ast.Location{ + Line: int(826), + Column: int(50), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(822), + Column: int(15), + }, + End: ast.Location{ + Line: int(822), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(822), + Column: int(18), + }, + End: ast.Location{ + Line: int(822), + Column: int(19), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(822), Column: int(3), }, End: ast.Location{ - Line: int(830), - Column: int(13), + Line: int(826), + Column: int(50), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "abs", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -112622,175 +114452,49 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(7), - }, - End: ast.Location{ - Line: int(832), - Column: int(8), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(10), - }, - End: ast.Location{ - Line: int(832), - Column: int(11), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(833), - Column: int(5), - }, - End: ast.Location{ - Line: int(838), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(833), - Column: int(8), - }, - End: ast.Location{ - Line: int(833), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(833), - Column: int(9), - }, - End: ast.Location{ - Line: int(833), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(833), - Column: int(9), - }, - End: ast.Location{ - Line: int(833), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(833), - Column: int(9), - }, - End: ast.Location{ - Line: int(833), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(829), + Column: int(9), + }, + End: ast.Location{ + Line: int(829), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -112800,199 +114504,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(829), + Column: int(9), + }, + End: ast.Location{ + Line: int(829), + Column: int(21), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "n", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8780, + FreeVars: ast.Identifiers{ + "n", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(833), + Line: int(829), Column: int(22), }, End: ast.Location{ - Line: int(833), + Line: int(829), Column: int(23), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8641, - FreeVars: ast.Identifiers{ - "a", }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(7), - }, - End: ast.Location{ - Line: int(834), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(13), - }, - End: ast.Location{ - Line: int(834), - Column: int(70), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8628, + Ctx: p8776, FreeVars: ast.Identifiers{ - "a", + "n", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(13), - }, - End: ast.Location{ - Line: int(834), - Column: int(56), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(829), + Column: int(9), + }, + End: ast.Location{ + Line: int(829), + Column: int(24), }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{}, }, - Value: "std.max first param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(829), + Column: int(8), + }, + End: ast.Location{ + Line: int(829), + Column: int(24), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(59), - }, - End: ast.Location{ - Line: int(834), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(59), - }, - End: ast.Location{ - Line: int(834), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(59), - }, - End: ast.Location{ - Line: int(834), - Column: int(62), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(830), + Column: int(47), + }, + End: ast.Location{ + Line: int(830), + Column: int(50), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -113002,177 +114654,631 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(830), + Column: int(47), + }, + End: ast.Location{ + Line: int(830), + Column: int(55), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "n", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8794, + FreeVars: ast.Identifiers{ + "n", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(834), - Column: int(68), + Line: int(830), + Column: int(56), }, End: ast.Location{ - Line: int(834), - Column: int(69), + Line: int(830), + Column: int(57), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8658, - FreeVars: ast.Identifiers{ - "a", }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(830), + Column: int(47), + }, + End: ast.Location{ + Line: int(830), + Column: int(58), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.abs expected number, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(830), + Column: int(13), + }, + End: ast.Location{ + Line: int(830), + Column: int(44), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(830), + Column: int(13), + }, + End: ast.Location{ + Line: int(830), + Column: int(58), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(830), + Column: int(7), + }, + End: ast.Location{ + Line: int(830), + Column: int(58), + }, }, }, }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(832), + Column: int(14), + }, + End: ast.Location{ + Line: int(832), + Column: int(15), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(832), + Column: int(10), + }, + End: ast.Location{ + Line: int(832), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(832), + Column: int(10), + }, + End: ast.Location{ + Line: int(832), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(832), + Column: int(21), + }, + End: ast.Location{ + Line: int(832), + Column: int(22), + }, + }, + }, + }, + BranchFalse: &ast.Unary{ + Expr: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(832), + Column: int(29), + }, + End: ast.Location{ + Line: int(832), + Column: int(30), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(832), + Column: int(28), + }, + End: ast.Location{ + Line: int(832), + Column: int(30), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(832), + Column: int(7), + }, + End: ast.Location{ + Line: int(832), + Column: int(30), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - BranchFalse: &ast.Conditional{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8776, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(829), + Column: int(5), + }, + End: ast.Location{ + Line: int(832), + Column: int(30), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "n", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(828), + Column: int(7), + }, + End: ast.Location{ + Line: int(828), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(828), + Column: int(3), + }, + End: ast.Location{ + Line: int(832), + Column: int(30), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "sign", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(835), + Column: int(9), + }, + End: ast.Location{ + Line: int(835), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(835), + Column: int(9), + }, + End: ast.Location{ + Line: int(835), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8833, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(835), + Column: int(22), + }, + End: ast.Location{ + Line: int(835), + Column: int(23), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(835), + Column: int(9), + }, + End: ast.Location{ + Line: int(835), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(835), - Column: int(10), + Column: int(8), }, End: ast.Location{ - Line: int(838), - Column: int(29), + Line: int(835), + Column: int(24), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", }, }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(13), - }, - End: ast.Location{ - Line: int(835), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(14), - }, - End: ast.Location{ - Line: int(835), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(14), - }, - End: ast.Location{ - Line: int(835), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(14), - }, - End: ast.Location{ - Line: int(835), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(836), + Column: int(48), + }, + End: ast.Location{ + Line: int(836), + Column: int(51), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -113182,89 +115288,99 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(836), + Column: int(48), + }, + End: ast.Location{ + Line: int(836), + Column: int(56), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "n", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8847, + FreeVars: ast.Identifiers{ + "n", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(835), - Column: int(27), + Line: int(836), + Column: int(57), }, End: ast.Location{ - Line: int(835), - Column: int(28), + Line: int(836), + Column: int(58), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8674, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(7), - }, - End: ast.Location{ - Line: int(836), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + "std", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(836), + Column: int(48), + }, + End: ast.Location{ + Line: int(836), + Column: int(59), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.sign expected number, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(836), @@ -113272,209 +115388,95 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(836), - Column: int(71), + Column: int(45), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "b", - "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(13), - }, - End: ast.Location{ - Line: int(836), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{}, - }, - Value: "std.max second param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(60), - }, - End: ast.Location{ - Line: int(836), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(60), - }, - End: ast.Location{ - Line: int(836), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(60), - }, - End: ast.Location{ - Line: int(836), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(69), - }, - End: ast.Location{ - Line: int(836), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8691, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, + Kind: ast.LiteralStringKind(1), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(838), - Column: int(7), + Line: int(836), + Column: int(13), }, End: ast.Location{ - Line: int(838), - Column: int(29), + Line: int(836), + Column: int(59), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "b", }, }, - Cond: &ast.Binary{ + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(836), + Column: int(7), + }, + End: ast.Location{ + Line: int(836), + Column: int(59), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(838), + Column: int(14), + }, + End: ast.Location{ + Line: int(838), + Column: int(15), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(838), @@ -113482,291 +115484,160 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(838), - Column: int(15), + Column: int(11), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - "b", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(10), - }, - End: ast.Location{ - Line: int(838), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(14), - }, - End: ast.Location{ - Line: int(838), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(21), - }, - End: ast.Location{ - Line: int(838), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(28), - }, - End: ast.Location{ - Line: int(838), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8628, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(3), - }, - End: ast.Location{ - Line: int(838), - Column: int(29), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "min", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(7), - }, - End: ast.Location{ - Line: int(840), - Column: int(8), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(10), - }, - End: ast.Location{ - Line: int(840), - Column: int(11), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(841), - Column: int(5), - }, - End: ast.Location{ - Line: int(846), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(841), - Column: int(8), - }, - End: ast.Location{ - Line: int(841), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(841), + Line: int(838), + Column: int(10), + }, + End: ast.Location{ + Line: int(838), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p8829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(839), Column: int(9), }, End: ast.Location{ - Line: int(841), - Column: int(24), + Line: int(839), + Column: int(10), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - "std", }, }, - Target: &ast.Index{ + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(840), + Column: int(19), + }, + End: ast.Location{ + Line: int(840), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "n", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(840), + Column: int(15), + }, + End: ast.Location{ + Line: int(840), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(840), + Column: int(15), + }, + End: ast.Location{ + Line: int(840), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(841), + Column: int(10), + }, + End: ast.Location{ + Line: int(841), + Column: int(11), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p8829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(841), @@ -113774,42 +115645,254 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(841), - Column: int(21), + Column: int(11), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(841), - Column: int(9), - }, - End: ast.Location{ - Line: int(841), - Column: int(12), - }, - File: p1, + Op: ast.UnaryOp(3), + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(842), + Column: int(12), }, + End: ast.Location{ + Line: int(842), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(840), + Column: int(12), + }, + End: ast.Location{ + Line: int(842), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(838), + Column: int(7), + }, + End: ast.Location{ + Line: int(842), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8829, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(835), + Column: int(5), + }, + End: ast.Location{ + Line: int(842), + Column: int(13), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "n", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(834), + Column: int(8), + }, + End: ast.Location{ + Line: int(834), + Column: int(9), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(834), + Column: int(3), + }, + End: ast.Location{ + Line: int(842), + Column: int(13), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "max", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(845), + Column: int(9), + }, + End: ast.Location{ + Line: int(845), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -113819,581 +115902,499 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(845), + Column: int(9), + }, + End: ast.Location{ + Line: int(845), + Column: int(21), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(841), - Column: int(22), - }, - End: ast.Location{ - Line: int(841), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8726, + Ctx: p8895, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(845), + Column: int(22), + }, + End: ast.Location{ + Line: int(845), + Column: int(23), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(7), - }, - End: ast.Location{ - Line: int(842), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(13), - }, - End: ast.Location{ - Line: int(842), - Column: int(70), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8713, + Ctx: p8891, FreeVars: ast.Identifiers{ "a", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(13), - }, - End: ast.Location{ - Line: int(842), - Column: int(56), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(845), + Column: int(9), + }, + End: ast.Location{ + Line: int(845), + Column: int(24), }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{}, }, - Value: "std.min first param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(845), + Column: int(8), + }, + End: ast.Location{ + Line: int(845), + Column: int(24), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(59), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(846), + Column: int(59), + }, + End: ast.Location{ + Line: int(846), + Column: int(62), + }, + }, }, - End: ast.Location{ - Line: int(842), - Column: int(70), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(846), + Column: int(59), + }, + End: ast.Location{ + Line: int(846), + Column: int(67), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8909, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(846), + Column: int(68), + }, + End: ast.Location{ + Line: int(846), + Column: int(69), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p8713, + Ctx: p8891, FreeVars: ast.Identifiers{ "a", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(59), - }, - End: ast.Location{ - Line: int(842), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(59), - }, - End: ast.Location{ - Line: int(842), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(68), - }, - End: ast.Location{ - Line: int(842), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8743, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(843), - Column: int(10), - }, - End: ast.Location{ - Line: int(846), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(843), - Column: int(13), - }, - End: ast.Location{ - Line: int(843), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(843), - Column: int(14), + Line: int(846), + Column: int(59), }, End: ast.Location{ - Line: int(843), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(843), - Column: int(14), - }, - End: ast.Location{ - Line: int(843), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "std", + Line: int(846), + Column: int(70), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(843), - Column: int(14), - }, - End: ast.Location{ - Line: int(843), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isNumber", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(843), - Column: int(27), - }, - End: ast.Location{ - Line: int(843), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8759, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(7), - }, - End: ast.Location{ - Line: int(844), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Expr: &ast.Binary{ + Left: &ast.LiteralString{ + Value: "std.max first param expected number, got ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(844), + Line: int(846), Column: int(13), }, End: ast.Location{ - Line: int(844), - Column: int(71), + Line: int(846), + Column: int(56), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(846), + Column: int(13), + }, + End: ast.Location{ + Line: int(846), + Column: int(70), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(846), + Column: int(7), + }, + End: ast.Location{ + Line: int(846), + Column: int(70), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(14), + }, + End: ast.Location{ + Line: int(847), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(14), + }, + End: ast.Location{ + Line: int(847), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8926, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(27), + }, + End: ast.Location{ + Line: int(847), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p8713, + Ctx: p8891, FreeVars: ast.Identifiers{ "b", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(13), - }, - End: ast.Location{ - Line: int(844), - Column: int(57), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(14), + }, + End: ast.Location{ + Line: int(847), + Column: int(29), }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{}, }, - Value: "std.min second param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(13), + }, + End: ast.Location{ + Line: int(847), + Column: int(29), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(60), - }, - End: ast.Location{ - Line: int(844), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(60), - }, - End: ast.Location{ - Line: int(844), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(60), - }, - End: ast.Location{ - Line: int(844), - Column: int(63), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(848), + Column: int(60), + }, + End: ast.Location{ + Line: int(848), + Column: int(63), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -114403,761 +116404,1930 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(848), + Column: int(60), + }, + End: ast.Location{ + Line: int(848), + Column: int(68), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(69), - }, - End: ast.Location{ - Line: int(844), - Column: int(70), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8776, + Ctx: p8940, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(848), + Column: int(69), + }, + End: ast.Location{ + Line: int(848), + Column: int(70), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(848), + Column: int(60), + }, + End: ast.Location{ + Line: int(848), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.LiteralString{ + Value: "std.max second param expected number, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(848), + Column: int(13), + }, + End: ast.Location{ + Line: int(848), + Column: int(57), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(848), + Column: int(13), + }, + End: ast.Location{ + Line: int(848), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(7), - }, - End: ast.Location{ - Line: int(846), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p8713, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(848), + Column: int(7), + }, + End: ast.Location{ + Line: int(848), + Column: int(71), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(850), + Column: int(14), + }, + End: ast.Location{ + Line: int(850), + Column: int(15), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(850), + Column: int(10), + }, + End: ast.Location{ + Line: int(850), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(850), + Column: int(10), + }, + End: ast.Location{ + Line: int(850), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(850), + Column: int(21), + }, + End: ast.Location{ + Line: int(850), + Column: int(22), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(850), + Column: int(28), + }, + End: ast.Location{ + Line: int(850), + Column: int(29), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8891, FreeVars: ast.Identifiers{ "a", "b", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(10), - }, - End: ast.Location{ - Line: int(846), - Column: int(15), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(850), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - "b", + End: ast.Location{ + Line: int(850), + Column: int(29), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(10), - }, - End: ast.Location{ - Line: int(846), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(14), - }, - End: ast.Location{ - Line: int(846), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(21), - }, - End: ast.Location{ - Line: int(846), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(28), - }, - End: ast.Location{ - Line: int(846), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8713, - FreeVars: ast.Identifiers{ - "b", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(10), }, - Id: "b", + End: ast.Location{ + Line: int(850), + Column: int(29), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8891, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(845), + Column: int(5), + }, + End: ast.Location{ + Line: int(850), + Column: int(29), }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(3), - }, - End: ast.Location{ - Line: int(846), - Column: int(29), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "clamp", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{}, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "x", + Name: "a", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(848), - Column: int(9), + Line: int(844), + Column: int(7), }, End: ast.Location{ - Line: int(848), + Line: int(844), + Column: int(8), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(844), Column: int(10), }, - File: p1, + End: ast.Location{ + Line: int(844), + Column: int(11), + }, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "minVal", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(12), - }, - End: ast.Location{ - Line: int(848), - Column: int(18), - }, - File: p1, - }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "maxVal", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(20), - }, - End: ast.Location{ - Line: int(848), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(844), + Column: int(3), + }, + End: ast.Location{ + Line: int(850), + Column: int(29), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "min", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(5), + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(9), + }, + End: ast.Location{ + Line: int(853), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(9), + }, + End: ast.Location{ + Line: int(853), + Column: int(21), + }, + }, + }, }, - End: ast.Location{ - Line: int(851), - Column: int(11), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8980, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(22), + }, + End: ast.Location{ + Line: int(853), + Column: int(23), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(9), + }, + End: ast.Location{ + Line: int(853), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fodder: ast.Fodder{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(8), + }, + End: ast.Location{ + Line: int(853), + Column: int(24), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(59), + }, + End: ast.Location{ + Line: int(854), + Column: int(62), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(59), + }, + End: ast.Location{ + Line: int(854), + Column: int(67), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8994, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(68), + }, + End: ast.Location{ + Line: int(854), + Column: int(69), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(59), + }, + End: ast.Location{ + Line: int(854), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.min first param expected number, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(13), + }, + End: ast.Location{ + Line: int(854), + Column: int(56), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(13), + }, + End: ast.Location{ + Line: int(854), + Column: int(70), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(7), + }, + End: ast.Location{ + Line: int(854), + Column: int(70), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(855), + Column: int(14), + }, + End: ast.Location{ + Line: int(855), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(855), + Column: int(14), + }, + End: ast.Location{ + Line: int(855), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9011, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(855), + Column: int(27), + }, + End: ast.Location{ + Line: int(855), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(855), + Column: int(14), + }, + End: ast.Location{ + Line: int(855), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(855), + Column: int(13), + }, + End: ast.Location{ + Line: int(855), + Column: int(29), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(60), + }, + End: ast.Location{ + Line: int(856), + Column: int(63), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(60), + }, + End: ast.Location{ + Line: int(856), + Column: int(68), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9025, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(69), + }, + End: ast.Location{ + Line: int(856), + Column: int(70), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(60), + }, + End: ast.Location{ + Line: int(856), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "std.min second param expected number, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(13), + }, + End: ast.Location{ + Line: int(856), + Column: int(57), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(13), + }, + End: ast.Location{ + Line: int(856), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(7), + }, + End: ast.Location{ + Line: int(856), + Column: int(71), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(14), + }, + End: ast.Location{ + Line: int(858), + Column: int(15), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(10), + }, + End: ast.Location{ + Line: int(858), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(10), + }, + End: ast.Location{ + Line: int(858), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(21), + }, + End: ast.Location{ + Line: int(858), + Column: int(22), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(28), + }, + End: ast.Location{ + Line: int(858), + Column: int(29), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(7), + }, + End: ast.Location{ + Line: int(858), + Column: int(29), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p8797, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(855), + Column: int(10), + }, + End: ast.Location{ + Line: int(858), + Column: int(29), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p8976, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(5), + }, + End: ast.Location{ + Line: int(858), + Column: int(29), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(852), + Column: int(7), + }, + End: ast.Location{ + Line: int(852), + Column: int(8), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(852), + Column: int(10), + }, + End: ast.Location{ + Line: int(852), + Column: int(11), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(852), + Column: int(3), + }, + End: ast.Location{ + Line: int(858), + Column: int(29), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "clamp", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "minVal", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "minVal", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(12), + }, + End: ast.Location{ + Line: int(861), + Column: int(18), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(8), + }, + End: ast.Location{ + Line: int(861), + Column: int(9), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "minVal", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(8), + }, + End: ast.Location{ + Line: int(861), + Column: int(18), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Var{ + Id: "minVal", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "minVal", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(24), + }, + End: ast.Location{ + Line: int(861), + Column: int(30), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "maxVal", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "maxVal", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(17), + }, + End: ast.Location{ + Line: int(862), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(13), + }, + End: ast.Location{ + Line: int(862), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "maxVal", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(13), + }, + End: ast.Location{ + Line: int(862), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.Var{ + Id: "maxVal", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "maxVal", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(29), + }, + End: ast.Location{ + Line: int(862), + Column: int(35), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(863), + Column: int(10), + }, + End: ast.Location{ + Line: int(863), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9057, + FreeVars: ast.Identifiers{ + "maxVal", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(10), + }, + End: ast.Location{ + Line: int(863), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p9057, FreeVars: ast.Identifiers{ "maxVal", "minVal", "x", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(8), - }, - End: ast.Location{ - Line: int(849), - Column: int(18), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "minVal", - "x", + End: ast.Location{ + Line: int(863), + Column: int(11), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(8), - }, - End: ast.Location{ - Line: int(849), - Column: int(9), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(12), - }, - End: ast.Location{ - Line: int(849), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "minVal", - }, - }, - Id: "minVal", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(24), - }, - End: ast.Location{ - Line: int(849), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "minVal", - }, - }, - Id: "minVal", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(10), - }, - End: ast.Location{ - Line: int(851), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "maxVal", - "x", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(13), - }, - End: ast.Location{ - Line: int(850), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "maxVal", - "x", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(13), - }, - End: ast.Location{ - Line: int(850), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(17), - }, - End: ast.Location{ - Line: int(850), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "maxVal", - }, - }, - Id: "maxVal", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(29), - }, - End: ast.Location{ - Line: int(850), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "maxVal", - }, - }, - Id: "maxVal", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(851), - Column: int(10), - }, - End: ast.Location{ - Line: int(851), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8797, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(3), - }, - End: ast.Location{ - Line: int(851), - Column: int(11), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flattenArrays", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arrs", + Name: "x", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(853), - Column: int(17), + Line: int(860), + Column: int(9), }, End: ast.Location{ - Line: int(853), - Column: int(21), + Line: int(860), + Column: int(10), }, - File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "minVal", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(860), + Column: int(12), + }, + End: ast.Location{ + Line: int(860), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "maxVal", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(860), + Column: int(20), + }, + End: ast.Location{ + Line: int(860), + Column: int(26), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(5), - }, - End: ast.Location{ - Line: int(854), - Column: int(46), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(860), + Column: int(3), + }, + End: ast.Location{ + Line: int(863), + Column: int(11), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "flattenArrays", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p8826, - FreeVars: ast.Identifiers{ - "arrs", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(5), - }, - End: ast.Location{ - Line: int(854), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8826, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(5), - }, - End: ast.Location{ - Line: int(854), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(5), + }, + End: ast.Location{ + Line: int(866), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "foldl", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -115167,453 +118337,379 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "foldl", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9089, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(5), + }, + End: ast.Location{ + Line: int(866), + Column: int(14), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(15), - }, - End: ast.Location{ - Line: int(854), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8836, - FreeVars: ast.Identifiers{}, - }, ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9095, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(34), + }, + End: ast.Location{ + Line: int(866), + Column: int(35), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9095, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(30), + }, + End: ast.Location{ + Line: int(866), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9095, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(30), + }, + End: ast.Location{ + Line: int(866), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(3), + }, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "a", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(854), + Line: int(866), Column: int(24), }, End: ast.Location{ - Line: int(854), + Line: int(866), Column: int(25), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "b", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(854), + Line: int(866), Column: int(27), }, End: ast.Location{ - Line: int(854), + Line: int(866), Column: int(28), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9101, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(15), + }, + End: ast.Location{ + Line: int(866), + Column: int(35), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(30), - }, - End: ast.Location{ - Line: int(854), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8839, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(30), - }, - End: ast.Location{ - Line: int(854), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8839, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(34), - }, - End: ast.Location{ - Line: int(854), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8839, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arrs", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(37), - }, - End: ast.Location{ - Line: int(854), - Column: int(41), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8836, + Ctx: p9101, FreeVars: ast.Identifiers{ "arrs", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(37), + }, + End: ast.Location{ + Line: int(866), + Column: int(41), + }, + }, }, - Id: "arrs", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9101, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(854), + Line: int(866), Column: int(43), }, End: ast.Location{ - Line: int(854), + Line: int(866), Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8836, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(3), - }, - End: ast.Location{ - Line: int(854), - Column: int(46), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9089, + FreeVars: ast.Identifiers{ + "arrs", + "std", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(866), + Column: int(5), + }, + End: ast.Location{ + Line: int(866), + Column: int(46), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + TrailingComma: false, + TailStrict: false, }, - Value: "manifestIni", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "ini", + Name: "arrs", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(856), - Column: int(15), + Line: int(865), + Column: int(17), }, End: ast.Location{ - Line: int(856), - Column: int(18), + Line: int(865), + Column: int(21), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(857), - Column: int(5), - }, - End: ast.Location{ - Line: int(874), - Column: int(71), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(865), + Column: int(3), + }, + End: ast.Location{ + Line: int(866), + Column: int(46), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestIni", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8854, - FreeVars: ast.Identifiers{ - "$std", - "ini", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "body_lines", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(857), - Column: int(11), - }, - End: ast.Location{ - Line: int(866), - Column: int(9), - }, - File: p1, - }, - Fodder: nil, - Ctx: p8858, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "body", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(857), - Column: int(22), - }, - End: ast.Location{ - Line: int(857), - Column: int(26), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(7), - }, - End: ast.Location{ - Line: int(866), - Column: int(9), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8862, - FreeVars: ast.Identifiers{ - "$std", - "body", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(7), - }, - End: ast.Location{ - Line: int(858), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8862, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(7), - }, - End: ast.Location{ - Line: int(858), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(870), + Column: int(7), + }, + End: ast.Location{ + Line: int(870), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -115623,74 +118719,120 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9119, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(870), + Column: int(7), + }, + End: ast.Location{ + Line: int(870), + Column: int(15), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9123, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(858), + Line: int(870), Column: int(16), }, End: ast.Location{ - Line: int(858), + Line: int(870), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8872, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(20), - }, - End: ast.Location{ - Line: int(866), - Column: int(8), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "body", - "std", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -115700,355 +118842,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "body", - "std", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "body", - "k", - "std", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(859), - Column: int(9), - }, - End: ast.Location{ - Line: int(863), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p8889, - FreeVars: ast.Identifiers{ - "$std", - "body", - "k", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "value_or_values", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(859), - Column: int(33), + Target: &ast.Var{ + Id: "body", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9138, + FreeVars: ast.Identifiers{ + "body", }, - End: ast.Location{ - Line: int(859), - Column: int(40), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(871), + Column: int(33), + }, + End: ast.Location{ + Line: int(871), + Column: int(37), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9138, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(871), + Column: int(38), + }, + End: ast.Location{ + Line: int(871), + Column: int(39), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p8893, + Ctx: p9138, FreeVars: ast.Identifiers{ "body", "k", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(859), - Column: int(33), - }, - End: ast.Location{ - Line: int(859), - Column: int(37), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(871), + Column: int(33), }, - Fodder: ast.Fodder{}, - Ctx: p8893, - FreeVars: ast.Identifiers{ - "body", + End: ast.Location{ + Line: int(871), + Column: int(40), }, }, - Id: "body", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(859), - Column: int(38), - }, - End: ast.Location{ - Line: int(859), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8893, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "value_or_values", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(859), + Line: int(871), Column: int(15), }, End: ast.Location{ - Line: int(859), + Line: int(871), Column: int(40), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(9), - }, - End: ast.Location{ - Line: int(863), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p8889, - FreeVars: ast.Identifiers{ - "$std", - "k", - "std", - "value_or_values", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(12), - }, - End: ast.Location{ - Line: int(860), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8889, - FreeVars: ast.Identifiers{ - "std", - "value_or_values", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(12), - }, - End: ast.Location{ - Line: int(860), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8889, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(12), - }, - End: ast.Location{ - Line: int(860), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(872), + Column: int(12), + }, + End: ast.Location{ + Line: int(872), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -116058,82 +118990,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9149, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(872), + Column: int(12), + }, + End: ast.Location{ + Line: int(872), + Column: int(23), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value_or_values", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(24), - }, - End: ast.Location{ - Line: int(860), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8911, + Ctx: p9153, FreeVars: ast.Identifiers{ "value_or_values", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(872), + Column: int(24), + }, + End: ast.Location{ + Line: int(872), + Column: int(39), + }, + }, }, - Id: "value_or_values", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(11), - }, - End: ast.Location{ - Line: int(861), - Column: int(64), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9149, FreeVars: ast.Identifiers{ - "$std", - "k", + "std", "value_or_values", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(872), + Column: int(12), + }, + End: ast.Location{ + Line: int(872), + Column: int(40), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -116143,161 +119140,77 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "value", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(12), - }, - End: ast.Location{ - Line: int(861), - Column: int(34), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "value", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -116307,274 +119220,459 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "%s = %s", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9174, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(861), + Line: int(873), Column: int(12), }, End: ast.Location{ - Line: int(861), + Line: int(873), Column: int(21), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p8936, - FreeVars: ast.Identifiers{}, }, - Value: "%s = %s", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(24), - }, - End: ast.Location{ - Line: int(861), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8936, - FreeVars: ast.Identifiers{ - "k", - "value", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "k", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(25), - }, - End: ast.Location{ - Line: int(861), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8941, + Ctx: p9178, FreeVars: ast.Identifiers{ "k", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(873), + Column: int(25), + }, + End: ast.Location{ + Line: int(873), + Column: int(26), + }, + }, }, - Id: "k", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(28), - }, - End: ast.Location{ - Line: int(861), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8941, + Ctx: p9178, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(873), + Column: int(28), + }, + End: ast.Location{ + Line: int(873), + Column: int(33), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9174, + FreeVars: ast.Identifiers{ + "k", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(873), + Column: int(24), + }, + End: ast.Location{ + Line: int(873), + Column: int(34), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "k", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(873), + Column: int(12), + }, + End: ast.Location{ + Line: int(873), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "k", + "value", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "value", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "k", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value_or_values", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(48), - }, - End: ast.Location{ - Line: int(861), - Column: int(63), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8889, + Ctx: p9149, FreeVars: ast.Identifiers{ "value_or_values", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(873), + Column: int(48), + }, + End: ast.Location{ + Line: int(873), + Column: int(63), + }, + }, }, - Id: "value_or_values", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Array{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(11), - }, - End: ast.Location{ - Line: int(863), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p8889, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "$std", "k", "value_or_values", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(873), + Column: int(11), + }, + End: ast.Location{ + Line: int(873), + Column: int(64), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Array{ Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(12), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(863), - Column: int(44), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "%s = %s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9200, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(875), + Column: int(12), + }, + End: ast.Location{ + Line: int(875), + Column: int(21), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9204, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(875), + Column: int(25), + }, + End: ast.Location{ + Line: int(875), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value_or_values", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9204, + FreeVars: ast.Identifiers{ + "value_or_values", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(875), + Column: int(28), + }, + End: ast.Location{ + Line: int(875), + Column: int(43), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9200, + FreeVars: ast.Identifiers{ + "k", + "value_or_values", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(875), + Column: int(24), + }, + End: ast.Location{ + Line: int(875), + Column: int(44), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -116582,277 +119680,234 @@ var _StdAst = &ast.DesugaredObject{ "k", "value_or_values", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(875), + Column: int(12), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(875), + Column: int(44), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(12), - }, - End: ast.Location{ - Line: int(863), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8961, - FreeVars: ast.Identifiers{}, - }, - Value: "%s = %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(24), - }, - End: ast.Location{ - Line: int(863), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8961, - FreeVars: ast.Identifiers{ - "k", - "value_or_values", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(25), - }, - End: ast.Location{ - Line: int(863), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8966, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(28), - }, - End: ast.Location{ - Line: int(863), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8966, - FreeVars: ast.Identifiers{ - "value_or_values", - }, - }, - Id: "value_or_values", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9149, + FreeVars: ast.Identifiers{ + "$std", + "k", + "value_or_values", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(875), + Column: int(11), + }, + End: ast.Location{ + Line: int(875), + Column: int(45), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p9149, + FreeVars: ast.Identifiers{ + "$std", + "k", + "std", + "value_or_values", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(872), + Column: int(9), + }, + End: ast.Location{ + Line: int(875), + Column: int(45), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p9149, + FreeVars: ast.Identifiers{ + "$std", + "body", + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(871), + Column: int(9), + }, + End: ast.Location{ + Line: int(875), + Column: int(45), + }, }, }, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "body", + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "body", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(865), - Column: int(18), - }, - End: ast.Location{ - Line: int(865), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8872, - FreeVars: ast.Identifiers{ - "body", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(865), - Column: int(18), - }, - End: ast.Location{ - Line: int(865), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8872, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(865), - Column: int(18), - }, - End: ast.Location{ - Line: int(865), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(877), + Column: int(18), + }, + End: ast.Location{ + Line: int(877), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -116862,80 +119917,200 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9123, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(877), + Column: int(18), + }, + End: ast.Location{ + Line: int(877), + Column: int(34), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "body", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(865), - Column: int(35), - }, - End: ast.Location{ - Line: int(865), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8979, + Ctx: p9228, FreeVars: ast.Identifiers{ "body", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(877), + Column: int(35), + }, + End: ast.Location{ + Line: int(877), + Column: int(39), + }, + }, }, - Id: "body", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9123, + FreeVars: ast.Identifiers{ + "body", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(877), + Column: int(18), + }, + End: ast.Location{ + Line: int(877), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "body", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(870), + Column: int(20), + }, + End: ast.Location{ + Line: int(878), + Column: int(8), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9119, + FreeVars: ast.Identifiers{ + "$std", + "body", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(870), + Column: int(7), + }, + End: ast.Location{ + Line: int(878), + Column: int(9), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "body", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(869), + Column: int(22), + }, + End: ast.Location{ + Line: int(869), + Column: int(26), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p9234, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(869), + Column: int(11), + }, + End: ast.Location{ + Line: int(878), + Column: int(9), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "body_lines", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -116945,427 +120120,398 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(5), - }, - End: ast.Location{ - Line: int(874), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p8854, - FreeVars: ast.Identifiers{ - "$std", - "body_lines", - "ini", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "section_lines", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(11), - }, - End: ast.Location{ - Line: int(868), - Column: int(79), - }, - File: p1, - }, - Fodder: nil, - Ctx: p8986, - FreeVars: ast.Identifiers{ - "$std", - "body_lines", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "sname", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(25), - }, - End: ast.Location{ - Line: int(868), - Column: int(30), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "sbody", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(32), - }, - End: ast.Location{ - Line: int(868), - Column: int(37), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(41), - }, - End: ast.Location{ - Line: int(868), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8990, - FreeVars: ast.Identifiers{ - "$std", - "body_lines", - "sbody", - "sname", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(41), - }, - End: ast.Location{ - Line: int(868), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8990, - FreeVars: ast.Identifiers{ - "$std", - "sname", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(42), - }, - End: ast.Location{ - Line: int(868), - Column: int(58), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "sname", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(42), - }, - End: ast.Location{ - Line: int(868), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9004, - FreeVars: ast.Identifiers{}, - }, - Value: "[%s]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(51), - }, - End: ast.Location{ - Line: int(868), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9004, - FreeVars: ast.Identifiers{ - "sname", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(52), - }, - End: ast.Location{ - Line: int(868), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9009, - FreeVars: ast.Identifiers{ - "sname", - }, - }, - Id: "sname", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(62), - }, - End: ast.Location{ - Line: int(868), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8990, - FreeVars: ast.Identifiers{ - "body_lines", - "sbody", - }, - }, Target: &ast.Var{ + Id: "body_lines", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(62), - }, - End: ast.Location{ - Line: int(868), - Column: int(72), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p8990, + Ctx: p9242, FreeVars: ast.Identifiers{ "body_lines", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(62), + }, + End: ast.Location{ + Line: int(880), + Column: int(72), + }, + }, }, - Id: "body_lines", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "sbody", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(73), - }, - End: ast.Location{ - Line: int(868), - Column: int(78), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9017, + Ctx: p9246, FreeVars: ast.Identifiers{ "sbody", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(73), + }, + End: ast.Location{ + Line: int(880), + Column: int(78), + }, + }, }, - Id: "sbody", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9242, + FreeVars: ast.Identifiers{ + "body_lines", + "sbody", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(62), + }, + End: ast.Location{ + Line: int(880), + Column: int(79), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "[%s]", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9259, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(42), + }, + End: ast.Location{ + Line: int(880), + Column: int(48), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "sname", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9263, + FreeVars: ast.Identifiers{ + "sname", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(52), + }, + End: ast.Location{ + Line: int(880), + Column: int(57), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9259, + FreeVars: ast.Identifiers{ + "sname", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(51), + }, + End: ast.Location{ + Line: int(880), + Column: int(58), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "sname", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(42), + }, + End: ast.Location{ + Line: int(880), + Column: int(58), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9242, + FreeVars: ast.Identifiers{ + "$std", + "sname", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(41), + }, + End: ast.Location{ + Line: int(880), + Column: int(59), + }, + }, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9242, + FreeVars: ast.Identifiers{ + "$std", + "body_lines", + "sbody", + "sname", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(41), + }, + End: ast.Location{ + Line: int(880), + Column: int(79), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "sname", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(25), + }, + End: ast.Location{ + Line: int(880), + Column: int(30), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "sbody", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(32), + }, + End: ast.Location{ + Line: int(880), + Column: int(37), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p9270, + FreeVars: ast.Identifiers{ + "$std", + "body_lines", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(11), + }, + End: ast.Location{ + Line: int(880), + Column: int(79), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "section_lines", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -117375,109 +120521,52 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, ast.LocalBind{ VarFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Variable: "main_body", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(23), - }, - End: ast.Location{ - Line: int(869), - Column: int(86), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9021, - FreeVars: ast.Identifiers{ - "body_lines", - "ini", - "std", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(26), - }, - End: ast.Location{ - Line: int(869), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9021, - FreeVars: ast.Identifiers{ - "ini", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(26), - }, - End: ast.Location{ - Line: int(869), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9021, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(26), - }, - End: ast.Location{ - Line: int(869), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), + Column: int(26), + }, + End: ast.Location{ + Line: int(881), + Column: int(29), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectHas", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -117487,176 +120576,175 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectHas", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9279, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), + Column: int(26), + }, + End: ast.Location{ + Line: int(881), + Column: int(39), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "ini", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(40), - }, - End: ast.Location{ - Line: int(869), - Column: int(43), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9032, + Ctx: p9283, FreeVars: ast.Identifiers{ "ini", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), + Column: int(40), + }, + End: ast.Location{ + Line: int(881), + Column: int(43), + }, + }, }, - Id: "ini", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "main", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9283, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(869), + Line: int(881), Column: int(45), }, End: ast.Location{ - Line: int(869), + Line: int(881), Column: int(51), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9032, - FreeVars: ast.Identifiers{}, }, - Value: "main", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9279, + FreeVars: ast.Identifiers{ + "ini", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(869), - Column: int(58), + Line: int(881), + Column: int(26), }, End: ast.Location{ - Line: int(869), - Column: int(78), + Line: int(881), + Column: int(52), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9021, - FreeVars: ast.Identifiers{ - "body_lines", - "ini", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "body_lines", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(58), - }, - End: ast.Location{ - Line: int(869), - Column: int(68), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9021, + Ctx: p9279, FreeVars: ast.Identifiers{ "body_lines", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), + Column: int(58), + }, + End: ast.Location{ + Line: int(881), + Column: int(68), + }, + }, }, - Id: "body_lines", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(69), - }, - End: ast.Location{ - Line: int(869), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9041, - FreeVars: ast.Identifiers{ - "ini", - }, - }, Target: &ast.Var{ + Id: "ini", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(69), - }, - End: ast.Location{ - Line: int(869), - Column: int(72), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "ini", }, - }, - Id: "ini", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), + Column: int(69), + }, + End: ast.Location{ + Line: int(881), + Column: int(72), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "main", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -117666,94 +120754,675 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "main", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9295, + FreeVars: ast.Identifiers{ + "ini", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), + Column: int(69), + }, + End: ast.Location{ + Line: int(881), + Column: int(77), + }, + }, + }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Array{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9279, + FreeVars: ast.Identifiers{ + "body_lines", + "ini", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(869), + Line: int(881), + Column: int(58), + }, + End: ast.Location{ + Line: int(881), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9279, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), Column: int(84), }, End: ast.Location{ - Line: int(869), + Line: int(881), Column: int(86), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9021, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9279, + FreeVars: ast.Identifiers{ + "body_lines", + "ini", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(881), + Column: int(23), + }, + End: ast.Location{ + Line: int(881), + Column: int(86), + }, + }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "main_body", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(869), + Line: int(881), Column: int(11), }, End: ast.Location{ - Line: int(869), + Line: int(881), Column: int(86), }, - File: p1, }, }, ast.LocalBind{ VarFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Variable: "all_sections", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(870), - Column: int(26), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(873), - Column: int(6), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "section_lines", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p9314, + FreeVars: ast.Identifiers{ + "section_lines", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(883), + Column: int(7), + }, + End: ast.Location{ + Line: int(883), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9318, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(883), + Column: int(21), + }, + End: ast.Location{ + Line: int(883), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "ini", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ini", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(883), + Column: int(24), + }, + End: ast.Location{ + Line: int(883), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "sections", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9318, + FreeVars: ast.Identifiers{ + "ini", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(883), + Column: int(24), + }, + End: ast.Location{ + Line: int(883), + Column: int(36), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9318, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(883), + Column: int(37), + }, + End: ast.Location{ + Line: int(883), + Column: int(38), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9318, + FreeVars: ast.Identifiers{ + "ini", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(883), + Column: int(24), + }, + End: ast.Location{ + Line: int(883), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9314, + FreeVars: ast.Identifiers{ + "ini", + "k", + "section_lines", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(883), + Column: int(7), + }, + End: ast.Location{ + Line: int(883), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ini", + "k", + "section_lines", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ini", + "section_lines", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(884), + Column: int(16), + }, + End: ast.Location{ + Line: int(884), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(884), + Column: int(16), + }, + End: ast.Location{ + Line: int(884), + Column: int(32), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "ini", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ini", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(884), + Column: int(33), + }, + End: ast.Location{ + Line: int(884), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "sections", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9345, + FreeVars: ast.Identifiers{ + "ini", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(884), + Column: int(33), + }, + End: ast.Location{ + Line: int(884), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9338, + FreeVars: ast.Identifiers{ + "ini", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(884), + Column: int(16), + }, + End: ast.Location{ + Line: int(884), + Column: int(46), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -117762,639 +121431,81 @@ var _StdAst = &ast.DesugaredObject{ "section_lines", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(882), + Column: int(26), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(885), + Column: int(6), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - "section_lines", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - "k", - "section_lines", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(7), - }, - End: ast.Location{ - Line: int(871), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9063, - FreeVars: ast.Identifiers{ - "ini", - "k", - "section_lines", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(7), - }, - End: ast.Location{ - Line: int(871), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p9063, - FreeVars: ast.Identifiers{ - "section_lines", - }, - }, - Id: "section_lines", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(21), - }, - End: ast.Location{ - Line: int(871), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9070, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(24), - }, - End: ast.Location{ - Line: int(871), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9070, - FreeVars: ast.Identifiers{ - "ini", - "k", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(24), - }, - End: ast.Location{ - Line: int(871), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9070, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(24), - }, - End: ast.Location{ - Line: int(871), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Id: "ini", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "sections", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(37), - }, - End: ast.Location{ - Line: int(871), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9070, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(16), - }, - End: ast.Location{ - Line: int(872), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9082, - FreeVars: ast.Identifiers{ - "ini", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(16), - }, - End: ast.Location{ - Line: int(872), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9082, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(16), - }, - End: ast.Location{ - Line: int(872), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(33), - }, - End: ast.Location{ - Line: int(872), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9091, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(33), - }, - End: ast.Location{ - Line: int(872), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Id: "ini", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "sections", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "all_sections", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(870), + Line: int(882), Column: int(11), }, End: ast.Location{ - Line: int(873), + Line: int(885), Column: int(6), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(5), - }, - End: ast.Location{ - Line: int(874), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8854, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(5), - }, - End: ast.Location{ - Line: int(874), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p8854, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(5), - }, - End: ast.Location{ - Line: int(874), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(5), + }, + End: ast.Location{ + Line: int(886), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -118404,185 +121515,148 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9355, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(5), + }, + End: ast.Location{ + Line: int(886), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9359, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(874), + Line: int(886), Column: int(14), }, End: ast.Location{ - Line: int(874), + Line: int(886), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9106, - FreeVars: ast.Identifiers{}, }, - Value: "\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(20), - }, - End: ast.Location{ - Line: int(874), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9106, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(20), - }, - End: ast.Location{ - Line: int(874), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9106, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(20), - }, - End: ast.Location{ - Line: int(874), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9106, - FreeVars: ast.Identifiers{ - "main_body", - }, - }, - Id: "main_body", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(32), - }, - End: ast.Location{ - Line: int(874), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9106, - FreeVars: ast.Identifiers{ - "all_sections", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(32), - }, - End: ast.Location{ - Line: int(874), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9106, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9364, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(874), - Column: int(32), + Line: int(886), + Column: int(67), }, End: ast.Location{ - Line: int(874), - Column: int(35), + Line: int(886), + Column: int(69), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9359, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(66), + }, + End: ast.Location{ + Line: int(886), + Column: int(70), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(32), + }, + End: ast.Location{ + Line: int(886), + Column: int(35), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flattenArrays", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -118592,272 +121666,368 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "flattenArrays", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9359, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(32), + }, + End: ast.Location{ + Line: int(886), + Column: int(49), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "all_sections", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(50), - }, - End: ast.Location{ - Line: int(874), - Column: int(62), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9122, + Ctx: p9374, FreeVars: ast.Identifiers{ "all_sections", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(50), + }, + End: ast.Location{ + Line: int(886), + Column: int(62), + }, + }, }, - Id: "all_sections", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9359, + FreeVars: ast.Identifiers{ + "all_sections", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(32), + }, + End: ast.Location{ + Line: int(886), + Column: int(63), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ + Left: &ast.Var{ + Id: "main_body", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9359, + FreeVars: ast.Identifiers{ + "main_body", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(20), + }, + End: ast.Location{ + Line: int(886), + Column: int(29), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9359, + FreeVars: ast.Identifiers{ + "all_sections", + "main_body", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(874), - Column: int(66), + Line: int(886), + Column: int(20), }, End: ast.Location{ - Line: int(874), - Column: int(70), + Line: int(886), + Column: int(63), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9106, - FreeVars: ast.Identifiers{}, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(67), - }, - End: ast.Location{ - Line: int(874), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9127, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, }, }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9359, + FreeVars: ast.Identifiers{ + "all_sections", + "main_body", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(20), + }, + End: ast.Location{ + Line: int(886), + Column: int(70), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9355, + FreeVars: ast.Identifiers{ + "all_sections", + "main_body", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(886), + Column: int(5), + }, + End: ast.Location{ + Line: int(886), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p9355, + FreeVars: ast.Identifiers{ + "$std", + "body_lines", + "ini", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(5), + }, + End: ast.Location{ + Line: int(886), + Column: int(71), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p9355, + FreeVars: ast.Identifiers{ + "$std", + "ini", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(869), + Column: int(5), + }, + End: ast.Location{ + Line: int(886), + Column: int(71), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(3), - }, - End: ast.Location{ - Line: int(874), - Column: int(71), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestToml", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "value", + Name: "ini", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(876), - Column: int(16), + Line: int(868), + Column: int(15), }, End: ast.Location{ - Line: int(876), - Column: int(21), + Line: int(868), + Column: int(18), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(876), - Column: int(25), - }, - End: ast.Location{ - Line: int(876), - Column: int(56), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(868), + Column: int(3), + }, + End: ast.Location{ + Line: int(886), + Column: int(71), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestToml", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p9133, - FreeVars: ast.Identifiers{ - "std", - "value", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(876), - Column: int(25), - }, - End: ast.Location{ - Line: int(876), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9133, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(876), - Column: int(25), - }, - End: ast.Location{ - Line: int(876), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(25), + }, + End: ast.Location{ + Line: int(888), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "manifestTomlEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -118867,274 +122037,243 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "manifestTomlEx", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9395, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(25), + }, + End: ast.Location{ + Line: int(888), + Column: int(43), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(876), - Column: int(44), - }, - End: ast.Location{ - Line: int(876), - Column: int(49), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9142, + Ctx: p9399, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(44), + }, + End: ast.Location{ + Line: int(888), + Column: int(49), + }, + }, }, - Id: "value", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9399, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(876), + Line: int(888), Column: int(51), }, End: ast.Location{ - Line: int(876), + Line: int(888), Column: int(55), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9142, - FreeVars: ast.Identifiers{}, }, - Value: " ", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(876), - Column: int(3), - }, - End: ast.Location{ - Line: int(876), - Column: int(56), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9395, + FreeVars: ast.Identifiers{ + "std", + "value", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(25), + }, + End: ast.Location{ + Line: int(888), + Column: int(56), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + TrailingComma: false, + TailStrict: false, }, - Value: "manifestTomlEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "value", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(878), - Column: int(18), + Line: int(888), + Column: int(16), }, End: ast.Location{ - Line: int(878), - Column: int(23), + Line: int(888), + Column: int(21), }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(878), - Column: int(25), - }, - End: ast.Location{ - Line: int(878), - Column: int(31), - }, - File: p1, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(5), - }, - End: ast.Location{ - Line: int(955), - Column: int(66), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(3), + }, + End: ast.Location{ + Line: int(888), + Column: int(56), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestTomlEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "$std", - "indent", - "std", - "value", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Variable: "escapeStringToml", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(26), - }, - End: ast.Location{ - Line: int(880), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9156, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(26), - }, - End: ast.Location{ - Line: int(880), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(892), + Column: int(26), + }, + End: ast.Location{ + Line: int(892), + Column: int(29), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -119144,184 +122283,93 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "escapeStringJson", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9414, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(892), + Column: int(26), + }, + End: ast.Location{ + Line: int(892), + Column: int(46), + }, + }, + }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "escapeStringToml", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(880), + Line: int(892), Column: int(7), }, End: ast.Location{ - Line: int(880), + Line: int(892), Column: int(46), }, - File: p1, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "escapeKeyToml", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(7), - }, - End: ast.Location{ - Line: int(883), - Column: int(121), - }, - File: p1, - }, - Fodder: nil, - Ctx: p9162, - FreeVars: ast.Identifiers{ - "escapeStringToml", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(21), - }, - End: ast.Location{ - Line: int(881), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(9), - }, - End: ast.Location{ - Line: int(883), - Column: int(121), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p9167, - FreeVars: ast.Identifiers{ - "escapeStringToml", - "key", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "bare_allowed", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(30), - }, - End: ast.Location{ - Line: int(882), - Column: int(122), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9171, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(30), - }, - End: ast.Location{ - Line: int(882), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9171, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(30), - }, - End: ast.Location{ - Line: int(882), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(30), + }, + End: ast.Location{ + Line: int(894), + Column: int(33), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -119331,90 +122379,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9424, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(30), + }, + End: ast.Location{ + Line: int(894), + Column: int(37), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(38), - }, - End: ast.Location{ - Line: int(882), - Column: int(121), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9180, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(38), - }, - End: ast.Location{ - Line: int(882), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9180, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(38), - }, - End: ast.Location{ - Line: int(882), - Column: int(41), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(38), + }, + End: ast.Location{ + Line: int(894), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -119424,203 +122453,194 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9432, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(38), + }, + End: ast.Location{ + Line: int(894), + Column: int(53), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9436, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(882), + Line: int(894), Column: int(54), }, End: ast.Location{ - Line: int(882), + Line: int(894), Column: int(120), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9189, - FreeVars: ast.Identifiers{}, }, - Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9432, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(38), + }, + End: ast.Location{ + Line: int(894), + Column: int(121), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9424, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(30), + }, + End: ast.Location{ + Line: int(894), + Column: int(122), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "bare_allowed", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(882), + Line: int(894), Column: int(15), }, End: ast.Location{ - Line: int(882), + Line: int(894), Column: int(122), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(9), - }, - End: ast.Location{ - Line: int(883), - Column: int(121), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p9167, - FreeVars: ast.Identifiers{ - "bare_allowed", - "escapeStringToml", - "key", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(12), + Right: &ast.Var{ + Id: "bare_allowed", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9442, + FreeVars: ast.Identifiers{ + "bare_allowed", }, - End: ast.Location{ - Line: int(883), - Column: int(85), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(73), + }, + End: ast.Location{ + Line: int(895), + Column: int(85), + }, }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9167, - FreeVars: ast.Identifiers{ - "bare_allowed", - "key", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(12), - }, - End: ast.Location{ - Line: int(883), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9167, - FreeVars: ast.Identifiers{ - "bare_allowed", - "key", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(12), - }, - End: ast.Location{ - Line: int(883), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9167, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(12), - }, - End: ast.Location{ - Line: int(883), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(12), + }, + End: ast.Location{ + Line: int(895), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "setUnion", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -119630,91 +122650,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "setUnion", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9442, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(12), + }, + End: ast.Location{ + Line: int(895), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(25), - }, - End: ast.Location{ - Line: int(883), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9204, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(25), - }, - End: ast.Location{ - Line: int(883), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9204, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(25), - }, - End: ast.Location{ - Line: int(883), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(25), + }, + End: ast.Location{ + Line: int(895), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -119724,91 +122724,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9456, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(25), + }, + End: ast.Location{ + Line: int(895), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(33), - }, - End: ast.Location{ - Line: int(883), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9213, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(33), - }, - End: ast.Location{ - Line: int(883), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9213, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(33), - }, - End: ast.Location{ - Line: int(883), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(33), + }, + End: ast.Location{ + Line: int(895), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -119818,235 +122798,410 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9464, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(33), + }, + End: ast.Location{ + Line: int(895), + Column: int(48), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "key", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(49), - }, - End: ast.Location{ - Line: int(883), - Column: int(52), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9222, + Ctx: p9468, FreeVars: ast.Identifiers{ "key", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(49), + }, + End: ast.Location{ + Line: int(895), + Column: int(52), + }, + }, }, - Id: "key", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9464, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(33), + }, + End: ast.Location{ + Line: int(895), + Column: int(53), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9456, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(25), + }, + End: ast.Location{ + Line: int(895), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "bare_allowed", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(56), - }, - End: ast.Location{ - Line: int(883), - Column: int(68), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9204, + Ctx: p9456, FreeVars: ast.Identifiers{ "bare_allowed", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(56), + }, + End: ast.Location{ + Line: int(895), + Column: int(68), + }, + }, }, - Id: "bare_allowed", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(73), - }, - End: ast.Location{ - Line: int(883), - Column: int(85), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9167, + Ctx: p9442, FreeVars: ast.Identifiers{ "bare_allowed", + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(12), + }, + End: ast.Location{ + Line: int(895), + Column: int(69), + }, }, }, - Id: "bare_allowed", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9442, + FreeVars: ast.Identifiers{ + "bare_allowed", + "key", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(883), + Line: int(895), + Column: int(12), + }, + End: ast.Location{ + Line: int(895), + Column: int(85), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9442, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), Column: int(91), }, End: ast.Location{ - Line: int(883), + Line: int(895), Column: int(94), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9167, - FreeVars: ast.Identifiers{ - "key", }, }, - Id: "key", }, - ElseFodder: ast.Fodder{}, BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(100), - }, - End: ast.Location{ - Line: int(883), - Column: int(121), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9167, - FreeVars: ast.Identifiers{ - "escapeStringToml", - "key", - }, - }, Target: &ast.Var{ + Id: "escapeStringToml", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(100), - }, - End: ast.Location{ - Line: int(883), - Column: int(116), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9167, + Ctx: p9442, FreeVars: ast.Identifiers{ "escapeStringToml", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(100), + }, + End: ast.Location{ + Line: int(895), + Column: int(116), + }, + }, }, - Id: "escapeStringToml", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "key", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(117), - }, - End: ast.Location{ - Line: int(883), - Column: int(120), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9236, + Ctx: p9483, FreeVars: ast.Identifiers{ "key", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(117), + }, + End: ast.Location{ + Line: int(895), + Column: int(120), + }, + }, }, - Id: "key", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9442, + FreeVars: ast.Identifiers{ + "escapeStringToml", + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(100), + }, + End: ast.Location{ + Line: int(895), + Column: int(121), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p9442, + FreeVars: ast.Identifiers{ + "bare_allowed", + "escapeStringToml", + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(9), + }, + End: ast.Location{ + Line: int(895), + Column: int(121), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p9442, + FreeVars: ast.Identifiers{ + "escapeStringToml", + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(9), + }, + End: ast.Location{ + Line: int(895), + Column: int(121), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "key", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(893), + Column: int(21), + }, + End: ast.Location{ + Line: int(893), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p9491, + FreeVars: ast.Identifiers{ + "escapeStringToml", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(893), + Column: int(7), + }, + End: ast.Location{ + Line: int(895), + Column: int(121), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "escapeKeyToml", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -120056,315 +123211,372 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "isTableArray", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(7), - }, - End: ast.Location{ - Line: int(884), - Column: int(119), - }, - File: p1, - }, - Fodder: nil, - Ctx: p9239, - FreeVars: ast.Identifiers{ - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(20), - }, - End: ast.Location{ - Line: int(884), - Column: int(21), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(25), + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(64), + }, + End: ast.Location{ + Line: int(896), + Column: int(67), + }, + }, + }, }, - End: ast.Location{ - Line: int(884), - Column: int(119), + Index: &ast.LiteralString{ + Value: "all", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(64), + }, + End: ast.Location{ + Line: int(896), + Column: int(71), + }, + }, }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{ - "std", - "v", + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(72), + }, + End: ast.Location{ + Line: int(896), + Column: int(75), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9508, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(72), + }, + End: ast.Location{ + Line: int(896), + Column: int(79), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(80), + }, + End: ast.Location{ + Line: int(896), + Column: int(83), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9515, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(80), + }, + End: ast.Location{ + Line: int(896), + Column: int(92), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9515, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(94), + }, + End: ast.Location{ + Line: int(896), + Column: int(95), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9508, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(72), + }, + End: ast.Location{ + Line: int(896), + Column: int(96), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - }, - Left: &ast.Binary{ + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(25), - }, - End: ast.Location{ - Line: int(884), - Column: int(60), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9243, + Ctx: p9500, FreeVars: ast.Identifiers{ "std", "v", }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(25), - }, - End: ast.Location{ - Line: int(884), - Column: int(39), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(64), }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(896), + Column: int(97), }, }, - Target: &ast.Index{ + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(884), - Column: int(25), + Line: int(896), + Column: int(59), }, End: ast.Location{ - Line: int(884), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(25), - }, - End: ast.Location{ - Line: int(884), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Line: int(896), + Column: int(60), }, }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(37), - }, - End: ast.Location{ - Line: int(884), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9256, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(43), - }, - End: ast.Location{ - Line: int(884), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(43), - }, - End: ast.Location{ - Line: int(884), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(43), - }, - End: ast.Location{ - Line: int(884), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(43), - }, - End: ast.Location{ - Line: int(884), - Column: int(46), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(43), + }, + End: ast.Location{ + Line: int(896), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -120374,476 +123586,332 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(43), + }, + End: ast.Location{ + Line: int(896), + Column: int(53), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(54), - }, - End: ast.Location{ - Line: int(884), - Column: int(55), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9269, + Ctx: p9532, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(54), + }, + End: ast.Location{ + Line: int(896), + Column: int(55), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(884), - Column: int(59), + Line: int(896), + Column: int(43), }, End: ast.Location{ - Line: int(884), - Column: int(60), + Line: int(896), + Column: int(56), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(43), + }, + End: ast.Location{ + Line: int(896), + Column: int(60), + }, + }, + }, + Op: ast.BinaryOp(7), }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(64), + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(25), + }, + End: ast.Location{ + Line: int(896), + Column: int(28), + }, + }, + }, }, - End: ast.Location{ - Line: int(884), - Column: int(119), + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(25), + }, + End: ast.Location{ + Line: int(896), + Column: int(36), + }, + }, }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9544, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(37), + }, + End: ast.Location{ + Line: int(896), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(25), + }, + End: ast.Location{ + Line: int(896), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p9243, + Ctx: p9500, FreeVars: ast.Identifiers{ "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(25), + }, + End: ast.Location{ + Line: int(896), + Column: int(60), + }, + }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(64), - }, - End: ast.Location{ - Line: int(884), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9243, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(64), - }, - End: ast.Location{ - Line: int(884), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "foldl", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + Op: ast.BinaryOp(17), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9500, + FreeVars: ast.Identifiers{ + "std", + "v", }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(74), - }, - End: ast.Location{ - Line: int(884), - Column: int(109), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9281, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(83), - }, - End: ast.Location{ - Line: int(884), - Column: int(84), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(86), - }, - End: ast.Location{ - Line: int(884), - Column: int(87), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(89), - }, - End: ast.Location{ - Line: int(884), - Column: int(109), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9285, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(89), - }, - End: ast.Location{ - Line: int(884), - Column: int(90), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9285, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(94), - }, - End: ast.Location{ - Line: int(884), - Column: int(109), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9285, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(94), - }, - End: ast.Location{ - Line: int(884), - Column: int(106), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9285, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(94), - }, - End: ast.Location{ - Line: int(884), - Column: int(97), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(107), - }, - End: ast.Location{ - Line: int(884), - Column: int(108), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9298, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(111), - }, - End: ast.Location{ - Line: int(884), - Column: int(112), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9281, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(114), - }, - End: ast.Location{ - Line: int(884), - Column: int(118), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9281, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: nil, - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(25), + }, + End: ast.Location{ + Line: int(896), + Column: int(97), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(20), + }, + End: ast.Location{ + Line: int(896), + Column: int(21), }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p9550, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(896), + Column: int(7), + }, + End: ast.Location{ + Line: int(896), + Column: int(97), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "isTableArray", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -120853,292 +123921,292 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "isSection", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(7), - }, - End: ast.Location{ - Line: int(885), - Column: int(56), - }, - File: p1, - }, - Fodder: nil, - Ctx: p9304, - FreeVars: ast.Identifiers{ - "isTableArray", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(17), - }, - End: ast.Location{ - Line: int(885), - Column: int(18), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(22), + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "isTableArray", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9556, + FreeVars: ast.Identifiers{ + "isTableArray", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(41), + }, + End: ast.Location{ + Line: int(897), + Column: int(53), + }, + }, }, - End: ast.Location{ - Line: int(885), - Column: int(56), - }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9560, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(54), + }, + End: ast.Location{ + Line: int(897), + Column: int(55), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9556, + FreeVars: ast.Identifiers{ + "isTableArray", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(41), + }, + End: ast.Location{ + Line: int(897), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(22), + }, + End: ast.Location{ + Line: int(897), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9556, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(22), + }, + End: ast.Location{ + Line: int(897), + Column: int(34), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9571, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(35), + }, + End: ast.Location{ + Line: int(897), + Column: int(36), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9556, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(22), + }, + End: ast.Location{ + Line: int(897), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p9308, + Ctx: p9556, FreeVars: ast.Identifiers{ "isTableArray", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(22), + }, + End: ast.Location{ + Line: int(897), + Column: int(56), + }, + }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(22), - }, - End: ast.Location{ - Line: int(885), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9308, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(22), - }, - End: ast.Location{ - Line: int(885), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9308, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(22), - }, - End: ast.Location{ - Line: int(885), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(35), - }, - End: ast.Location{ - Line: int(885), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9319, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(18), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(41), - }, - End: ast.Location{ - Line: int(885), - Column: int(56), - }, - File: p1, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p9308, - FreeVars: ast.Identifiers{ - "isTableArray", - "v", + End: ast.Location{ + Line: int(897), + Column: int(18), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(41), - }, - End: ast.Location{ - Line: int(885), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9308, - FreeVars: ast.Identifiers{ - "isTableArray", - }, - }, - Id: "isTableArray", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(54), - }, - End: ast.Location{ - Line: int(885), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9327, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p9576, + FreeVars: ast.Identifiers{ + "isTableArray", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(7), + }, + End: ast.Location{ + Line: int(897), + Column: int(56), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "isSection", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -121148,686 +124216,401 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "renderValue", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(7), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: nil, - Ctx: p9330, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "escapeStringToml", - "indent", - "renderValue", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(19), - }, - End: ast.Location{ - Line: int(886), - Column: int(20), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(22), - }, - End: ast.Location{ - Line: int(886), - Column: int(33), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "inline", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(35), - }, - End: ast.Location{ - Line: int(886), - Column: int(41), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(43), - }, - End: ast.Location{ - Line: int(886), - Column: int(50), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(887), - Column: int(9), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(887), - Column: int(12), - }, - End: ast.Location{ - Line: int(887), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(887), - Column: int(12), - }, - End: ast.Location{ - Line: int(887), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(887), + Line: int(899), Column: int(17), }, End: ast.Location{ - Line: int(887), + Line: int(899), Column: int(21), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{}, }, Value: true, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(899), + Column: int(12), + }, + End: ast.Location{ + Line: int(899), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(888), - Column: int(11), + Line: int(899), + Column: int(12), }, End: ast.Location{ - Line: int(888), - Column: int(17), + Line: int(899), + Column: int(21), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "true", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p9335, + Ctx: p9582, FreeVars: ast.Identifiers{}, - }, - Value: "true", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(889), - Column: int(14), + Line: int(900), + Column: int(11), }, End: ast.Location{ - Line: int(922), - Column: int(30), + Line: int(900), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(889), - Column: int(17), - }, - End: ast.Location{ - Line: int(889), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(889), - Column: int(17), - }, - End: ast.Location{ - Line: int(889), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(889), + Line: int(901), Column: int(22), }, End: ast.Location{ - Line: int(889), + Line: int(901), Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{}, }, Value: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(11), - }, - End: ast.Location{ - Line: int(890), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{}, - }, - Value: "false", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(891), - Column: int(14), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - }, - Cond: &ast.Binary{ + Left: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(891), + Line: int(901), Column: int(17), }, End: ast.Location{ - Line: int(891), - Column: int(26), + Line: int(901), + Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "v", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(891), - Column: int(17), - }, - End: ast.Location{ - Line: int(891), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(901), + Column: int(17), + }, + End: ast.Location{ + Line: int(901), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "false", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(902), + Column: int(11), + }, + End: ast.Location{ + Line: int(902), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(891), + Line: int(903), Column: int(22), }, End: ast.Location{ - Line: int(891), + Line: int(903), Column: int(26), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{}, }, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(892), - Column: int(11), - }, - End: ast.Location{ - Line: int(892), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Expr: &ast.Binary{ + Left: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(892), + Line: int(903), Column: int(17), }, End: ast.Location{ - Line: int(892), - Column: int(61), + Line: int(903), + Column: int(18), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "indexedPath", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(892), - Column: int(17), - }, - End: ast.Location{ - Line: int(892), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{}, - }, - Value: "Tried to manifest \"null\" at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(903), + Column: int(17), + }, + End: ast.Location{ + Line: int(903), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Var{ + Id: "indexedPath", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(892), - Column: int(50), - }, - End: ast.Location{ - Line: int(892), - Column: int(61), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9335, + Ctx: p9582, FreeVars: ast.Identifiers{ "indexedPath", }, - }, - Id: "indexedPath", - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(893), - Column: int(14), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(893), - Column: int(17), - }, - End: ast.Location{ - Line: int(893), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(893), + Line: int(904), + Column: int(50), + }, + End: ast.Location{ + Line: int(904), + Column: int(61), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Tried to manifest \"null\" at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(904), Column: int(17), }, End: ast.Location{ - Line: int(893), - Column: int(29), + Line: int(904), + Column: int(47), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(904), + Column: int(17), + }, + End: ast.Location{ + Line: int(904), + Column: int(61), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(904), + Column: int(11), + }, + End: ast.Location{ + Line: int(904), + Column: int(61), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(893), - Column: int(17), - }, - End: ast.Location{ - Line: int(893), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(905), + Column: int(17), + }, + End: ast.Location{ + Line: int(905), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -121837,236 +124620,199 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(905), + Column: int(17), + }, + End: ast.Location{ + Line: int(905), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(893), - Column: int(30), - }, - End: ast.Location{ - Line: int(893), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9382, + Ctx: p9619, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(905), + Column: int(30), + }, + End: ast.Location{ + Line: int(905), + Column: int(31), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(11), - }, - End: ast.Location{ - Line: int(894), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9335, + Ctx: p9582, FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(11), - }, - End: ast.Location{ - Line: int(894), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(16), - }, - End: ast.Location{ - Line: int(894), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(14), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(17), - }, - End: ast.Location{ - Line: int(895), - Column: int(32), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(905), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(905), + Column: int(32), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(17), - }, - End: ast.Location{ - Line: int(895), - Column: int(29), - }, - File: p1, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Binary{ + Right: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(906), + Column: int(16), }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(906), + Column: int(17), }, }, + }, + }, + Left: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(906), + Column: int(11), + }, + End: ast.Location{ + Line: int(906), + Column: int(13), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(906), + Column: int(11), + }, + End: ast.Location{ + Line: int(906), + Column: int(17), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(17), - }, - End: ast.Location{ - Line: int(895), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(907), + Column: int(17), + }, + End: ast.Location{ + Line: int(907), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -122076,246 +124822,210 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(907), + Column: int(17), + }, + End: ast.Location{ + Line: int(907), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(30), - }, - End: ast.Location{ - Line: int(895), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9402, + Ctx: p9637, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(907), + Column: int(30), + }, + End: ast.Location{ + Line: int(907), + Column: int(31), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(896), - Column: int(11), + Line: int(907), + Column: int(17), }, End: ast.Location{ - Line: int(896), - Column: int(30), + Line: int(907), + Column: int(32), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "escapeStringToml", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "escapeStringToml", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(908), + Column: int(11), + }, + End: ast.Location{ + Line: int(908), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9646, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(908), + Column: int(28), + }, + End: ast.Location{ + Line: int(908), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p9335, + Ctx: p9582, FreeVars: ast.Identifiers{ "escapeStringToml", "v", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(11), - }, - End: ast.Location{ - Line: int(896), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(908), + Column: int(11), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "escapeStringToml", + End: ast.Location{ + Line: int(908), + Column: int(30), }, }, - Id: "escapeStringToml", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(28), - }, - End: ast.Location{ - Line: int(896), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9411, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, }, BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(14), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(17), - }, - End: ast.Location{ - Line: int(897), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(17), - }, - End: ast.Location{ - Line: int(897), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(17), - }, - End: ast.Location{ - Line: int(897), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(909), + Column: int(17), + }, + End: ast.Location{ + Line: int(909), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -122325,256 +125035,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(909), + Column: int(17), + }, + End: ast.Location{ + Line: int(909), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(32), - }, - End: ast.Location{ - Line: int(897), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9425, + Ctx: p9658, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(909), + Column: int(32), + }, + End: ast.Location{ + Line: int(909), + Column: int(33), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(11), - }, - End: ast.Location{ - Line: int(898), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(17), - }, - End: ast.Location{ - Line: int(898), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(17), - }, - End: ast.Location{ - Line: int(898), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{}, - }, - Value: "Tried to manifest function at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(52), - }, - End: ast.Location{ - Line: int(898), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Id: "indexedPath", - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(14), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9335, + Ctx: p9582, FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "inline", - "renderValue", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(17), - }, - End: ast.Location{ - Line: int(899), - Column: int(31), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(909), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(909), + Column: int(34), }, }, - Target: &ast.Index{ + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "indexedPath", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "indexedPath", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(899), + Line: int(910), + Column: int(52), + }, + End: ast.Location{ + Line: int(910), + Column: int(63), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Tried to manifest function at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(910), Column: int(17), }, End: ast.Location{ - Line: int(899), - Column: int(28), + Line: int(910), + Column: int(49), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(910), + Column: int(17), + }, + End: ast.Location{ + Line: int(910), + Column: int(63), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(910), + Column: int(11), + }, + End: ast.Location{ + Line: int(910), + Column: int(63), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(17), - }, - End: ast.Location{ - Line: int(899), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(911), + Column: int(17), + }, + End: ast.Location{ + Line: int(911), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -122584,179 +125258,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(911), + Column: int(17), + }, + End: ast.Location{ + Line: int(911), + Column: int(28), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(29), - }, - End: ast.Location{ - Line: int(899), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9447, + Ctx: p9678, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(911), + Column: int(29), + }, + End: ast.Location{ + Line: int(911), + Column: int(30), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(11), - }, - End: ast.Location{ - Line: int(913), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9335, + Fodder: ast.Fodder{}, + Ctx: p9582, FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indent", - "indexedPath", - "inline", - "renderValue", "std", "v", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(14), - }, - End: ast.Location{ - Line: int(900), - Column: int(32), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(911), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(911), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(912), + Column: int(31), + }, + End: ast.Location{ + Line: int(912), + Column: int(32), + }, + }, }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(14), - }, - End: ast.Location{ - Line: int(900), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(14), - }, - End: ast.Location{ - Line: int(900), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(14), - }, - End: ast.Location{ - Line: int(900), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(912), + Column: int(14), + }, + End: ast.Location{ + Line: int(912), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -122766,224 +125406,180 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(912), + Column: int(14), + }, + End: ast.Location{ + Line: int(912), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(25), - }, - End: ast.Location{ - Line: int(900), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9463, + Ctx: p9692, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(912), + Column: int(25), + }, + End: ast.Location{ + Line: int(912), + Column: int(26), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(900), - Column: int(31), + Line: int(912), + Column: int(14), }, End: ast.Location{ - Line: int(900), - Column: int(32), + Line: int(912), + Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(901), - Column: int(13), + Line: int(912), + Column: int(14), }, End: ast.Location{ - Line: int(901), - Column: int(17), + Line: int(912), + Column: int(32), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "[]", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(12), - Comment: []string{}, }, }, - Ctx: p9335, + Ctx: p9582, FreeVars: ast.Identifiers{}, - }, - Value: "[]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(903), + Line: int(913), Column: int(13), }, End: ast.Location{ Line: int(913), - Column: int(32), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "range", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(27), - }, - End: ast.Location{ - Line: int(903), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9474, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(27), - }, - End: ast.Location{ - Line: int(903), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9474, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(27), - }, - End: ast.Location{ - Line: int(903), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(27), + }, + End: ast.Location{ + Line: int(915), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -122993,135 +125589,115 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "range", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9705, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(27), + }, + End: ast.Location{ + Line: int(915), + Column: int(36), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(903), + Line: int(915), Column: int(37), }, End: ast.Location{ - Line: int(903), + Line: int(915), Column: int(38), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9483, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(40), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(56), + }, + End: ast.Location{ + Line: int(915), + Column: int(57), + }, }, - End: ast.Location{ - Line: int(903), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9483, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(40), - }, - End: ast.Location{ - Line: int(903), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9483, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(40), - }, - End: ast.Location{ - Line: int(903), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9483, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(40), - }, - End: ast.Location{ - Line: int(903), - Column: int(43), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(40), + }, + End: ast.Location{ + Line: int(915), + Column: int(43), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -123131,503 +125707,1584 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(40), + }, + End: ast.Location{ + Line: int(915), + Column: int(50), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(51), - }, - End: ast.Location{ - Line: int(903), - Column: int(52), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9495, + Ctx: p9720, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(51), + }, + End: ast.Location{ + Line: int(915), + Column: int(52), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(903), - Column: int(56), + Line: int(915), + Column: int(40), }, End: ast.Location{ - Line: int(903), - Column: int(57), + Line: int(915), + Column: int(53), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9483, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(40), + }, + End: ast.Location{ + Line: int(915), + Column: int(57), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9705, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(27), + }, + End: ast.Location{ + Line: int(915), + Column: int(58), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "range", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(903), + Line: int(915), Column: int(19), }, End: ast.Location{ - Line: int(903), + Line: int(915), Column: int(58), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(13), - }, - End: ast.Location{ - Line: int(913), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indent", - "indexedPath", - "inline", - "range", - "renderValue", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "new_indent", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(32), + Cond: &ast.Var{ + Id: "inline", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9729, + FreeVars: ast.Identifiers{ + "inline", }, - End: ast.Location{ - Line: int(904), - Column: int(71), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(916), + Column: int(35), + }, + End: ast.Location{ + Line: int(916), + Column: int(41), + }, }, - File: p1, }, + }, + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9729, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(916), + Column: int(47), + }, + End: ast.Location{ + Line: int(916), + Column: int(49), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Binary{ + Right: &ast.Var{ + Id: "indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9729, + FreeVars: ast.Identifiers{ + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(916), + Column: int(65), + }, + End: ast.Location{ + Line: int(916), + Column: int(71), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9729, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(916), + Column: int(55), + }, + End: ast.Location{ + Line: int(916), + Column: int(62), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9729, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(916), + Column: int(55), + }, + End: ast.Location{ + Line: int(916), + Column: int(71), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p9503, + Ctx: p9729, FreeVars: ast.Identifiers{ "cindent", "indent", "inline", }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(35), - }, - End: ast.Location{ - Line: int(904), - Column: int(41), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(916), + Column: int(32), }, - Fodder: ast.Fodder{}, - Ctx: p9503, - FreeVars: ast.Identifiers{ - "inline", + End: ast.Location{ + Line: int(916), + Column: int(71), }, }, - Id: "inline", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(47), - }, - End: ast.Location{ - Line: int(904), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9503, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(55), - }, - End: ast.Location{ - Line: int(904), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9503, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(55), - }, - End: ast.Location{ - Line: int(904), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9503, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(65), - }, - End: ast.Location{ - Line: int(904), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9503, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "new_indent", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(904), + Line: int(916), Column: int(19), }, End: ast.Location{ - Line: int(904), + Line: int(916), Column: int(71), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(13), - }, - End: ast.Location{ - Line: int(913), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "inline", - "new_indent", - "range", - "renderValue", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "separator", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(31), - }, - End: ast.Location{ - Line: int(905), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9519, - FreeVars: ast.Identifiers{ - "inline", - }, - }, Cond: &ast.Var{ + Id: "inline", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(34), - }, - End: ast.Location{ - Line: int(905), - Column: int(40), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9519, + Ctx: p9743, FreeVars: ast.Identifiers{ "inline", }, - }, - Id: "inline", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(905), + Line: int(917), + Column: int(34), + }, + End: ast.Location{ + Line: int(917), + Column: int(40), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9743, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(917), Column: int(46), }, End: ast.Location{ - Line: int(905), + Line: int(917), Column: int(49), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9519, - FreeVars: ast.Identifiers{}, }, - Value: " ", Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "\n", BlockIndent: "", BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9743, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(905), + Line: int(917), Column: int(55), }, End: ast.Location{ - Line: int(905), + Line: int(917), Column: int(59), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9519, - FreeVars: ast.Identifiers{}, }, - Value: "\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9743, + FreeVars: ast.Identifiers{ + "inline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(917), + Column: int(31), + }, + End: ast.Location{ + Line: int(917), + Column: int(59), + }, + }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "separator", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(905), + Line: int(917), Column: int(19), }, End: ast.Location{ - Line: int(905), + Line: int(917), Column: int(59), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(13), - }, - End: ast.Location{ - Line: int(913), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "inline", - "new_indent", - "range", - "renderValue", - "separator", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "lines", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(27), + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "]", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(77), + }, + End: ast.Location{ + Line: int(924), + Column: int(80), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Var{ + Id: "inline", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{ + "inline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(46), + }, + End: ast.Location{ + Line: int(924), + Column: int(52), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(58), + }, + End: ast.Location{ + Line: int(924), + Column: int(60), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(66), + }, + End: ast.Location{ + Line: int(924), + Column: int(73), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{ + "cindent", + "inline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(43), + }, + End: ast.Location{ + Line: int(924), + Column: int(73), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "separator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{ + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(30), + }, + End: ast.Location{ + Line: int(924), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{ + "cindent", + "inline", + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(30), + }, + End: ast.Location{ + Line: int(924), + Column: int(74), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9755, + FreeVars: ast.Identifiers{ + "cindent", + "inline", + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(30), + }, + End: ast.Location{ + Line: int(924), + Column: int(80), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, }, - End: ast.Location{ - Line: int(912), - Column: int(81), - }, - File: p1, }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9768, + FreeVars: ast.Identifiers{ + "cindent", + "inline", + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(924), + Column: int(29), + }, + End: ast.Location{ + Line: int(924), + Column: int(81), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(29), + }, + End: ast.Location{ + Line: int(919), + Column: int(32), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9768, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(29), + }, + End: ast.Location{ + Line: int(919), + Column: int(37), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "separator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9782, + FreeVars: ast.Identifiers{ + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(45), + }, + End: ast.Location{ + Line: int(919), + Column: int(54), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: ",", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9782, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(39), + }, + End: ast.Location{ + Line: int(919), + Column: int(42), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9782, + FreeVars: ast.Identifiers{ + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(39), + }, + End: ast.Location{ + Line: int(919), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9786, + FreeVars: ast.Identifiers{ + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(38), + }, + End: ast.Location{ + Line: int(919), + Column: int(55), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "renderValue", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9803, + FreeVars: ast.Identifiers{ + "renderValue", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(53), + }, + End: ast.Location{ + Line: int(921), + Column: int(64), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(65), + }, + End: ast.Location{ + Line: int(921), + Column: int(66), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(67), + }, + End: ast.Location{ + Line: int(921), + Column: int(68), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(65), + }, + End: ast.Location{ + Line: int(921), + Column: int(69), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9817, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(86), + }, + End: ast.Location{ + Line: int(921), + Column: int(87), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(85), + }, + End: ast.Location{ + Line: int(921), + Column: int(88), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "indexedPath", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(71), + }, + End: ast.Location{ + Line: int(921), + Column: int(82), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{ + "i", + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(71), + }, + End: ast.Location{ + Line: int(921), + Column: int(88), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(90), + }, + End: ast.Location{ + Line: int(921), + Column: int(94), + }, + }, + }, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9808, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(96), + }, + End: ast.Location{ + Line: int(921), + Column: int(98), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9803, + FreeVars: ast.Identifiers{ + "i", + "indexedPath", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(53), + }, + End: ast.Location{ + Line: int(921), + Column: int(99), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "new_indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9803, + FreeVars: ast.Identifiers{ + "new_indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(40), + }, + End: ast.Location{ + Line: int(921), + Column: int(50), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9803, + FreeVars: ast.Identifiers{ + "i", + "indexedPath", + "new_indent", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(40), + }, + End: ast.Location{ + Line: int(921), + Column: int(99), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(38), + }, + }, + Ctx: p9830, + FreeVars: ast.Identifiers{ + "i", + "indexedPath", + "new_indent", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(921), + Column: int(39), + }, + End: ast.Location{ + Line: int(921), + Column: int(100), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "i", + "indexedPath", + "new_indent", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "indexedPath", + "new_indent", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "range", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9786, + FreeVars: ast.Identifiers{ + "range", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(922), + Column: int(48), + }, + End: ast.Location{ + Line: int(922), + Column: int(53), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "indexedPath", + "new_indent", + "range", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(920), + Column: int(37), + }, + End: ast.Location{ + Line: int(923), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9768, + FreeVars: ast.Identifiers{ + "$std", + "indexedPath", + "new_indent", + "range", + "renderValue", + "separator", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(29), + }, + End: ast.Location{ + Line: int(923), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "separator", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9843, + FreeVars: ast.Identifiers{ + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(918), + Column: int(34), + }, + End: ast.Location{ + Line: int(918), + Column: int(43), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "[", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9843, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(918), + Column: int(28), + }, + End: ast.Location{ + Line: int(918), + Column: int(31), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9843, + FreeVars: ast.Identifiers{ + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(918), + Column: int(28), + }, + End: ast.Location{ + Line: int(918), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9768, + FreeVars: ast.Identifiers{ + "separator", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(918), + Column: int(27), + }, + End: ast.Location{ + Line: int(918), + Column: int(44), + }, + }, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(26), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9768, + FreeVars: ast.Identifiers{ + "$std", + "indexedPath", + "new_indent", + "range", + "renderValue", + "separator", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(918), + Column: int(27), + }, + End: ast.Location{ + Line: int(923), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(26), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p9530, + Ctx: p9768, FreeVars: ast.Identifiers{ "$std", "cindent", @@ -123640,1242 +127297,80 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(27), - }, - End: ast.Location{ - Line: int(911), - Column: int(39), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(918), + Column: int(27), }, - Fodder: ast.Fodder{}, - Ctx: p9530, - FreeVars: ast.Identifiers{ - "$std", - "indexedPath", - "new_indent", - "range", - "renderValue", - "separator", - "std", - "v", + End: ast.Location{ + Line: int(924), + Column: int(81), }, }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(27), - }, - End: ast.Location{ - Line: int(906), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9530, - FreeVars: ast.Identifiers{ - "separator", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(28), - }, - End: ast.Location{ - Line: int(906), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9538, - FreeVars: ast.Identifiers{ - "separator", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(28), - }, - End: ast.Location{ - Line: int(906), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9538, - FreeVars: ast.Identifiers{}, - }, - Value: "[", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(34), - }, - End: ast.Location{ - Line: int(906), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9538, - FreeVars: ast.Identifiers{ - "separator", - }, - }, - Id: "separator", - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(26), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(29), - }, - End: ast.Location{ - Line: int(911), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9530, - FreeVars: ast.Identifiers{ - "$std", - "indexedPath", - "new_indent", - "range", - "renderValue", - "separator", - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(29), - }, - End: ast.Location{ - Line: int(907), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9530, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(29), - }, - End: ast.Location{ - Line: int(907), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(38), - }, - End: ast.Location{ - Line: int(907), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9553, - FreeVars: ast.Identifiers{ - "separator", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(39), - }, - End: ast.Location{ - Line: int(907), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9557, - FreeVars: ast.Identifiers{ - "separator", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(39), - }, - End: ast.Location{ - Line: int(907), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9557, - FreeVars: ast.Identifiers{}, - }, - Value: ",", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(45), - }, - End: ast.Location{ - Line: int(907), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9557, - FreeVars: ast.Identifiers{ - "separator", - }, - }, - Id: "separator", - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(37), - }, - End: ast.Location{ - Line: int(911), - Column: int(38), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexedPath", - "new_indent", - "range", - "renderValue", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(39), - }, - End: ast.Location{ - Line: int(909), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(38), - Comment: []string{}, - }, - }, - Ctx: p9578, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(40), - }, - End: ast.Location{ - Line: int(909), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(40), - }, - End: ast.Location{ - Line: int(909), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "new_indent", - }, - }, - Id: "new_indent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(53), - }, - End: ast.Location{ - Line: int(909), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "renderValue", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(53), - }, - End: ast.Location{ - Line: int(909), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "renderValue", - }, - }, - Id: "renderValue", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(65), - }, - End: ast.Location{ - Line: int(909), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(65), - }, - End: ast.Location{ - Line: int(909), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(67), - }, - End: ast.Location{ - Line: int(909), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(71), - }, - End: ast.Location{ - Line: int(909), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(71), - }, - End: ast.Location{ - Line: int(909), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Id: "indexedPath", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(85), - }, - End: ast.Location{ - Line: int(909), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(86), - }, - End: ast.Location{ - Line: int(909), - Column: int(87), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9606, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(90), - }, - End: ast.Location{ - Line: int(909), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(96), - }, - End: ast.Location{ - Line: int(909), - Column: int(98), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9592, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(48), - }, - End: ast.Location{ - Line: int(910), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9553, - FreeVars: ast.Identifiers{ - "range", - }, - }, - Id: "range", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(26), - Comment: []string{}, - }, }, Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(29), - }, - End: ast.Location{ - Line: int(912), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9530, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - "separator", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(30), - }, - End: ast.Location{ - Line: int(912), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - "separator", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(30), - }, - End: ast.Location{ - Line: int(912), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - "separator", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(30), - }, - End: ast.Location{ - Line: int(912), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{ - "separator", - }, - }, - Id: "separator", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(43), - }, - End: ast.Location{ - Line: int(912), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(46), - }, - End: ast.Location{ - Line: int(912), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{ - "inline", - }, - }, - Id: "inline", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(58), - }, - End: ast.Location{ - Line: int(912), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(66), - }, - End: ast.Location{ - Line: int(912), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(77), - }, - End: ast.Location{ - Line: int(912), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9617, - FreeVars: ast.Identifiers{}, - }, - Value: "]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "lines", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(906), + Line: int(918), Column: int(19), }, End: ast.Location{ - Line: int(912), + Line: int(924), Column: int(81), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(913), - Column: int(13), - }, - End: ast.Location{ - Line: int(913), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(913), - Column: int(13), - }, - End: ast.Location{ - Line: int(913), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(913), - Column: int(13), - }, - End: ast.Location{ - Line: int(913), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(12), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(925), + Column: int(13), + }, + End: ast.Location{ + Line: int(925), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -124885,187 +127380,333 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(925), + Column: int(13), + }, + End: ast.Location{ + Line: int(925), + Column: int(21), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9861, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(913), + Line: int(925), Column: int(22), }, End: ast.Location{ - Line: int(913), + Line: int(925), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9641, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "lines", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(913), - Column: int(26), - }, - End: ast.Location{ - Line: int(913), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9641, + Ctx: p9861, FreeVars: ast.Identifiers{ "lines", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(925), + Column: int(26), + }, + End: ast.Location{ + Line: int(925), + Column: int(31), + }, + }, }, - Id: "lines", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "lines", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(925), + Column: int(13), + }, + End: ast.Location{ + Line: int(925), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "indexedPath", + "inline", + "new_indent", + "range", + "renderValue", + "separator", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(918), + Column: int(13), + }, + End: ast.Location{ + Line: int(925), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "indexedPath", + "inline", + "new_indent", + "range", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(917), + Column: int(13), + }, + End: ast.Location{ + Line: int(925), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "indent", + "indexedPath", + "inline", + "range", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(916), + Column: int(13), + }, + End: ast.Location{ + Line: int(925), + Column: int(32), }, }, }, }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(914), - Column: int(14), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, }, - End: ast.Location{ - Line: int(922), - Column: int(30), + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(13), + }, + End: ast.Location{ + Line: int(925), + Column: int(32), + }, }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9335, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9582, FreeVars: ast.Identifiers{ "$std", - "escapeKeyToml", + "cindent", + "indent", "indexedPath", + "inline", "renderValue", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(914), - Column: int(17), - }, - End: ast.Location{ - Line: int(914), - Column: int(32), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(912), + Column: int(11), }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(925), + Column: int(32), }, }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(914), - Column: int(17), - }, - End: ast.Location{ - Line: int(914), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(914), - Column: int(17), - }, - End: ast.Location{ - Line: int(914), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(926), + Column: int(17), + }, + End: ast.Location{ + Line: int(926), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -125075,273 +127716,178 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(926), + Column: int(17), + }, + End: ast.Location{ + Line: int(926), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(914), - Column: int(30), - }, - End: ast.Location{ - Line: int(914), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9656, + Ctx: p9885, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(926), + Column: int(30), + }, + End: ast.Location{ + Line: int(926), + Column: int(31), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(11), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9335, + Fodder: ast.Fodder{}, + Ctx: p9582, FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(926), + Column: int(17), + }, + End: ast.Location{ + Line: int(926), + Column: int(32), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "lines", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(25), - }, - End: ast.Location{ - Line: int(921), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9663, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(25), - }, - End: ast.Location{ - Line: int(920), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9663, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(25), - }, - End: ast.Location{ - Line: int(915), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9663, - FreeVars: ast.Identifiers{}, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(26), - }, - End: ast.Location{ - Line: int(915), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9670, - FreeVars: ast.Identifiers{}, - }, - Value: "{ ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(24), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(27), - }, - End: ast.Location{ - Line: int(920), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9663, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(27), - }, - End: ast.Location{ - Line: int(916), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9663, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: " }", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9894, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(916), - Column: int(27), + Line: int(933), + Column: int(28), }, End: ast.Location{ - Line: int(916), - Column: int(30), + Line: int(933), + Column: int(32), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9895, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(933), + Column: int(27), + }, + End: ast.Location{ + Line: int(933), + Column: int(33), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(27), + }, + End: ast.Location{ + Line: int(928), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -125351,90 +127897,848 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9895, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(27), + }, + End: ast.Location{ + Line: int(928), + Column: int(35), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(36), - }, - End: ast.Location{ - Line: int(916), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9681, - FreeVars: ast.Identifiers{}, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: ", ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9907, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(916), + Line: int(928), Column: int(37), }, End: ast.Location{ - Line: int(916), + Line: int(928), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9684, - FreeVars: ast.Identifiers{}, }, - Value: ", ", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9908, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(36), + }, + End: ast.Location{ + Line: int(928), + Column: int(42), + }, + }, + }, + TrailingComma: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(35), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(920), - Column: int(36), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "renderValue", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9924, + FreeVars: ast.Identifiers{ + "renderValue", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(65), + }, + End: ast.Location{ + Line: int(930), + Column: int(76), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(77), + }, + End: ast.Location{ + Line: int(930), + Column: int(78), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(79), + }, + End: ast.Location{ + Line: int(930), + Column: int(80), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(77), + }, + End: ast.Location{ + Line: int(930), + Column: int(81), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9938, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(98), + }, + End: ast.Location{ + Line: int(930), + Column: int(99), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(97), + }, + End: ast.Location{ + Line: int(930), + Column: int(100), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "indexedPath", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(83), + }, + End: ast.Location{ + Line: int(930), + Column: int(94), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{ + "indexedPath", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(83), + }, + End: ast.Location{ + Line: int(930), + Column: int(100), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(102), + }, + End: ast.Location{ + Line: int(930), + Column: int(106), + }, + }, + }, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9929, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(108), + }, + End: ast.Location{ + Line: int(930), + Column: int(110), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9924, + FreeVars: ast.Identifiers{ + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(65), + }, + End: ast.Location{ + Line: int(930), + Column: int(111), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " = ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9924, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(57), + }, + End: ast.Location{ + Line: int(930), + Column: int(62), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "escapeKeyToml", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9924, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(38), + }, + End: ast.Location{ + Line: int(930), + Column: int(51), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9954, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(52), + }, + End: ast.Location{ + Line: int(930), + Column: int(53), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9924, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(38), + }, + End: ast.Location{ + Line: int(930), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9924, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(38), + }, + End: ast.Location{ + Line: int(930), + Column: int(62), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9924, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(38), + }, + End: ast.Location{ + Line: int(930), + Column: int(111), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(36), + }, + }, + Ctx: p9960, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(37), + }, + End: ast.Location{ + Line: int(930), + Column: int(112), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "indexedPath", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(931), + Column: int(46), + }, + End: ast.Location{ + Line: int(931), + Column: int(49), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9908, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(931), + Column: int(46), + }, + End: ast.Location{ + Line: int(931), + Column: int(62), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9973, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(931), + Column: int(63), + }, + End: ast.Location{ + Line: int(931), + Column: int(64), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9908, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(931), + Column: int(46), + }, + End: ast.Location{ + Line: int(931), + Column: int(65), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -125445,927 +128749,232 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(929), + Column: int(35), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(932), + Column: int(36), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "renderValue", - "v", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(37), - }, - End: ast.Location{ - Line: int(918), - Column: int(112), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(36), - Comment: []string{}, - }, - }, - Ctx: p9701, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(38), - }, - End: ast.Location{ - Line: int(918), - Column: int(111), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(38), - }, - End: ast.Location{ - Line: int(918), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "k", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(38), - }, - End: ast.Location{ - Line: int(918), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(38), - }, - End: ast.Location{ - Line: int(918), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - }, - Id: "escapeKeyToml", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(52), - }, - End: ast.Location{ - Line: int(918), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9715, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(57), - }, - End: ast.Location{ - Line: int(918), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{}, - }, - Value: " = ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(65), - }, - End: ast.Location{ - Line: int(918), - Column: int(111), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(65), - }, - End: ast.Location{ - Line: int(918), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "renderValue", - }, - }, - Id: "renderValue", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(77), - }, - End: ast.Location{ - Line: int(918), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(77), - }, - End: ast.Location{ - Line: int(918), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(79), - }, - End: ast.Location{ - Line: int(918), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(83), - }, - End: ast.Location{ - Line: int(918), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(83), - }, - End: ast.Location{ - Line: int(918), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Id: "indexedPath", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(97), - }, - End: ast.Location{ - Line: int(918), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(98), - }, - End: ast.Location{ - Line: int(918), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9738, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(102), - }, - End: ast.Location{ - Line: int(918), - Column: int(106), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(108), - }, - End: ast.Location{ - Line: int(918), - Column: int(110), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9724, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(46), - }, - End: ast.Location{ - Line: int(919), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9681, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(46), - }, - End: ast.Location{ - Line: int(919), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9681, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(46), - }, - End: ast.Location{ - Line: int(919), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(63), - }, - End: ast.Location{ - Line: int(919), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9751, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9895, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "indexedPath", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(27), + }, + End: ast.Location{ + Line: int(932), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "{ ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9981, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(927), + Column: int(26), + }, + End: ast.Location{ + Line: int(927), + Column: int(30), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9895, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(927), + Column: int(25), + }, + End: ast.Location{ + Line: int(927), + Column: int(31), + }, + }, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(24), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9895, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "indexedPath", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(927), + Column: int(25), + }, + End: ast.Location{ + Line: int(932), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(3), }, OpFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(24), - Comment: []string{}, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9895, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "indexedPath", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(927), + Column: int(25), + }, + End: ast.Location{ + Line: int(933), + Column: int(33), + }, }, }, Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(27), - }, - End: ast.Location{ - Line: int(921), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9663, - FreeVars: ast.Identifiers{}, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(28), - }, - End: ast.Location{ - Line: int(921), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9757, - FreeVars: ast.Identifiers{}, - }, - Value: " }", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "lines", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(915), + Line: int(927), Column: int(17), }, End: ast.Location{ - Line: int(921), + Line: int(933), Column: int(33), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(11), - }, - End: ast.Location{ - Line: int(922), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(11), - }, - End: ast.Location{ - Line: int(922), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9335, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(11), - }, - End: ast.Location{ - Line: int(922), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(11), + }, + End: ast.Location{ + Line: int(934), + Column: int(14), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -126375,87 +128984,154 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(11), + }, + End: ast.Location{ + Line: int(934), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9995, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(922), + Line: int(934), Column: int(20), }, End: ast.Location{ - Line: int(922), + Line: int(934), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p9768, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "lines", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(24), - }, - End: ast.Location{ - Line: int(922), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9768, + Ctx: p9995, FreeVars: ast.Identifiers{ "lines", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(24), + }, + End: ast.Location{ + Line: int(934), + Column: int(29), + }, + }, }, - Id: "lines", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "lines", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(11), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "indexedPath", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(927), + Column: int(11), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, }, }, - ElseFodder: nil, BranchFalse: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -126465,25 +129141,417 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "indexedPath", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(926), + Column: int(14), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(911), + Column: int(14), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(909), + Column: int(14), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "escapeStringToml", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(907), + Column: int(14), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "escapeStringToml", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(905), + Column: int(14), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "escapeStringToml", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(903), + Column: int(14), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "escapeStringToml", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(901), + Column: int(14), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p9582, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "escapeStringToml", + "indent", + "indexedPath", + "inline", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(899), + Column: int(9), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(898), + Column: int(19), + }, + End: ast.Location{ + Line: int(898), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indexedPath", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(898), + Column: int(22), + }, + End: ast.Location{ + Line: int(898), + Column: int(33), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "inline", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(898), + Column: int(35), + }, + End: ast.Location{ + Line: int(898), + Column: int(41), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cindent", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(898), + Column: int(43), + }, + End: ast.Location{ + Line: int(898), + Column: int(50), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p10019, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "escapeStringToml", + "indent", + "renderValue", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(898), + Column: int(7), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "renderValue", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -126493,235 +129561,51 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "renderTableInternal", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(7), - }, - End: ast.Location{ - Line: int(938), - Column: int(35), - }, - File: p1, - }, - Fodder: nil, - Ctx: p9773, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "isSection", - "renderTable", - "renderTableArray", - "renderValue", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(27), - }, - End: ast.Location{ - Line: int(923), - Column: int(28), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(30), - }, - End: ast.Location{ - Line: int(923), - Column: int(34), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(36), - }, - End: ast.Location{ - Line: int(923), - Column: int(47), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(49), - }, - End: ast.Location{ - Line: int(923), - Column: int(56), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(9), - }, - End: ast.Location{ - Line: int(938), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p9778, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "path", - "renderTable", - "renderTableArray", - "renderValue", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "kvp", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(21), - }, - End: ast.Location{ - Line: int(928), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9782, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "renderValue", - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(21), - }, - End: ast.Location{ - Line: int(924), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9782, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(21), - }, - End: ast.Location{ - Line: int(924), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(936), + Column: int(21), + }, + End: ast.Location{ + Line: int(936), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flattenArrays", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -126731,38 +129615,1051 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "flattenArrays", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10029, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(936), + Column: int(21), + }, + End: ast.Location{ + Line: int(936), + Column: int(38), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(39), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(928), - Column: int(10), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "isSection", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10044, + FreeVars: ast.Identifiers{ + "isSection", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(939), + Column: int(15), + }, + End: ast.Location{ + Line: int(939), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10049, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(939), + Column: int(25), + }, + End: ast.Location{ + Line: int(939), + Column: int(26), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10049, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(939), + Column: int(27), + }, + End: ast.Location{ + Line: int(939), + Column: int(28), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10049, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(939), + Column: int(25), + }, + End: ast.Location{ + Line: int(939), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10044, + FreeVars: ast.Identifiers{ + "isSection", + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(939), + Column: int(15), + }, + End: ast.Location{ + Line: int(939), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10044, + FreeVars: ast.Identifiers{ + "isSection", + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(939), + Column: int(14), + }, + End: ast.Location{ + Line: int(939), + Column: int(30), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "renderValue", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "renderValue", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(49), + }, + End: ast.Location{ + Line: int(937), + Column: int(60), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(61), + }, + End: ast.Location{ + Line: int(937), + Column: int(62), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(63), + }, + End: ast.Location{ + Line: int(937), + Column: int(64), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(61), + }, + End: ast.Location{ + Line: int(937), + Column: int(65), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10077, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(82), + }, + End: ast.Location{ + Line: int(937), + Column: int(83), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(81), + }, + End: ast.Location{ + Line: int(937), + Column: int(84), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "indexedPath", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(67), + }, + End: ast.Location{ + Line: int(937), + Column: int(78), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{ + "indexedPath", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(67), + }, + End: ast.Location{ + Line: int(937), + Column: int(84), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(86), + }, + End: ast.Location{ + Line: int(937), + Column: int(91), + }, + }, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10068, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(93), + }, + End: ast.Location{ + Line: int(937), + Column: int(100), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "cindent", + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(49), + }, + End: ast.Location{ + Line: int(937), + Column: int(101), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " = ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(41), + }, + End: ast.Location{ + Line: int(937), + Column: int(46), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "escapeKeyToml", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(22), + }, + End: ast.Location{ + Line: int(937), + Column: int(35), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10095, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(36), + }, + End: ast.Location{ + Line: int(937), + Column: int(37), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(22), + }, + End: ast.Location{ + Line: int(937), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(12), + }, + End: ast.Location{ + Line: int(937), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(12), + }, + End: ast.Location{ + Line: int(937), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(12), + }, + End: ast.Location{ + Line: int(937), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10063, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(12), + }, + End: ast.Location{ + Line: int(937), + Column: int(101), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p10104, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(11), + }, + End: ast.Location{ + Line: int(937), + Column: int(102), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "indexedPath", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "indexedPath", + "isSection", + "k", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "indexedPath", + "isSection", + "renderValue", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(938), + Column: int(20), + }, + End: ast.Location{ + Line: int(938), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10044, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(938), + Column: int(20), + }, + End: ast.Location{ + Line: int(938), + Column: int(36), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10119, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(938), + Column: int(37), + }, + End: ast.Location{ + Line: int(938), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10044, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(938), + Column: int(20), + }, + End: ast.Location{ + Line: int(938), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -126775,1332 +130672,139 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(936), + Column: int(39), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(940), + Column: int(10), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "renderValue", - "v", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "k", - "renderValue", - "v", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(14), - }, - End: ast.Location{ - Line: int(927), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9804, - FreeVars: ast.Identifiers{ - "isSection", - "k", - "v", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(15), - }, - End: ast.Location{ - Line: int(927), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9804, - FreeVars: ast.Identifiers{ - "isSection", - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(15), - }, - End: ast.Location{ - Line: int(927), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9804, - FreeVars: ast.Identifiers{ - "isSection", - }, - }, - Id: "isSection", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(25), - }, - End: ast.Location{ - Line: int(927), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9812, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(25), - }, - End: ast.Location{ - Line: int(927), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9812, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(27), - }, - End: ast.Location{ - Line: int(927), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9812, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(11), - }, - End: ast.Location{ - Line: int(925), - Column: int(102), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p9823, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(12), - }, - End: ast.Location{ - Line: int(925), - Column: int(101), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(12), - }, - End: ast.Location{ - Line: int(925), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "k", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(12), - }, - End: ast.Location{ - Line: int(925), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "k", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(12), - }, - End: ast.Location{ - Line: int(925), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(22), - }, - End: ast.Location{ - Line: int(925), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(22), - }, - End: ast.Location{ - Line: int(925), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - }, - Id: "escapeKeyToml", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(36), - }, - End: ast.Location{ - Line: int(925), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9841, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(41), - }, - End: ast.Location{ - Line: int(925), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{}, - }, - Value: " = ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(49), - }, - End: ast.Location{ - Line: int(925), - Column: int(101), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "renderValue", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(49), - }, - End: ast.Location{ - Line: int(925), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9827, - FreeVars: ast.Identifiers{ - "renderValue", - }, - }, - Id: "renderValue", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(61), - }, - End: ast.Location{ - Line: int(925), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(61), - }, - End: ast.Location{ - Line: int(925), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(63), - }, - End: ast.Location{ - Line: int(925), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(67), - }, - End: ast.Location{ - Line: int(925), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(67), - }, - End: ast.Location{ - Line: int(925), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Id: "indexedPath", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(81), - }, - End: ast.Location{ - Line: int(925), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(82), - }, - End: ast.Location{ - Line: int(925), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9864, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(86), - }, - End: ast.Location{ - Line: int(925), - Column: int(91), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(93), - }, - End: ast.Location{ - Line: int(925), - Column: int(100), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9850, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: nil, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(20), - }, - End: ast.Location{ - Line: int(926), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9804, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(20), - }, - End: ast.Location{ - Line: int(926), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9804, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(20), - }, - End: ast.Location{ - Line: int(926), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(37), - }, - End: ast.Location{ - Line: int(926), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9879, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10029, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "indexedPath", + "isSection", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(936), + Column: int(21), + }, + End: ast.Location{ + Line: int(940), + Column: int(11), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "kvp", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(924), + Line: int(936), Column: int(15), }, End: ast.Location{ - Line: int(928), + Line: int(940), Column: int(11), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(9), - }, - End: ast.Location{ - Line: int(938), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p9778, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "isSection", - "kvp", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "sections", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(26), - }, - End: ast.Location{ - Line: int(937), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9886, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "isSection", - "kvp", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(26), - }, - End: ast.Location{ - Line: int(929), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9886, - FreeVars: ast.Identifiers{ - "kvp", - "std", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(27), - }, - End: ast.Location{ - Line: int(929), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9892, - FreeVars: ast.Identifiers{ - "kvp", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(27), - }, - End: ast.Location{ - Line: int(929), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9892, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(27), - }, - End: ast.Location{ - Line: int(929), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(36), - }, - End: ast.Location{ - Line: int(929), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9901, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(42), - }, - End: ast.Location{ - Line: int(929), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9901, - FreeVars: ast.Identifiers{ - "kvp", - }, - }, - Id: "kvp", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(50), - }, - End: ast.Location{ - Line: int(937), - Column: int(10), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "isSection", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -128110,132 +130814,1135 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "isSection", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Cond: &ast.Apply{ + Target: &ast.Var{ + Id: "isSection", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10138, + FreeVars: ast.Identifiers{ + "isSection", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(948), + Column: int(14), + }, + End: ast.Location{ + Line: int(948), + Column: int(23), + }, + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10143, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(948), + Column: int(24), + }, + End: ast.Location{ + Line: int(948), + Column: int(25), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10143, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(948), + Column: int(26), + }, + End: ast.Location{ + Line: int(948), + Column: int(27), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10143, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(948), + Column: int(24), + }, + End: ast.Location{ + Line: int(948), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10138, + FreeVars: ast.Identifiers{ + "isSection", + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(948), + Column: int(14), + }, + End: ast.Location{ + Line: int(948), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(15), + }, + End: ast.Location{ + Line: int(942), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(15), + }, + End: ast.Location{ + Line: int(942), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10162, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(28), + }, + End: ast.Location{ + Line: int(942), + Column: int(29), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10162, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(30), + }, + End: ast.Location{ + Line: int(942), + Column: int(31), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10162, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(28), + }, + End: ast.Location{ + Line: int(942), + Column: int(32), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10157, + FreeVars: ast.Identifiers{ + "k", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(15), + }, + End: ast.Location{ + Line: int(942), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "renderTable", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p10157, + FreeVars: ast.Identifiers{ + "renderTable", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(13), + }, + End: ast.Location{ + Line: int(943), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(25), + }, + End: ast.Location{ + Line: int(943), + Column: int(26), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(27), + }, + End: ast.Location{ + Line: int(943), + Column: int(28), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(25), + }, + End: ast.Location{ + Line: int(943), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(39), + }, + End: ast.Location{ + Line: int(943), + Column: int(40), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(38), + }, + End: ast.Location{ + Line: int(943), + Column: int(41), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(31), + }, + End: ast.Location{ + Line: int(943), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "k", + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(31), + }, + End: ast.Location{ + Line: int(943), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10194, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(58), + }, + End: ast.Location{ + Line: int(943), + Column: int(59), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(57), + }, + End: ast.Location{ + Line: int(943), + Column: int(60), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "indexedPath", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(43), + }, + End: ast.Location{ + Line: int(943), + Column: int(54), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "indexedPath", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(43), + }, + End: ast.Location{ + Line: int(943), + Column: int(60), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10175, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(62), + }, + End: ast.Location{ + Line: int(943), + Column: int(69), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10157, + FreeVars: ast.Identifiers{ + "cindent", + "indexedPath", + "k", + "path", + "renderTable", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(13), + }, + End: ast.Location{ + Line: int(943), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "renderTableArray", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p10157, + FreeVars: ast.Identifiers{ + "renderTableArray", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(13), + }, + End: ast.Location{ + Line: int(945), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(30), + }, + End: ast.Location{ + Line: int(945), + Column: int(31), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(32), + }, + End: ast.Location{ + Line: int(945), + Column: int(33), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(30), + }, + End: ast.Location{ + Line: int(945), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10219, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(44), + }, + End: ast.Location{ + Line: int(945), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(43), + }, + End: ast.Location{ + Line: int(945), + Column: int(46), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(36), + }, + End: ast.Location{ + Line: int(945), + Column: int(40), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "k", + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(36), + }, + End: ast.Location{ + Line: int(945), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10229, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(63), + }, + End: ast.Location{ + Line: int(945), + Column: int(64), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(62), + }, + End: ast.Location{ + Line: int(945), + Column: int(65), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "indexedPath", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(48), + }, + End: ast.Location{ + Line: int(945), + Column: int(59), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "indexedPath", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(48), + }, + End: ast.Location{ + Line: int(945), + Column: int(65), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10210, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(67), + }, + End: ast.Location{ + Line: int(945), + Column: int(74), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10157, + FreeVars: ast.Identifiers{ + "cindent", + "indexedPath", + "k", + "path", + "renderTableArray", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(945), + Column: int(13), + }, + End: ast.Location{ + Line: int(945), + Column: int(75), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10157, + FreeVars: ast.Identifiers{ + "cindent", + "indexedPath", + "k", + "path", + "renderTable", + "renderTableArray", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(12), + }, + End: ast.Location{ + Line: int(945), + Column: int(75), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cindent", + "indexedPath", + "k", + "path", + "renderTable", + "renderTableArray", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -128249,1196 +131956,106 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(14), - }, - End: ast.Location{ - Line: int(936), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p9886, - FreeVars: ast.Identifiers{ - "isSection", - "k", - "v", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(14), - }, - End: ast.Location{ - Line: int(936), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9886, - FreeVars: ast.Identifiers{ - "isSection", - }, - }, - Id: "isSection", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(24), - }, - End: ast.Location{ - Line: int(936), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9923, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(24), - }, - End: ast.Location{ - Line: int(936), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9923, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(26), - }, - End: ast.Location{ - Line: int(936), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9923, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(12), - }, - End: ast.Location{ - Line: int(933), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9933, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(15), - }, - End: ast.Location{ - Line: int(930), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9933, - FreeVars: ast.Identifiers{ - "k", - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(15), - }, - End: ast.Location{ - Line: int(930), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9933, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(15), - }, - End: ast.Location{ - Line: int(930), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(28), - }, - End: ast.Location{ - Line: int(930), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9944, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(28), - }, - End: ast.Location{ - Line: int(930), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9944, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(30), - }, - End: ast.Location{ - Line: int(930), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9944, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(13), - }, - End: ast.Location{ - Line: int(931), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9933, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTable", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(13), - }, - End: ast.Location{ - Line: int(931), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p9933, - FreeVars: ast.Identifiers{ - "renderTable", - }, - }, - Id: "renderTable", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(25), - }, - End: ast.Location{ - Line: int(931), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(25), - }, - End: ast.Location{ - Line: int(931), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(27), - }, - End: ast.Location{ - Line: int(931), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(31), - }, - End: ast.Location{ - Line: int(931), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(31), - }, - End: ast.Location{ - Line: int(931), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(38), - }, - End: ast.Location{ - Line: int(931), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(39), - }, - End: ast.Location{ - Line: int(931), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9971, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(43), - }, - End: ast.Location{ - Line: int(931), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(43), - }, - End: ast.Location{ - Line: int(931), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Id: "indexedPath", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(57), - }, - End: ast.Location{ - Line: int(931), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(58), - }, - End: ast.Location{ - Line: int(931), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9981, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(62), - }, - End: ast.Location{ - Line: int(931), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9957, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(13), - }, - End: ast.Location{ - Line: int(933), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9933, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTableArray", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(13), - }, - End: ast.Location{ - Line: int(933), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p9933, - FreeVars: ast.Identifiers{ - "renderTableArray", - }, - }, - Id: "renderTableArray", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(30), - }, - End: ast.Location{ - Line: int(933), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(30), - }, - End: ast.Location{ - Line: int(933), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(32), - }, - End: ast.Location{ - Line: int(933), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(36), - }, - End: ast.Location{ - Line: int(933), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(36), - }, - End: ast.Location{ - Line: int(933), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(43), - }, - End: ast.Location{ - Line: int(933), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(44), - }, - End: ast.Location{ - Line: int(933), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10007, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(48), - }, - End: ast.Location{ - Line: int(933), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(48), - }, - End: ast.Location{ - Line: int(933), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Id: "indexedPath", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(62), - }, - End: ast.Location{ - Line: int(933), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(63), - }, - End: ast.Location{ - Line: int(933), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10017, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(67), - }, - End: ast.Location{ - Line: int(933), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: nil, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cindent", + "indexedPath", + "isSection", + "path", + "renderTable", + "renderTableArray", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(20), - }, - End: ast.Location{ - Line: int(935), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9886, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(20), - }, - End: ast.Location{ - Line: int(935), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9886, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(20), - }, - End: ast.Location{ - Line: int(935), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(20), + }, + End: ast.Location{ + Line: int(947), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -129448,157 +132065,397 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10138, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(20), + }, + End: ast.Location{ + Line: int(947), + Column: int(36), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(37), - }, - End: ast.Location{ - Line: int(935), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10031, + Ctx: p10253, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(37), + }, + End: ast.Location{ + Line: int(947), + Column: int(38), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10138, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(20), + }, + End: ast.Location{ + Line: int(947), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "indexedPath", + "isSection", + "path", + "renderTable", + "renderTableArray", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(50), + }, + End: ast.Location{ + Line: int(949), + Column: int(10), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(27), + }, + End: ast.Location{ + Line: int(941), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10264, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(27), + }, + End: ast.Location{ + Line: int(941), + Column: int(35), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10268, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(36), + }, + End: ast.Location{ + Line: int(941), + Column: int(40), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "kvp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10268, + FreeVars: ast.Identifiers{ + "kvp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(42), + }, + End: ast.Location{ + Line: int(941), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10264, + FreeVars: ast.Identifiers{ + "kvp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(27), + }, + End: ast.Location{ + Line: int(941), + Column: int(46), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10138, + FreeVars: ast.Identifiers{ + "kvp", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(26), + }, + End: ast.Location{ + Line: int(941), + Column: int(47), + }, + }, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10138, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "indexedPath", + "isSection", + "kvp", + "path", + "renderTable", + "renderTableArray", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(26), + }, + End: ast.Location{ + Line: int(949), + Column: int(10), + }, + }, + }, + Op: ast.BinaryOp(3), }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "sections", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(929), + Line: int(941), Column: int(15), }, End: ast.Location{ - Line: int(937), + Line: int(949), Column: int(10), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(9), - }, - End: ast.Location{ - Line: int(938), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9778, - FreeVars: ast.Identifiers{ - "sections", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(9), - }, - End: ast.Location{ - Line: int(938), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9778, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(9), - }, - End: ast.Location{ - Line: int(938), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(9), + }, + End: ast.Location{ + Line: int(950), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -129608,88 +132465,299 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10280, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(9), + }, + End: ast.Location{ + Line: int(950), + Column: int(17), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\n\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10284, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(938), + Line: int(950), Column: int(18), }, End: ast.Location{ - Line: int(938), + Line: int(950), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10043, - FreeVars: ast.Identifiers{}, }, - Value: "\n\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "sections", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(26), - }, - End: ast.Location{ - Line: int(938), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10043, + Ctx: p10284, FreeVars: ast.Identifiers{ "sections", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(26), + }, + End: ast.Location{ + Line: int(950), + Column: int(34), + }, + }, }, - Id: "sections", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10280, + FreeVars: ast.Identifiers{ + "sections", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(9), + }, + End: ast.Location{ + Line: int(950), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10280, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "indexedPath", + "isSection", + "kvp", + "path", + "renderTable", + "renderTableArray", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(9), + }, + End: ast.Location{ + Line: int(950), + Column: int(35), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10280, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "indexedPath", + "isSection", + "path", + "renderTable", + "renderTableArray", + "renderValue", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(936), + Column: int(9), + }, + End: ast.Location{ + Line: int(950), + Column: int(35), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(27), + }, + End: ast.Location{ + Line: int(935), + Column: int(28), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "path", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(30), + }, + End: ast.Location{ + Line: int(935), + Column: int(34), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indexedPath", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(36), + }, + End: ast.Location{ + Line: int(935), + Column: int(47), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cindent", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(49), + }, + End: ast.Location{ + Line: int(935), + Column: int(56), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p10293, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "isSection", + "renderTable", + "renderTableArray", + "renderValue", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(7), + }, + End: ast.Location{ + Line: int(950), + Column: int(35), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "renderTableInternal", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -129699,1111 +132767,833 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "renderTable", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(7), - }, - End: ast.Location{ - Line: int(942), - Column: int(70), - }, - File: p1, - }, - Fodder: nil, - Ctx: p10047, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indent", - "renderTableInternal", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(19), - }, - End: ast.Location{ - Line: int(939), - Column: int(20), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(22), - }, - End: ast.Location{ - Line: int(939), - Column: int(26), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(28), - }, - End: ast.Location{ - Line: int(939), - Column: int(39), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(41), - }, - End: ast.Location{ - Line: int(939), - Column: int(48), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(9), - }, - End: ast.Location{ - Line: int(942), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(9), - }, - End: ast.Location{ - Line: int(941), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(9), - }, - End: ast.Location{ - Line: int(940), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(9), - }, - End: ast.Location{ - Line: int(940), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(9), - }, - End: ast.Location{ - Line: int(940), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(9), - }, - End: ast.Location{ - Line: int(940), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(19), - }, - End: ast.Location{ - Line: int(940), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{}, - }, - Value: "[", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(25), - }, - End: ast.Location{ - Line: int(940), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(25), - }, - End: ast.Location{ - Line: int(940), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(25), - }, - End: ast.Location{ - Line: int(940), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(34), - }, - End: ast.Location{ - Line: int(940), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10074, - FreeVars: ast.Identifiers{}, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(39), - }, - End: ast.Location{ - Line: int(940), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10074, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(39), - }, - End: ast.Location{ - Line: int(940), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10074, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(39), - }, - End: ast.Location{ - Line: int(940), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(47), - }, - End: ast.Location{ - Line: int(940), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10084, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - }, - Id: "escapeKeyToml", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(62), - }, - End: ast.Location{ - Line: int(940), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10084, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(71), - }, - End: ast.Location{ - Line: int(940), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{}, - }, - Value: "]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(12), - }, - End: ast.Location{ - Line: int(941), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(15), - }, - End: ast.Location{ - Line: int(941), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(15), - }, - End: ast.Location{ - Line: int(941), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(20), - }, - End: ast.Location{ - Line: int(941), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(28), - }, - End: ast.Location{ - Line: int(941), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(36), - }, - End: ast.Location{ - Line: int(941), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(11), - }, - End: ast.Location{ - Line: int(942), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10051, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "v", - }, - }, Target: &ast.Var{ + Id: "renderTableInternal", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(11), - }, - End: ast.Location{ - Line: int(942), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10051, + Ctx: p10299, FreeVars: ast.Identifiers{ "renderTableInternal", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(11), + }, + End: ast.Location{ + Line: int(954), + Column: int(30), + }, + }, }, - Id: "renderTableInternal", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(31), - }, - End: ast.Location{ - Line: int(942), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10106, + Ctx: p10303, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(31), + }, + End: ast.Location{ + Line: int(954), + Column: int(32), + }, + }, }, - Id: "v", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "path", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(34), - }, - End: ast.Location{ - Line: int(942), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10106, + Ctx: p10303, FreeVars: ast.Identifiers{ "path", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(34), + }, + End: ast.Location{ + Line: int(954), + Column: int(38), + }, + }, }, - Id: "path", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "indexedPath", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(40), - }, - End: ast.Location{ - Line: int(942), - Column: int(51), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10106, + Ctx: p10303, FreeVars: ast.Identifiers{ "indexedPath", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(40), + }, + End: ast.Location{ + Line: int(954), + Column: int(51), + }, + }, }, - Id: "indexedPath", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(53), + Right: &ast.Var{ + Id: "indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10303, + FreeVars: ast.Identifiers{ + "indent", }, - End: ast.Location{ - Line: int(942), - Column: int(69), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(63), + }, + End: ast.Location{ + Line: int(954), + Column: int(69), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10303, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(53), + }, + End: ast.Location{ + Line: int(954), + Column: int(60), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p10106, + Ctx: p10303, FreeVars: ast.Identifiers{ "cindent", "indent", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(53), - }, - End: ast.Location{ - Line: int(942), - Column: int(60), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(53), }, - Fodder: ast.Fodder{}, - Ctx: p10106, - FreeVars: ast.Identifiers{ - "cindent", + End: ast.Location{ + Line: int(954), + Column: int(69), }, }, - Id: "cindent", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(63), - }, - End: ast.Location{ - Line: int(942), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10106, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Variable: "renderTableArray", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + "indexedPath", + "path", + "renderTableInternal", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(11), + }, + End: ast.Location{ + Line: int(954), + Column: int(70), + }, + }, }, - End: ast.Location{ - Line: int(951), - Column: int(35), - }, - File: p1, + TrailingComma: false, + TailStrict: false, }, - Fodder: nil, - Ctx: p10119, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indent", - "renderTableInternal", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(24), + Left: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{}, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(953), + Column: int(20), + }, + End: ast.Location{ + Line: int(953), + Column: int(22), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(953), + Column: int(15), + }, + End: ast.Location{ + Line: int(953), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(953), + Column: int(15), + }, + End: ast.Location{ + Line: int(953), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(12), }, - End: ast.Location{ - Line: int(943), - Column: int(25), + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(953), + Column: int(28), + }, + End: ast.Location{ + Line: int(953), + Column: int(30), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(953), + Column: int(36), + }, + End: ast.Location{ + Line: int(953), + Column: int(40), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(953), + Column: int(12), + }, + End: ast.Location{ + Line: int(953), + Column: int(40), + }, + }, }, - File: p1, }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(27), + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "]", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(71), + }, + End: ast.Location{ + Line: int(952), + Column: int(74), + }, + }, + }, + Kind: ast.LiteralStringKind(1), }, - End: ast.Location{ - Line: int(943), - Column: int(31), + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(25), + }, + End: ast.Location{ + Line: int(952), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(25), + }, + End: ast.Location{ + Line: int(952), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: ".", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10337, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(34), + }, + End: ast.Location{ + Line: int(952), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(39), + }, + End: ast.Location{ + Line: int(952), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10337, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(39), + }, + End: ast.Location{ + Line: int(952), + Column: int(46), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "escapeKeyToml", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10346, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(47), + }, + End: ast.Location{ + Line: int(952), + Column: int(60), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10346, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(62), + }, + End: ast.Location{ + Line: int(952), + Column: int(66), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10337, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(39), + }, + End: ast.Location{ + Line: int(952), + Column: int(67), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(25), + }, + End: ast.Location{ + Line: int(952), + Column: int(68), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "[", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(19), + }, + End: ast.Location{ + Line: int(952), + Column: int(22), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(9), + }, + End: ast.Location{ + Line: int(952), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(9), + }, + End: ast.Location{ + Line: int(952), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(9), + }, + End: ast.Location{ + Line: int(952), + Column: int(68), + }, + }, + }, + Op: ast.BinaryOp(3), }, - File: p1, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(9), + }, + End: ast.Location{ + Line: int(952), + Column: int(74), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(33), - }, - End: ast.Location{ - Line: int(943), - Column: int(44), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(46), - }, - End: ast.Location{ - Line: int(943), - Column: int(53), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(9), - }, - End: ast.Location{ - Line: int(951), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ + OpFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p10124, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(9), + }, + End: ast.Location{ + Line: int(953), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10299, FreeVars: ast.Identifiers{ - "$std", "cindent", "escapeKeyToml", "indent", @@ -130813,79 +133603,183 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(952), + Column: int(9), + }, + End: ast.Location{ + Line: int(954), + Column: int(70), + }, + }, }, + Op: ast.BinaryOp(3), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(951), + Column: int(19), + }, + End: ast.Location{ + Line: int(951), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "path", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(951), + Column: int(22), + }, + End: ast.Location{ + Line: int(951), + Column: int(26), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indexedPath", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(951), + Column: int(28), + }, + End: ast.Location{ + Line: int(951), + Column: int(39), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cindent", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(951), + Column: int(41), + }, + End: ast.Location{ + Line: int(951), + Column: int(48), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p10365, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "indent", + "renderTableInternal", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(951), + Column: int(7), + }, + End: ast.Location{ + Line: int(954), + Column: int(70), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "renderTable", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "range", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(23), - }, - End: ast.Location{ - Line: int(944), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10128, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(23), - }, - End: ast.Location{ - Line: int(944), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10128, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(23), - }, - End: ast.Location{ - Line: int(944), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(23), + }, + End: ast.Location{ + Line: int(956), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -130895,135 +133789,115 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "range", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10375, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(23), + }, + End: ast.Location{ + Line: int(956), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10379, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(944), + Line: int(956), Column: int(33), }, End: ast.Location{ - Line: int(944), + Line: int(956), Column: int(34), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10137, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(36), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10379, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(52), + }, + End: ast.Location{ + Line: int(956), + Column: int(53), + }, }, - End: ast.Location{ - Line: int(944), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10137, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(36), - }, - End: ast.Location{ - Line: int(944), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10137, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(36), - }, - End: ast.Location{ - Line: int(944), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10137, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(36), - }, - End: ast.Location{ - Line: int(944), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(36), + }, + End: ast.Location{ + Line: int(956), + Column: int(39), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -131033,160 +133907,1369 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10379, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(36), + }, + End: ast.Location{ + Line: int(956), + Column: int(46), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(47), - }, - End: ast.Location{ - Line: int(944), - Column: int(48), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10149, + Ctx: p10390, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(47), + }, + End: ast.Location{ + Line: int(956), + Column: int(48), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10379, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(944), - Column: int(52), + Line: int(956), + Column: int(36), }, End: ast.Location{ - Line: int(944), - Column: int(53), + Line: int(956), + Column: int(49), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10137, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10379, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(36), + }, + End: ast.Location{ + Line: int(956), + Column: int(53), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10375, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(23), + }, + End: ast.Location{ + Line: int(956), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "range", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(944), + Line: int(956), Column: int(15), }, End: ast.Location{ - Line: int(944), + Line: int(956), Column: int(54), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(9), - }, - End: ast.Location{ - Line: int(951), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10124, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "range", - "renderTableInternal", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "sections", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(26), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(950), - Column: int(10), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "renderTableInternal", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "renderTableInternal", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(13), + }, + End: ast.Location{ + Line: int(960), + Column: int(32), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(33), + }, + End: ast.Location{ + Line: int(960), + Column: int(34), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(35), + }, + End: ast.Location{ + Line: int(960), + Column: int(36), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(33), + }, + End: ast.Location{ + Line: int(960), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(39), + }, + End: ast.Location{ + Line: int(960), + Column: int(43), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10426, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(60), + }, + End: ast.Location{ + Line: int(960), + Column: int(61), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(59), + }, + End: ast.Location{ + Line: int(960), + Column: int(62), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "indexedPath", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(45), + }, + End: ast.Location{ + Line: int(960), + Column: int(56), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "i", + "indexedPath", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(45), + }, + End: ast.Location{ + Line: int(960), + Column: int(62), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(74), + }, + End: ast.Location{ + Line: int(960), + Column: int(80), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(64), + }, + End: ast.Location{ + Line: int(960), + Column: int(71), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10415, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(64), + }, + End: ast.Location{ + Line: int(960), + Column: int(80), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "cindent", + "i", + "indent", + "indexedPath", + "path", + "renderTableInternal", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(13), + }, + End: ast.Location{ + Line: int(960), + Column: int(81), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{}, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(25), + }, + End: ast.Location{ + Line: int(959), + Column: int(27), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(17), + }, + End: ast.Location{ + Line: int(959), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(19), + }, + End: ast.Location{ + Line: int(959), + Column: int(20), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(17), + }, + End: ast.Location{ + Line: int(959), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(17), + }, + End: ast.Location{ + Line: int(959), + Column: int(27), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(33), + }, + End: ast.Location{ + Line: int(959), + Column: int(35), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(41), + }, + End: ast.Location{ + Line: int(959), + Column: int(45), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(14), + }, + End: ast.Location{ + Line: int(959), + Column: int(45), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "]]", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(75), + }, + End: ast.Location{ + Line: int(958), + Column: int(79), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(29), + }, + End: ast.Location{ + Line: int(958), + Column: int(32), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(29), + }, + End: ast.Location{ + Line: int(958), + Column: int(37), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: ".", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10464, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(38), + }, + End: ast.Location{ + Line: int(958), + Column: int(41), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(43), + }, + End: ast.Location{ + Line: int(958), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10464, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(43), + }, + End: ast.Location{ + Line: int(958), + Column: int(50), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "escapeKeyToml", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10473, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(51), + }, + End: ast.Location{ + Line: int(958), + Column: int(64), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10473, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(66), + }, + End: ast.Location{ + Line: int(958), + Column: int(70), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10464, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(43), + }, + End: ast.Location{ + Line: int(958), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(29), + }, + End: ast.Location{ + Line: int(958), + Column: int(72), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "[[", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(22), + }, + End: ast.Location{ + Line: int(958), + Column: int(26), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(12), + }, + End: ast.Location{ + Line: int(958), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(12), + }, + End: ast.Location{ + Line: int(958), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(12), + }, + End: ast.Location{ + Line: int(958), + Column: int(72), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "path", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(12), + }, + End: ast.Location{ + Line: int(958), + Column: int(79), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "i", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(12), + }, + End: ast.Location{ + Line: int(959), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10410, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "i", + "indent", + "indexedPath", + "path", + "renderTableInternal", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(958), + Column: int(12), + }, + End: ast.Location{ + Line: int(960), + Column: int(81), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "i", + "indent", + "indexedPath", + "path", + "renderTableInternal", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cindent", + "escapeKeyToml", + "indent", + "indexedPath", + "path", + "renderTableInternal", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "range", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10494, + FreeVars: ast.Identifiers{ + "range", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(961), + Column: int(20), + }, + End: ast.Location{ + Line: int(961), + Column: int(25), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -131201,1303 +135284,81 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(957), + Column: int(26), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(962), + Column: int(10), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "i", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(12), - }, - End: ast.Location{ - Line: int(948), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "i", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(12), - }, - End: ast.Location{ - Line: int(947), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "i", - "path", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(12), - }, - End: ast.Location{ - Line: int(946), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(12), - }, - End: ast.Location{ - Line: int(946), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(12), - }, - End: ast.Location{ - Line: int(946), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(12), - }, - End: ast.Location{ - Line: int(946), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(22), - }, - End: ast.Location{ - Line: int(946), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{}, - }, - Value: "[[", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(29), - }, - End: ast.Location{ - Line: int(946), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(29), - }, - End: ast.Location{ - Line: int(946), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(29), - }, - End: ast.Location{ - Line: int(946), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(38), - }, - End: ast.Location{ - Line: int(946), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10193, - FreeVars: ast.Identifiers{}, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(43), - }, - End: ast.Location{ - Line: int(946), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10193, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(43), - }, - End: ast.Location{ - Line: int(946), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10193, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(43), - }, - End: ast.Location{ - Line: int(946), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(51), - }, - End: ast.Location{ - Line: int(946), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10203, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - }, - Id: "escapeKeyToml", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(66), - }, - End: ast.Location{ - Line: int(946), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10203, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(946), - Column: int(75), - }, - End: ast.Location{ - Line: int(946), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{}, - }, - Value: "]]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(14), - }, - End: ast.Location{ - Line: int(947), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(17), - }, - End: ast.Location{ - Line: int(947), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(17), - }, - End: ast.Location{ - Line: int(947), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(17), - }, - End: ast.Location{ - Line: int(947), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(19), - }, - End: ast.Location{ - Line: int(947), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(25), - }, - End: ast.Location{ - Line: int(947), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(33), - }, - End: ast.Location{ - Line: int(947), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(41), - }, - End: ast.Location{ - Line: int(947), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(13), - }, - End: ast.Location{ - Line: int(948), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "cindent", - "i", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(13), - }, - End: ast.Location{ - Line: int(948), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10171, - FreeVars: ast.Identifiers{ - "renderTableInternal", - }, - }, - Id: "renderTableInternal", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(33), - }, - End: ast.Location{ - Line: int(948), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(33), - }, - End: ast.Location{ - Line: int(948), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(35), - }, - End: ast.Location{ - Line: int(948), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(39), - }, - End: ast.Location{ - Line: int(948), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(45), - }, - End: ast.Location{ - Line: int(948), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(45), - }, - End: ast.Location{ - Line: int(948), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - }, - Id: "indexedPath", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(59), - }, - End: ast.Location{ - Line: int(948), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(60), - }, - End: ast.Location{ - Line: int(948), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10245, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(64), - }, - End: ast.Location{ - Line: int(948), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(64), - }, - End: ast.Location{ - Line: int(948), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(74), - }, - End: ast.Location{ - Line: int(948), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(949), - Column: int(20), - }, - End: ast.Location{ - Line: int(949), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10254, - FreeVars: ast.Identifiers{ - "range", - }, - }, - Id: "range", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "sections", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(945), + Line: int(957), Column: int(15), }, End: ast.Location{ - Line: int(950), + Line: int(962), Column: int(10), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(9), - }, - End: ast.Location{ - Line: int(951), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10124, - FreeVars: ast.Identifiers{ - "sections", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(9), - }, - End: ast.Location{ - Line: int(951), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10124, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(9), - }, - End: ast.Location{ - Line: int(951), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(963), + Column: int(9), + }, + End: ast.Location{ + Line: int(963), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -132507,88 +135368,295 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10503, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(963), + Column: int(9), + }, + End: ast.Location{ + Line: int(963), + Column: int(17), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\n\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10507, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(951), + Line: int(963), Column: int(18), }, End: ast.Location{ - Line: int(951), + Line: int(963), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10266, - FreeVars: ast.Identifiers{}, }, - Value: "\n\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "sections", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(26), - }, - End: ast.Location{ - Line: int(951), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10266, + Ctx: p10507, FreeVars: ast.Identifiers{ "sections", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(963), + Column: int(26), + }, + End: ast.Location{ + Line: int(963), + Column: int(34), + }, + }, }, - Id: "sections", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10503, + FreeVars: ast.Identifiers{ + "sections", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(963), + Column: int(9), + }, + End: ast.Location{ + Line: int(963), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10503, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "indent", + "indexedPath", + "path", + "range", + "renderTableInternal", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(957), + Column: int(9), + }, + End: ast.Location{ + Line: int(963), + Column: int(35), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10503, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "escapeKeyToml", + "indent", + "indexedPath", + "path", + "renderTableInternal", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(956), + Column: int(9), + }, + End: ast.Location{ + Line: int(963), + Column: int(35), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(955), + Column: int(24), + }, + End: ast.Location{ + Line: int(955), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "path", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(955), + Column: int(27), + }, + End: ast.Location{ + Line: int(955), + Column: int(31), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indexedPath", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(955), + Column: int(33), + }, + End: ast.Location{ + Line: int(955), + Column: int(44), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cindent", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(955), + Column: int(46), + }, + End: ast.Location{ + Line: int(955), + Column: int(53), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p10516, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyToml", + "indent", + "renderTableInternal", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(955), + Column: int(7), + }, + End: ast.Location{ + Line: int(963), + Column: int(35), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "renderTableArray", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -132598,106 +135666,44 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(5), - }, - End: ast.Location{ - Line: int(955), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "renderTableInternal", - "std", - "value", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(8), - }, - End: ast.Location{ - Line: int(952), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(8), - }, - End: ast.Location{ - Line: int(952), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(8), - }, - End: ast.Location{ - Line: int(952), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(964), + Column: int(8), + }, + End: ast.Location{ + Line: int(964), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -132707,368 +135713,287 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10524, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(964), + Column: int(8), + }, + End: ast.Location{ + Line: int(964), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(21), - }, - End: ast.Location{ - Line: int(952), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10281, + Ctx: p10528, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(964), + Column: int(21), + }, + End: ast.Location{ + Line: int(964), + Column: int(26), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(7), - }, - End: ast.Location{ - Line: int(953), - Column: int(45), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p9151, + Ctx: p10524, FreeVars: ast.Identifiers{ - "renderTableInternal", + "std", "value", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(7), - }, - End: ast.Location{ - Line: int(953), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(964), + Column: int(8), }, + End: ast.Location{ + Line: int(964), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "renderTableInternal", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p9151, + Ctx: p10524, FreeVars: ast.Identifiers{ "renderTableInternal", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(965), + Column: int(7), + }, + End: ast.Location{ + Line: int(965), + Column: int(26), + }, + }, }, - Id: "renderTableInternal", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(27), - }, - End: ast.Location{ - Line: int(953), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10290, + Ctx: p10537, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(965), + Column: int(27), + }, + End: ast.Location{ + Line: int(965), + Column: int(32), + }, + }, }, - Id: "value", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10537, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(953), + Line: int(965), Column: int(34), }, End: ast.Location{ - Line: int(953), + Line: int(965), Column: int(36), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10290, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10537, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(953), + Line: int(965), Column: int(38), }, End: ast.Location{ - Line: int(953), + Line: int(965), Column: int(40), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10290, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10537, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(953), + Line: int(965), Column: int(42), }, End: ast.Location{ - Line: int(953), + Line: int(965), Column: int(44), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10290, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10524, + FreeVars: ast.Identifiers{ + "renderTableInternal", + "value", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(955), + Line: int(965), Column: int(7), }, End: ast.Location{ - Line: int(955), - Column: int(66), + Line: int(965), + Column: int(45), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "std", - "value", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Error{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(13), - }, - End: ast.Location{ - Line: int(955), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(13), - }, - End: ast.Location{ - Line: int(955), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9151, - FreeVars: ast.Identifiers{}, - }, - Value: "TOML body must be an object. Got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(51), - }, - End: ast.Location{ - Line: int(955), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(51), - }, - End: ast.Location{ - Line: int(955), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p9151, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(51), - }, - End: ast.Location{ - Line: int(955), - Column: int(54), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(51), + }, + End: ast.Location{ + Line: int(967), + Column: int(54), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -133078,246 +136003,373 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10524, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(51), + }, + End: ast.Location{ + Line: int(967), + Column: int(59), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(60), - }, - End: ast.Location{ - Line: int(955), - Column: int(65), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10311, + Ctx: p10553, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(60), + }, + End: ast.Location{ + Line: int(967), + Column: int(65), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10524, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(51), + }, + End: ast.Location{ + Line: int(967), + Column: int(66), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "TOML body must be an object. Got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10524, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(13), + }, + End: ast.Location{ + Line: int(967), + Column: int(48), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10524, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(13), + }, + End: ast.Location{ + Line: int(967), + Column: int(66), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p10524, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(7), + }, + End: ast.Location{ + Line: int(967), + Column: int(66), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p10524, + FreeVars: ast.Identifiers{ + "renderTableInternal", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(964), + Column: int(5), + }, + End: ast.Location{ + Line: int(967), + Column: int(66), }, }, }, }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(878), - Column: int(3), - }, - End: ast.Location{ - Line: int(955), - Column: int(66), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Ctx: p10524, + FreeVars: ast.Identifiers{ + "$std", + "indent", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(891), + Column: int(5), + }, + End: ast.Location{ + Line: int(967), + Column: int(66), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(890), + Column: int(18), + }, + End: ast.Location{ + Line: int(890), + Column: int(23), + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indent", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(890), + Column: int(25), + }, + End: ast.Location{ + Line: int(890), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: nil, - Ctx: p12, + Ctx: p23, FreeVars: ast.Identifiers{ "$std", "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str_", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(957), - Column: int(20), - }, - End: ast.Location{ - Line: int(957), - Column: int(24), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(5), - }, - End: ast.Location{ - Line: int(980), - Column: int(70), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(890), + Column: int(3), + }, + End: ast.Location{ + Line: int(967), + Column: int(66), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p10319, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str_", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "str", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(17), - }, - End: ast.Location{ - Line: int(958), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10323, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(17), - }, - End: ast.Location{ - Line: int(958), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10323, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(17), - }, - End: ast.Location{ - Line: int(958), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(17), + }, + End: ast.Location{ + Line: int(970), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "toString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -133327,1162 +136379,845 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "toString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10576, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(17), + }, + End: ast.Location{ + Line: int(970), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str_", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(30), - }, - End: ast.Location{ - Line: int(958), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10332, + Ctx: p10580, FreeVars: ast.Identifiers{ "str_", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(30), + }, + End: ast.Location{ + Line: int(970), + Column: int(34), + }, + }, }, - Id: "str_", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10576, + FreeVars: ast.Identifiers{ + "std", + "str_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(17), + }, + End: ast.Location{ + Line: int(970), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "str", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(958), + Line: int(970), Column: int(11), }, End: ast.Location{ - Line: int(958), + Line: int(970), Column: int(35), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(5), - }, - End: ast.Location{ - Line: int(980), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p10319, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "trans", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(11), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: nil, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ch", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(17), - }, - End: ast.Location{ - Line: int(959), - Column: int(19), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(7), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(10), - }, - End: ast.Location{ - Line: int(960), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(10), - }, - End: ast.Location{ - Line: int(960), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "\"", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(960), + Line: int(972), Column: int(16), }, End: ast.Location{ - Line: int(960), + Line: int(972), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, - Value: "\"", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(972), + Column: int(10), + }, + End: ast.Location{ + Line: int(972), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(961), - Column: int(9), + Line: int(972), + Column: int(10), }, End: ast.Location{ - Line: int(961), - Column: int(14), + Line: int(972), + Column: int(19), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "\\\"", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p10344, + Ctx: p10589, FreeVars: ast.Identifiers{}, - }, - Value: "\\\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(962), - Column: int(12), + Line: int(973), + Column: int(9), }, End: ast.Location{ - Line: int(979), - Column: int(13), + Line: int(973), + Column: int(14), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(962), - Column: int(15), - }, - End: ast.Location{ - Line: int(962), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(962), - Column: int(15), - }, - End: ast.Location{ - Line: int(962), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralString{ + Value: "\\", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(962), + Line: int(974), Column: int(21), }, End: ast.Location{ - Line: int(962), + Line: int(974), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, - Value: "\\", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(9), - }, - End: ast.Location{ - Line: int(963), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10344, - FreeVars: ast.Identifiers{}, - }, - Value: "\\\\", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(12), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - }, - Cond: &ast.Binary{ + Left: &ast.Var{ + Id: "ch", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(964), + Line: int(974), Column: int(15), }, End: ast.Location{ - Line: int(964), - Column: int(25), + Line: int(974), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(15), - }, - End: ast.Location{ - Line: int(964), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(974), + Column: int(15), + }, + End: ast.Location{ + Line: int(974), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "\\\\", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(975), + Column: int(9), + }, + End: ast.Location{ + Line: int(975), + Column: int(15), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.LiteralString{ + Value: "\b", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(964), + Line: int(976), Column: int(21), }, End: ast.Location{ - Line: int(964), + Line: int(976), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, - Value: "\b", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(9), - }, - End: ast.Location{ - Line: int(965), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10344, - FreeVars: ast.Identifiers{}, - }, - Value: "\\b", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(966), - Column: int(12), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - }, - Cond: &ast.Binary{ + Left: &ast.Var{ + Id: "ch", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(966), + Line: int(976), Column: int(15), }, End: ast.Location{ - Line: int(966), - Column: int(25), + Line: int(976), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(966), - Column: int(15), - }, - End: ast.Location{ - Line: int(966), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(976), + Column: int(15), + }, + End: ast.Location{ + Line: int(976), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "\\b", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(977), + Column: int(9), + }, + End: ast.Location{ + Line: int(977), + Column: int(14), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.LiteralString{ + Value: "\f", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(966), + Line: int(978), Column: int(21), }, End: ast.Location{ - Line: int(966), + Line: int(978), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, - Value: "\f", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(9), - }, - End: ast.Location{ - Line: int(967), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10344, - FreeVars: ast.Identifiers{}, - }, - Value: "\\f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(968), - Column: int(12), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - }, - Cond: &ast.Binary{ + Left: &ast.Var{ + Id: "ch", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(968), + Line: int(978), Column: int(15), }, End: ast.Location{ - Line: int(968), - Column: int(25), + Line: int(978), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(968), - Column: int(15), - }, - End: ast.Location{ - Line: int(968), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(978), + Column: int(15), + }, + End: ast.Location{ + Line: int(978), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "\\f", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(979), + Column: int(9), + }, + End: ast.Location{ + Line: int(979), + Column: int(14), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(968), + Line: int(980), Column: int(21), }, End: ast.Location{ - Line: int(968), + Line: int(980), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, - Value: "\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(969), - Column: int(9), - }, - End: ast.Location{ - Line: int(969), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10344, - FreeVars: ast.Identifiers{}, - }, - Value: "\\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(12), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - }, - Cond: &ast.Binary{ + Left: &ast.Var{ + Id: "ch", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(970), + Line: int(980), Column: int(15), }, End: ast.Location{ - Line: int(970), - Column: int(25), + Line: int(980), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(15), - }, - End: ast.Location{ - Line: int(970), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(15), + }, + End: ast.Location{ + Line: int(980), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "\\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(981), + Column: int(9), + }, + End: ast.Location{ + Line: int(981), + Column: int(14), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.LiteralString{ + Value: "\r", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(970), + Line: int(982), Column: int(21), }, End: ast.Location{ - Line: int(970), + Line: int(982), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, - Value: "\r", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(971), - Column: int(9), - }, - End: ast.Location{ - Line: int(971), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10344, - FreeVars: ast.Identifiers{}, - }, - Value: "\\r", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(972), - Column: int(12), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - }, - Cond: &ast.Binary{ + Left: &ast.Var{ + Id: "ch", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(972), + Line: int(982), Column: int(15), }, End: ast.Location{ - Line: int(972), - Column: int(25), + Line: int(982), + Column: int(17), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(972), - Column: int(15), - }, - End: ast.Location{ - Line: int(972), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(982), + Column: int(15), + }, + End: ast.Location{ + Line: int(982), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "\\r", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(983), + Column: int(9), + }, + End: ast.Location{ + Line: int(983), + Column: int(14), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.LiteralString{ + Value: "\t", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(972), + Line: int(984), Column: int(21), }, End: ast.Location{ - Line: int(972), + Line: int(984), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, - Value: "\t", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(984), + Column: int(15), + }, + End: ast.Location{ + Line: int(984), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "ch", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(973), - Column: int(9), + Line: int(984), + Column: int(15), }, End: ast.Location{ - Line: int(973), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, + Line: int(984), + Column: int(25), }, }, - Ctx: p10344, - FreeVars: ast.Identifiers{}, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ Value: "\\t", - Kind: ast.LiteralStringKind(1), BlockIndent: "", BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(9), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(985), + Column: int(9), + }, + End: ast.Location{ + Line: int(985), + Column: int(14), + }, }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "cp", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(20), - }, - End: ast.Location{ - Line: int(975), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10419, - FreeVars: ast.Identifiers{ - "ch", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(20), - }, - End: ast.Location{ - Line: int(975), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10419, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(20), - }, - End: ast.Location{ - Line: int(975), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(20), + }, + End: ast.Location{ + Line: int(987), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -134492,410 +137227,361 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "codepoint", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10650, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(20), + }, + End: ast.Location{ + Line: int(987), + Column: int(33), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "ch", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(34), - }, - End: ast.Location{ - Line: int(975), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10428, + Ctx: p10654, FreeVars: ast.Identifiers{ "ch", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(34), + }, + End: ast.Location{ + Line: int(987), + Column: int(36), + }, + }, }, - Id: "ch", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10650, + FreeVars: ast.Identifiers{ + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(20), + }, + End: ast.Location{ + Line: int(987), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "cp", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(975), + Line: int(987), Column: int(15), }, End: ast.Location{ - Line: int(975), + Line: int(987), Column: int(37), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(9), - }, - End: ast.Location{ - Line: int(979), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "cp", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(12), - }, - End: ast.Location{ - Line: int(976), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(12), - }, - End: ast.Location{ - Line: int(976), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(12), - }, - End: ast.Location{ - Line: int(976), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(17), - }, - End: ast.Location{ - Line: int(976), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "32", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(24), - }, - End: ast.Location{ - Line: int(976), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(24), - }, - End: ast.Location{ - Line: int(976), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(24), - }, - End: ast.Location{ - Line: int(976), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(30), - }, - End: ast.Location{ - Line: int(976), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "127", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(37), - }, - End: ast.Location{ - Line: int(976), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(37), - }, - End: ast.Location{ - Line: int(976), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), Right: &ast.LiteralNumber{ + OriginalString: "159", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(976), + Line: int(988), Column: int(43), }, End: ast.Location{ - Line: int(976), + Line: int(988), Column: int(46), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(37), + }, + End: ast.Location{ + Line: int(988), + Column: int(39), + }, + }, }, - OriginalString: "159", }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(11), - }, - End: ast.Location{ - Line: int(977), - Column: int(27), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "cp", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(988), + Column: int(37), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(988), + Column: int(46), }, - File: nil, }, + }, + Op: ast.BinaryOp(10), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "127", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(30), + }, + End: ast.Location{ + Line: int(988), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(24), + }, + End: ast.Location{ + Line: int(988), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(24), + }, + End: ast.Location{ + Line: int(988), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(24), + }, + End: ast.Location{ + Line: int(988), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "32", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(17), + }, + End: ast.Location{ + Line: int(988), + Column: int(19), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cp", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(12), + }, + End: ast.Location{ + Line: int(988), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(12), + }, + End: ast.Location{ + Line: int(988), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(12), + }, + End: ast.Location{ + Line: int(988), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "$std", }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -134905,167 +137591,541 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - Value: "mod", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: nil, + LeftBracketFodder: nil, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\\u%04x", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(11), - }, - End: ast.Location{ - Line: int(977), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p10344, + Ctx: p10589, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(11), + }, + End: ast.Location{ + Line: int(989), + Column: int(20), + }, + }, }, - Value: "\\u%04x", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(23), - }, - End: ast.Location{ - Line: int(977), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10344, - FreeVars: ast.Identifiers{ - "cp", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "cp", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(24), - }, - End: ast.Location{ - Line: int(977), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10466, + Ctx: p10689, FreeVars: ast.Identifiers{ "cp", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(24), + }, + End: ast.Location{ + Line: int(989), + Column: int(26), + }, + }, }, - Id: "cp", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(23), + }, + End: ast.Location{ + Line: int(989), + Column: int(27), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "cp", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(979), + Line: int(989), Column: int(11), }, End: ast.Location{ - Line: int(979), - Column: int(13), + Line: int(989), + Column: int(27), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p10344, + Ctx: p10589, FreeVars: ast.Identifiers{ "ch", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(991), + Column: int(11), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, }, - Id: "ch", + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "cp", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(9), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(9), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(984), + Column: int(12), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(982), + Column: int(12), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(12), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(978), + Column: int(12), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(976), + Column: int(12), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(974), + Column: int(12), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p10589, + FreeVars: ast.Identifiers{ + "$std", + "ch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(972), + Column: int(7), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "ch", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(971), + Column: int(17), + }, + End: ast.Location{ + Line: int(971), + Column: int(19), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p10717, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(971), + Column: int(11), + }, + End: ast.Location{ + Line: int(991), + Column: int(13), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "trans", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -135075,36 +138135,67 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(5), - }, - End: ast.Location{ - Line: int(980), - Column: int(70), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -135114,169 +138205,80 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\"%s\"", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(5), - }, - End: ast.Location{ - Line: int(980), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p10319, + Ctx: p10728, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(5), + }, + End: ast.Location{ + Line: int(992), + Column: int(11), + }, + }, }, - Value: "\"%s\"", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(14), - }, - End: ast.Location{ - Line: int(980), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10319, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(14), - }, - End: ast.Location{ - Line: int(980), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10319, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(14), - }, - End: ast.Location{ - Line: int(980), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(14), + }, + End: ast.Location{ + Line: int(992), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -135286,76 +138288,121 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10728, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(14), + }, + End: ast.Location{ + Line: int(992), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10737, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(980), + Line: int(992), Column: int(23), }, End: ast.Location{ - Line: int(980), + Line: int(992), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10491, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(27), - }, - End: ast.Location{ - Line: int(980), - Column: int(69), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -135365,290 +138412,203 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "trans", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "ch", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(28), - }, - End: ast.Location{ - Line: int(980), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10507, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - }, Target: &ast.Var{ + Id: "trans", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(28), - }, - End: ast.Location{ - Line: int(980), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10507, + Ctx: p10750, FreeVars: ast.Identifiers{ "trans", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(28), + }, + End: ast.Location{ + Line: int(992), + Column: int(33), + }, + }, }, - Id: "trans", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "ch", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(34), - }, - End: ast.Location{ - Line: int(980), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10513, + Ctx: p10754, FreeVars: ast.Identifiers{ "ch", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(34), + }, + End: ast.Location{ + Line: int(992), + Column: int(36), + }, + }, }, - Id: "ch", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10750, + FreeVars: ast.Identifiers{ + "ch", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(28), + }, + End: ast.Location{ + Line: int(992), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ch", + "trans", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "ch", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "trans", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(48), - }, - End: ast.Location{ - Line: int(980), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10491, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(48), - }, - End: ast.Location{ - Line: int(980), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10491, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(48), - }, - End: ast.Location{ - Line: int(980), - Column: int(51), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(48), + }, + End: ast.Location{ + Line: int(992), + Column: int(51), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -135658,810 +138618,910 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10737, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(48), + }, + End: ast.Location{ + Line: int(992), + Column: int(63), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(64), - }, - End: ast.Location{ - Line: int(980), - Column: int(67), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10524, + Ctx: p10768, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(64), + }, + End: ast.Location{ + Line: int(992), + Column: int(67), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10737, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(48), + }, + End: ast.Location{ + Line: int(992), + Column: int(68), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(27), + }, + End: ast.Location{ + Line: int(992), + Column: int(69), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10728, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(992), + Column: int(14), + }, + End: ast.Location{ + Line: int(992), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(957), - Column: int(3), - }, - End: ast.Location{ - Line: int(980), - Column: int(70), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(22), - }, - End: ast.Location{ - Line: int(982), - Column: int(25), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(983), - Column: int(5), - }, - End: ast.Location{ - Line: int(983), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10531, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(983), - Column: int(5), - }, - End: ast.Location{ - Line: int(983), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10531, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "trans", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(983), + Line: int(992), Column: int(5), }, End: ast.Location{ - Line: int(983), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, + Line: int(992), + Column: int(70), }, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", + TrailingComma: false, + TailStrict: false, }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(983), - Column: int(26), - }, - End: ast.Location{ - Line: int(983), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10541, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(3), - }, - End: ast.Location{ - Line: int(983), - Column: int(30), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringBash", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str_", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(985), - Column: int(20), - }, - End: ast.Location{ - Line: int(985), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(986), - Column: int(5), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p10549, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str_", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "str", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(986), - Column: int(17), - }, - End: ast.Location{ - Line: int(986), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10553, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(986), - Column: int(17), - }, - End: ast.Location{ - Line: int(986), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10553, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(986), - Column: int(17), - }, - End: ast.Location{ - Line: int(986), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "toString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(986), - Column: int(30), - }, - End: ast.Location{ - Line: int(986), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10562, - FreeVars: ast.Identifiers{ - "str_", - }, - }, - Id: "str_", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(986), - Column: int(11), - }, - End: ast.Location{ - Line: int(986), - Column: int(35), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p10728, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(987), + Line: int(971), Column: int(5), }, End: ast.Location{ Line: int(992), Column: int(70), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p10549, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", }, }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p10728, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(5), + }, + End: ast.Location{ + Line: int(992), + Column: int(70), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str_", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(969), + Column: int(20), + }, + End: ast.Location{ + Line: int(969), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(969), + Column: int(3), + }, + End: ast.Location{ + Line: int(992), + Column: int(70), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "escapeStringPython", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(995), + Column: int(5), + }, + End: ast.Location{ + Line: int(995), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10788, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(995), + Column: int(5), + }, + End: ast.Location{ + Line: int(995), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10792, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(995), + Column: int(26), + }, + End: ast.Location{ + Line: int(995), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10788, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(995), + Column: int(5), + }, + End: ast.Location{ + Line: int(995), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(994), + Column: int(22), + }, + End: ast.Location{ + Line: int(994), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(994), + Column: int(3), + }, + End: ast.Location{ + Line: int(995), + Column: int(30), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "escapeStringBash", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(17), + }, + End: ast.Location{ + Line: int(998), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "toString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10806, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(17), + }, + End: ast.Location{ + Line: int(998), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str_", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10810, + FreeVars: ast.Identifiers{ + "str_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(30), + }, + End: ast.Location{ + Line: int(998), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10806, + FreeVars: ast.Identifiers{ + "std", + "str_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(17), + }, + End: ast.Location{ + Line: int(998), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "str", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(11), + }, + End: ast.Location{ + Line: int(998), + Column: int(35), + }, + }, + }, + }, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "trans", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(11), - }, - End: ast.Location{ - Line: int(991), - Column: int(11), - }, - File: p1, - }, - Fodder: nil, - Ctx: p10569, - FreeVars: ast.Identifiers{}, - }, ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "'", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10819, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(16), + }, + End: ast.Location{ + Line: int(1000), + Column: int(19), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10819, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(10), + }, + End: ast.Location{ + Line: int(1000), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10819, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(10), + }, + End: ast.Location{ + Line: int(1000), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "'\"'\"'", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10819, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1001), + Column: int(9), + }, + End: ast.Location{ + Line: int(1001), + Column: int(18), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10819, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1003), + Column: int(9), + }, + End: ast.Location{ + Line: int(1003), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p10819, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(7), + }, + End: ast.Location{ + Line: int(1003), + Column: int(11), + }, + }, + }, + }, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "ch", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(987), + Line: int(999), Column: int(17), }, End: ast.Location{ - Line: int(987), + Line: int(999), Column: int(19), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p10832, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(999), + Column: int(11), + }, + End: ast.Location{ + Line: int(1003), + Column: int(11), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(7), - }, - End: ast.Location{ - Line: int(991), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p10573, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(10), - }, - End: ast.Location{ - Line: int(988), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10573, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(10), - }, - End: ast.Location{ - Line: int(988), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10573, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(16), - }, - End: ast.Location{ - Line: int(988), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10573, - FreeVars: ast.Identifiers{}, - }, - Value: "'", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(989), - Column: int(9), - }, - End: ast.Location{ - Line: int(989), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10573, - FreeVars: ast.Identifiers{}, - }, - Value: "'\"'\"'", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(991), - Column: int(9), - }, - End: ast.Location{ - Line: int(991), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10573, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - }, }, - Fun: nil, + EqFodder: nil, + Variable: "trans", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -136471,36 +139531,67 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(5), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -136510,169 +139601,80 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "'%s'", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(5), - }, - End: ast.Location{ - Line: int(992), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p10549, + Ctx: p10842, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(5), + }, + End: ast.Location{ + Line: int(1004), + Column: int(11), + }, + }, }, - Value: "'%s'", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(14), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10549, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(14), - }, - End: ast.Location{ - Line: int(992), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10549, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(14), - }, - End: ast.Location{ - Line: int(992), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(14), + }, + End: ast.Location{ + Line: int(1004), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -136682,64 +139684,427 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10842, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(14), + }, + End: ast.Location{ + Line: int(1004), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10851, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(992), + Line: int(1004), Column: int(23), }, End: ast.Location{ - Line: int(992), + Line: int(1004), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10605, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(27), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(992), - Column: int(69), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "trans", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10864, + FreeVars: ast.Identifiers{ + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(28), + }, + End: ast.Location{ + Line: int(1004), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10868, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(34), + }, + End: ast.Location{ + Line: int(1004), + Column: int(36), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10864, + FreeVars: ast.Identifiers{ + "ch", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(28), + }, + End: ast.Location{ + Line: int(1004), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ch", + "trans", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "ch", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "trans", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(48), + }, + End: ast.Location{ + Line: int(1004), + Column: int(51), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10851, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(48), + }, + End: ast.Location{ + Line: int(1004), + Column: int(63), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10882, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(64), + }, + End: ast.Location{ + Line: int(1004), + Column: int(67), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10851, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(48), + }, + End: ast.Location{ + Line: int(1004), + Column: int(68), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -136748,578 +140113,267 @@ var _StdAst = &ast.DesugaredObject{ "str", "trans", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(27), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1004), + Column: int(69), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "trans", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "ch", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(28), - }, - End: ast.Location{ - Line: int(992), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10621, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(28), - }, - End: ast.Location{ - Line: int(992), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10621, - FreeVars: ast.Identifiers{ - "trans", - }, - }, - Id: "trans", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(34), - }, - End: ast.Location{ - Line: int(992), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10627, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(48), - }, - End: ast.Location{ - Line: int(992), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10605, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(48), - }, - End: ast.Location{ - Line: int(992), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10605, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(48), - }, - End: ast.Location{ - Line: int(992), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(64), - }, - End: ast.Location{ - Line: int(992), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10638, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10842, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(14), + }, + End: ast.Location{ + Line: int(1004), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(5), + }, + End: ast.Location{ + Line: int(1004), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p10842, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(999), + Column: int(5), + }, + End: ast.Location{ + Line: int(1004), + Column: int(70), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p10842, + FreeVars: ast.Identifiers{ + "$std", + "std", + "str_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(5), + }, + End: ast.Location{ + Line: int(1004), + Column: int(70), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(985), - Column: int(3), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringDollars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "str_", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(994), - Column: int(23), + Line: int(997), + Column: int(20), }, End: ast.Location{ - Line: int(994), - Column: int(27), + Line: int(997), + Column: int(24), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(5), - }, - End: ast.Location{ - Line: int(1001), - Column: int(69), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(997), + Column: int(3), + }, + End: ast.Location{ + Line: int(1004), + Column: int(70), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "escapeStringDollars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p10646, - FreeVars: ast.Identifiers{ - "std", - "str_", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "str", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(17), - }, - End: ast.Location{ - Line: int(995), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10650, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(17), - }, - End: ast.Location{ - Line: int(995), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10650, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(17), - }, - End: ast.Location{ - Line: int(995), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1007), + Column: int(17), + }, + End: ast.Location{ + Line: int(1007), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "toString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -137329,315 +140383,324 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "toString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10903, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1007), + Column: int(17), + }, + End: ast.Location{ + Line: int(1007), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str_", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(30), - }, - End: ast.Location{ - Line: int(995), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10659, + Ctx: p10907, FreeVars: ast.Identifiers{ "str_", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1007), + Column: int(30), + }, + End: ast.Location{ + Line: int(1007), + Column: int(34), + }, + }, }, - Id: "str_", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10903, + FreeVars: ast.Identifiers{ + "std", + "str_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1007), + Column: int(17), + }, + End: ast.Location{ + Line: int(1007), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "str", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(995), + Line: int(1007), Column: int(11), }, End: ast.Location{ - Line: int(995), + Line: int(1007), Column: int(35), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(5), - }, - End: ast.Location{ - Line: int(1001), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p10646, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "trans", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(11), - }, - End: ast.Location{ - Line: int(1000), - Column: int(11), - }, - File: p1, - }, - Fodder: nil, - Ctx: p10666, - FreeVars: ast.Identifiers{}, - }, ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "$", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10916, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1009), + Column: int(16), + }, + End: ast.Location{ + Line: int(1009), + Column: int(19), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10916, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1009), + Column: int(10), + }, + End: ast.Location{ + Line: int(1009), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10916, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1009), + Column: int(10), + }, + End: ast.Location{ + Line: int(1009), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "$$", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10916, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1010), + Column: int(9), + }, + End: ast.Location{ + Line: int(1010), + Column: int(13), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Var{ + Id: "ch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p10916, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(9), + }, + End: ast.Location{ + Line: int(1012), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p10916, + FreeVars: ast.Identifiers{ + "ch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1009), + Column: int(7), + }, + End: ast.Location{ + Line: int(1012), + Column: int(11), + }, + }, + }, + }, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "ch", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(996), + Line: int(1008), Column: int(17), }, End: ast.Location{ - Line: int(996), + Line: int(1008), Column: int(19), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p10929, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1008), + Column: int(11), + }, + End: ast.Location{ + Line: int(1012), + Column: int(11), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(7), - }, - End: ast.Location{ - Line: int(1000), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p10670, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(10), - }, - End: ast.Location{ - Line: int(997), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10670, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(10), - }, - End: ast.Location{ - Line: int(997), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10670, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(16), - }, - End: ast.Location{ - Line: int(997), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10670, - FreeVars: ast.Identifiers{}, - }, - Value: "$", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(9), - }, - End: ast.Location{ - Line: int(998), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10670, - FreeVars: ast.Identifiers{}, - }, - Value: "$$", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1000), - Column: int(9), - }, - End: ast.Location{ - Line: int(1000), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10670, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - }, }, - Fun: nil, + EqFodder: nil, + Variable: "trans", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -137647,85 +140710,50 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(5), - }, - End: ast.Location{ - Line: int(1001), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10646, - FreeVars: ast.Identifiers{ - "std", - "str", - "trans", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(5), - }, - End: ast.Location{ - Line: int(1001), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10646, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(5), - }, - End: ast.Location{ - Line: int(1001), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(5), + }, + End: ast.Location{ + Line: int(1013), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "foldl", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -137735,284 +140763,264 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "foldl", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10936, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(5), + }, + End: ast.Location{ + Line: int(1013), + Column: int(14), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(15), - }, - End: ast.Location{ - Line: int(1001), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10693, - FreeVars: ast.Identifiers{ - "trans", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(24), - }, - End: ast.Location{ - Line: int(1001), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(27), - }, - End: ast.Location{ - Line: int(1001), - Column: int(28), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(30), - }, - End: ast.Location{ - Line: int(1001), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10697, - FreeVars: ast.Identifiers{ - "a", - "b", - "trans", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(30), - }, - End: ast.Location{ - Line: int(1001), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10697, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(34), - }, - End: ast.Location{ - Line: int(1001), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10697, - FreeVars: ast.Identifiers{ - "b", - "trans", - }, - }, Target: &ast.Var{ + Id: "trans", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(34), - }, - End: ast.Location{ - Line: int(1001), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10697, + Ctx: p10943, FreeVars: ast.Identifiers{ "trans", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(34), + }, + End: ast.Location{ + Line: int(1013), + Column: int(39), + }, + }, }, - Id: "trans", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(40), - }, - End: ast.Location{ - Line: int(1001), - Column: int(41), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10707, + Ctx: p10947, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(40), + }, + End: ast.Location{ + Line: int(1013), + Column: int(41), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10943, + FreeVars: ast.Identifiers{ + "b", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(34), + }, + End: ast.Location{ + Line: int(1013), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10943, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(30), + }, + End: ast.Location{ + Line: int(1013), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10943, + FreeVars: ast.Identifiers{ + "a", + "b", + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(30), + }, + End: ast.Location{ + Line: int(1013), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(24), + }, + End: ast.Location{ + Line: int(1013), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(27), + }, + End: ast.Location{ + Line: int(1013), + Column: int(28), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10954, + FreeVars: ast.Identifiers{ + "trans", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(15), + }, + End: ast.Location{ + Line: int(1013), + Column: int(42), + }, + }, + }, + TrailingComma: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(44), - }, - End: ast.Location{ - Line: int(1001), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10693, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(44), - }, - End: ast.Location{ - Line: int(1001), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10693, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(44), - }, - End: ast.Location{ - Line: int(1001), - Column: int(47), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(44), + }, + End: ast.Location{ + Line: int(1013), + Column: int(47), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -138022,1425 +141030,1139 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10954, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(44), + }, + End: ast.Location{ + Line: int(1013), + Column: int(59), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(60), - }, - End: ast.Location{ - Line: int(1001), - Column: int(63), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10718, + Ctx: p10964, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(60), + }, + End: ast.Location{ + Line: int(1013), + Column: int(63), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10954, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1013), + Column: int(44), + }, + End: ast.Location{ + Line: int(1013), + Column: int(64), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10954, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1001), + Line: int(1013), Column: int(66), }, End: ast.Location{ - Line: int(1001), + Line: int(1013), Column: int(68), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10693, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(3), - }, - End: ast.Location{ - Line: int(1001), - Column: int(69), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(16), - }, - End: ast.Location{ - Line: int(1003), - Column: int(21), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(25), - }, - End: ast.Location{ - Line: int(1003), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10726, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(25), - }, - End: ast.Location{ - Line: int(1003), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10726, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(25), - }, - End: ast.Location{ - Line: int(1003), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: nil, + Ctx: p10936, FreeVars: ast.Identifiers{ "std", + "str", + "trans", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1013), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1013), + Column: int(69), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "manifestJsonEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + TrailingComma: false, + TailStrict: false, }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(44), - }, - End: ast.Location{ - Line: int(1003), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10735, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(51), - }, - End: ast.Location{ - Line: int(1003), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10735, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(3), - }, - End: ast.Location{ - Line: int(1003), - Column: int(58), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestJsonMinified", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(24), - }, - End: ast.Location{ - Line: int(1005), - Column: int(29), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(33), - }, - End: ast.Location{ - Line: int(1005), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10743, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(33), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - End: ast.Location{ - Line: int(1005), - Column: int(51), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10743, + Ctx: p10936, FreeVars: ast.Identifiers{ "std", + "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(33), - }, - End: ast.Location{ - Line: int(1005), - Column: int(36), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1008), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1013), + Column: int(69), }, }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestJsonEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(52), - }, - End: ast.Location{ - Line: int(1005), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10752, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(59), - }, - End: ast.Location{ - Line: int(1005), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10752, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(63), - }, - End: ast.Location{ - Line: int(1005), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10752, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(67), - }, - End: ast.Location{ - Line: int(1005), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10752, - FreeVars: ast.Identifiers{}, - }, - Value: ":", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(3), - }, - End: ast.Location{ - Line: int(1005), - Column: int(71), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestJsonEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(18), - }, - End: ast.Location{ - Line: int(1007), - Column: int(23), - }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(25), - }, - End: ast.Location{ - Line: int(1007), - Column: int(31), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "newline", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(41), - }, - End: ast.Location{ - Line: int(1007), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10762, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(33), - }, - End: ast.Location{ - Line: int(1007), - Column: int(45), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key_val_sep", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(59), - }, - End: ast.Location{ - Line: int(1007), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10762, - FreeVars: ast.Identifiers{}, - }, - Value: ": ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(47), - }, - End: ast.Location{ - Line: int(1007), - Column: int(63), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(5), - }, - End: ast.Location{ - Line: int(1042), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p10762, + Ctx: p10936, + FreeVars: ast.Identifiers{ + "std", + "str_", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1007), + Column: int(5), + }, + End: ast.Location{ + Line: int(1013), + Column: int(69), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str_", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1006), + Column: int(23), + }, + End: ast.Location{ + Line: int(1006), + Column: int(27), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1006), + Column: int(3), + }, + End: ast.Location{ + Line: int(1013), + Column: int(69), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1015), + Column: int(25), + }, + End: ast.Location{ + Line: int(1015), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "manifestJsonEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10982, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1015), + Column: int(25), + }, + End: ast.Location{ + Line: int(1015), + Column: int(43), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10986, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1015), + Column: int(44), + }, + End: ast.Location{ + Line: int(1015), + Column: int(49), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10986, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1015), + Column: int(51), + }, + End: ast.Location{ + Line: int(1015), + Column: int(57), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10982, FreeVars: ast.Identifiers{ - "$std", - "indent", - "key_val_sep", - "newline", "std", "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1015), + Column: int(25), + }, + End: ast.Location{ + Line: int(1015), + Column: int(58), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1015), + Column: int(16), + }, + End: ast.Location{ + Line: int(1015), + Column: int(21), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1015), + Column: int(3), + }, + End: ast.Location{ + Line: int(1015), + Column: int(58), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestJsonMinified", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(33), + }, + End: ast.Location{ + Line: int(1017), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "manifestJsonEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10999, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(33), + }, + End: ast.Location{ + Line: int(1017), + Column: int(51), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11003, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(52), + }, + End: ast.Location{ + Line: int(1017), + Column: int(57), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11003, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(59), + }, + End: ast.Location{ + Line: int(1017), + Column: int(61), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11003, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(63), + }, + End: ast.Location{ + Line: int(1017), + Column: int(65), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: ":", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11003, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(67), + }, + End: ast.Location{ + Line: int(1017), + Column: int(70), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p10999, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(33), + }, + End: ast.Location{ + Line: int(1017), + Column: int(71), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(24), + }, + End: ast.Location{ + Line: int(1017), + Column: int(29), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1017), + Column: int(3), + }, + End: ast.Location{ + Line: int(1017), + Column: int(71), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestJsonEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(11), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, - Fodder: nil, - Ctx: p10769, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "indent", - "key_val_sep", - "newline", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(15), - }, - End: ast.Location{ - Line: int(1008), - Column: int(16), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(18), - }, - End: ast.Location{ - Line: int(1008), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(24), - }, - End: ast.Location{ - Line: int(1008), - Column: int(31), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1009), - Column: int(7), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1009), - Column: int(10), - }, - End: ast.Location{ - Line: int(1009), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1009), - Column: int(10), - }, - End: ast.Location{ - Line: int(1009), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1009), + Line: int(1021), Column: int(15), }, End: ast.Location{ - Line: int(1009), + Line: int(1021), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{}, }, Value: true, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1021), + Column: int(10), + }, + End: ast.Location{ + Line: int(1021), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1010), - Column: int(9), + Line: int(1021), + Column: int(10), }, End: ast.Location{ - Line: int(1010), - Column: int(15), + Line: int(1021), + Column: int(19), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "true", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p10774, + Ctx: p11019, FreeVars: ast.Identifiers{}, - }, - Value: "true", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1011), - Column: int(12), + Line: int(1022), + Column: int(9), }, End: ast.Location{ - Line: int(1041), - Column: int(28), + Line: int(1022), + Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1011), - Column: int(15), - }, - End: ast.Location{ - Line: int(1011), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1011), - Column: int(15), - }, - End: ast.Location{ - Line: int(1011), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1011), + Line: int(1023), Column: int(20), }, End: ast.Location{ - Line: int(1011), + Line: int(1023), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{}, }, Value: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1023), + Column: int(15), + }, + End: ast.Location{ + Line: int(1023), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1012), - Column: int(9), + Line: int(1023), + Column: int(15), }, End: ast.Location{ - Line: int(1012), - Column: int(16), + Line: int(1023), + Column: int(25), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "false", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p10774, + Ctx: p11019, FreeVars: ast.Identifiers{}, - }, - Value: "false", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1013), - Column: int(12), + Line: int(1024), + Column: int(9), }, End: ast.Location{ - Line: int(1041), - Column: int(28), + Line: int(1024), + Column: int(16), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(15), - }, - End: ast.Location{ - Line: int(1013), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(15), - }, - End: ast.Location{ - Line: int(1013), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1013), + Line: int(1025), Column: int(20), }, End: ast.Location{ - Line: int(1013), + Line: int(1025), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{}, }, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(9), - }, - End: ast.Location{ - Line: int(1014), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10774, - FreeVars: ast.Identifiers{}, - }, - Value: "null", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(12), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - }, - Cond: &ast.Apply{ + Left: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1015), + Line: int(1025), Column: int(15), }, End: ast.Location{ - Line: int(1015), - Column: int(30), + Line: int(1025), + Column: int(16), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(15), - }, - End: ast.Location{ - Line: int(1015), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1025), + Column: int(15), }, + End: ast.Location{ + Line: int(1025), + Column: int(24), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "null", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11019, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1026), + Column: int(9), + }, + End: ast.Location{ + Line: int(1026), + Column: int(15), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(15), - }, - End: ast.Location{ - Line: int(1015), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1027), + Column: int(15), + }, + End: ast.Location{ + Line: int(1027), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -139450,369 +142172,199 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1027), + Column: int(15), + }, + End: ast.Location{ + Line: int(1027), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(28), - }, - End: ast.Location{ - Line: int(1015), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10815, + Ctx: p11050, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1027), + Column: int(28), + }, + End: ast.Location{ + Line: int(1027), + Column: int(29), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(9), - }, - End: ast.Location{ - Line: int(1016), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10774, + Ctx: p11019, FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(9), - }, - End: ast.Location{ - Line: int(1016), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10774, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(14), - }, - End: ast.Location{ - Line: int(1016), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(12), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(15), - }, - End: ast.Location{ - Line: int(1017), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1027), + Column: int(15), }, + End: ast.Location{ + Line: int(1027), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Binary{ + Right: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p10774, + Ctx: p11019, FreeVars: ast.Identifiers{ - "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(15), - }, - End: ast.Location{ - Line: int(1017), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(15), - }, - End: ast.Location{ - Line: int(1017), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(28), - }, - End: ast.Location{ - Line: int(1017), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10835, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1018), + Line: int(1028), + Column: int(14), + }, + End: ast.Location{ + Line: int(1028), + Column: int(15), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11019, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1028), Column: int(9), }, End: ast.Location{ - Line: int(1018), - Column: int(32), + Line: int(1028), + Column: int(11), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1018), - Column: int(9), - }, - End: ast.Location{ - Line: int(1018), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1028), + Column: int(9), }, + End: ast.Location{ + Line: int(1028), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1018), - Column: int(9), - }, - End: ast.Location{ - Line: int(1018), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(15), + }, + End: ast.Location{ + Line: int(1029), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -139822,159 +142374,257 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "escapeStringJson", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(15), + }, + End: ast.Location{ + Line: int(1029), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1018), - Column: int(30), - }, - End: ast.Location{ - Line: int(1018), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10847, + Ctx: p11068, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(28), + }, + End: ast.Location{ + Line: int(1029), + Column: int(29), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(12), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10774, + Ctx: p11019, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(15), - }, - End: ast.Location{ - Line: int(1019), - Column: int(32), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1029), + Column: int(30), }, }, - Target: &ast.Index{ + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(15), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - End: ast.Location{ - Line: int(1019), - Column: int(29), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10774, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(15), - }, - End: ast.Location{ - Line: int(1019), - Column: int(18), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(9), }, + End: ast.Location{ + Line: int(1030), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(9), + }, + End: ast.Location{ + Line: int(1030), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11080, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(30), + }, + End: ast.Location{ + Line: int(1030), + Column: int(31), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(9), + }, + End: ast.Location{ + Line: int(1030), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(15), + }, + End: ast.Location{ + Line: int(1031), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -139984,256 +142634,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(15), + }, + End: ast.Location{ + Line: int(1031), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(30), - }, - End: ast.Location{ - Line: int(1019), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10861, + Ctx: p11092, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(30), + }, + End: ast.Location{ + Line: int(1031), + Column: int(31), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(9), - }, - End: ast.Location{ - Line: int(1020), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(15), - }, - End: ast.Location{ - Line: int(1020), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(15), - }, - End: ast.Location{ - Line: int(1020), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{}, - }, - Value: "Tried to manifest function at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(50), - }, - End: ast.Location{ - Line: int(1020), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(12), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10774, + Ctx: p11019, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(15), - }, - End: ast.Location{ - Line: int(1021), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1031), + Column: int(32), }, }, - Target: &ast.Index{ + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "path", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "path", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1021), + Line: int(1032), + Column: int(50), + }, + End: ast.Location{ + Line: int(1032), + Column: int(54), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Tried to manifest function at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1032), Column: int(15), }, End: ast.Location{ - Line: int(1021), - Column: int(26), + Line: int(1032), + Column: int(47), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1032), + Column: int(15), + }, + End: ast.Location{ + Line: int(1032), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1032), + Column: int(9), + }, + End: ast.Location{ + Line: int(1032), + Column: int(54), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(15), - }, - End: ast.Location{ - Line: int(1021), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1033), + Column: int(15), + }, + End: ast.Location{ + Line: int(1033), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -140243,163 +142857,127 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1033), + Column: int(15), + }, + End: ast.Location{ + Line: int(1033), + Column: int(26), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(27), - }, - End: ast.Location{ - Line: int(1021), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10883, + Ctx: p11112, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1033), + Column: int(27), + }, + End: ast.Location{ + Line: int(1033), + Column: int(28), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(9), - }, - End: ast.Location{ - Line: int(1031), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10774, + Fodder: ast.Fodder{}, + Ctx: p11019, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "newline", - "path", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1033), + Column: int(15), + }, + End: ast.Location{ + Line: int(1033), + Column: int(29), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "range", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(23), - }, - End: ast.Location{ - Line: int(1022), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10890, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(23), - }, - End: ast.Location{ - Line: int(1022), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10890, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(23), - }, - End: ast.Location{ - Line: int(1022), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(23), + }, + End: ast.Location{ + Line: int(1034), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -140409,135 +142987,115 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "range", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11122, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(23), + }, + End: ast.Location{ + Line: int(1034), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11126, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1022), + Line: int(1034), Column: int(33), }, End: ast.Location{ - Line: int(1022), + Line: int(1034), Column: int(34), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10899, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(36), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11126, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(52), + }, + End: ast.Location{ + Line: int(1034), + Column: int(53), + }, }, - End: ast.Location{ - Line: int(1022), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10899, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(36), - }, - End: ast.Location{ - Line: int(1022), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10899, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(36), - }, - End: ast.Location{ - Line: int(1022), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10899, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(36), - }, - End: ast.Location{ - Line: int(1022), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(36), + }, + End: ast.Location{ + Line: int(1034), + Column: int(39), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -140547,285 +143105,1306 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11126, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(36), + }, + End: ast.Location{ + Line: int(1034), + Column: int(46), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(47), - }, - End: ast.Location{ - Line: int(1022), - Column: int(48), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p10911, + Ctx: p11137, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(47), + }, + End: ast.Location{ + Line: int(1034), + Column: int(48), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11126, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1022), - Column: int(52), + Line: int(1034), + Column: int(36), }, End: ast.Location{ - Line: int(1022), - Column: int(53), + Line: int(1034), + Column: int(49), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10899, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11126, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(36), + }, + End: ast.Location{ + Line: int(1034), + Column: int(53), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11122, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(23), + }, + End: ast.Location{ + Line: int(1034), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "range", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1022), + Line: int(1034), Column: int(15), }, End: ast.Location{ - Line: int(1022), + Line: int(1034), Column: int(54), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(9), - }, - End: ast.Location{ - Line: int(1031), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "newline", - "path", - "range", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "new_indent", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(28), + Right: &ast.Var{ + Id: "indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11146, + FreeVars: ast.Identifiers{ + "indent", }, - End: ast.Location{ - Line: int(1023), - Column: int(44), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1035), + Column: int(38), + }, + End: ast.Location{ + Line: int(1035), + Column: int(44), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11146, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1035), + Column: int(28), + }, + End: ast.Location{ + Line: int(1035), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p10919, + Ctx: p11146, FreeVars: ast.Identifiers{ "cindent", "indent", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(28), - }, - End: ast.Location{ - Line: int(1023), - Column: int(35), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1035), + Column: int(28), }, - Fodder: ast.Fodder{}, - Ctx: p10919, - FreeVars: ast.Identifiers{ - "cindent", + End: ast.Location{ + Line: int(1035), + Column: int(44), }, }, - Id: "cindent", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(38), - }, - End: ast.Location{ - Line: int(1023), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10919, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "new_indent", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1023), + Line: int(1035), Column: int(15), }, End: ast.Location{ - Line: int(1023), + Line: int(1035), Column: int(44), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(9), - }, - End: ast.Location{ - Line: int(1031), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "new_indent", - "newline", - "path", - "range", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "lines", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(23), + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "]", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11158, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(46), + }, + End: ast.Location{ + Line: int(1042), + Column: int(49), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11158, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(36), + }, + End: ast.Location{ + Line: int(1042), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "newline", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11158, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(26), + }, + End: ast.Location{ + Line: int(1042), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11158, + FreeVars: ast.Identifiers{ + "cindent", + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(26), + }, + End: ast.Location{ + Line: int(1042), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11158, + FreeVars: ast.Identifiers{ + "cindent", + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(26), + }, + End: ast.Location{ + Line: int(1042), + Column: int(49), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, }, - End: ast.Location{ - Line: int(1030), - Column: int(50), - }, - File: p1, }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11166, + FreeVars: ast.Identifiers{ + "cindent", + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(25), + }, + End: ast.Location{ + Line: int(1042), + Column: int(50), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(25), + }, + End: ast.Location{ + Line: int(1037), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11166, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(25), + }, + End: ast.Location{ + Line: int(1037), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "newline", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(41), + }, + End: ast.Location{ + Line: int(1037), + Column: int(48), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: ",", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(35), + }, + End: ast.Location{ + Line: int(1037), + Column: int(38), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(35), + }, + End: ast.Location{ + Line: int(1037), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11184, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(34), + }, + End: ast.Location{ + Line: int(1037), + Column: int(49), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11201, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(50), + }, + End: ast.Location{ + Line: int(1039), + Column: int(53), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11206, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(54), + }, + End: ast.Location{ + Line: int(1039), + Column: int(55), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11206, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(56), + }, + End: ast.Location{ + Line: int(1039), + Column: int(57), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11206, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(54), + }, + End: ast.Location{ + Line: int(1039), + Column: int(58), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11215, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(68), + }, + End: ast.Location{ + Line: int(1039), + Column: int(69), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11206, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(67), + }, + End: ast.Location{ + Line: int(1039), + Column: int(70), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11206, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(60), + }, + End: ast.Location{ + Line: int(1039), + Column: int(64), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11206, + FreeVars: ast.Identifiers{ + "i", + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(60), + }, + End: ast.Location{ + Line: int(1039), + Column: int(70), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "new_indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11206, + FreeVars: ast.Identifiers{ + "new_indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(72), + }, + End: ast.Location{ + Line: int(1039), + Column: int(82), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11201, + FreeVars: ast.Identifiers{ + "aux", + "i", + "new_indent", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(50), + }, + End: ast.Location{ + Line: int(1039), + Column: int(83), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "new_indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11201, + FreeVars: ast.Identifiers{ + "new_indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(37), + }, + End: ast.Location{ + Line: int(1039), + Column: int(47), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11201, + FreeVars: ast.Identifiers{ + "aux", + "i", + "new_indent", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(37), + }, + End: ast.Location{ + Line: int(1039), + Column: int(83), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(35), + }, + }, + Ctx: p11228, + FreeVars: ast.Identifiers{ + "aux", + "i", + "new_indent", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(36), + }, + End: ast.Location{ + Line: int(1039), + Column: int(84), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "i", + "new_indent", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "new_indent", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "range", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11184, + FreeVars: ast.Identifiers{ + "range", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1040), + Column: int(45), + }, + End: ast.Location{ + Line: int(1040), + Column: int(50), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "new_indent", + "path", + "range", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1038), + Column: int(34), + }, + End: ast.Location{ + Line: int(1041), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11166, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "new_indent", + "newline", + "path", + "range", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(25), + }, + End: ast.Location{ + Line: int(1041), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "newline", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11241, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1036), + Column: int(30), + }, + End: ast.Location{ + Line: int(1036), + Column: int(37), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "[", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11241, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1036), + Column: int(24), + }, + End: ast.Location{ + Line: int(1036), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11241, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1036), + Column: int(24), + }, + End: ast.Location{ + Line: int(1036), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11166, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1036), + Column: int(23), + }, + End: ast.Location{ + Line: int(1036), + Column: int(38), + }, + }, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(22), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11166, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "new_indent", + "newline", + "path", + "range", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1036), + Column: int(23), + }, + End: ast.Location{ + Line: int(1041), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(22), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p10930, + Ctx: p11166, FreeVars: ast.Identifiers{ "$std", "aux", @@ -140837,1147 +144416,80 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(23), - }, - End: ast.Location{ - Line: int(1029), - Column: int(36), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1036), + Column: int(23), }, - Fodder: ast.Fodder{}, - Ctx: p10930, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "new_indent", - "newline", - "path", - "range", - "std", - "v", + End: ast.Location{ + Line: int(1042), + Column: int(50), }, }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(23), - }, - End: ast.Location{ - Line: int(1024), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10930, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(24), - }, - End: ast.Location{ - Line: int(1024), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10938, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(24), - }, - End: ast.Location{ - Line: int(1024), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10938, - FreeVars: ast.Identifiers{}, - }, - Value: "[", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(30), - }, - End: ast.Location{ - Line: int(1024), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10938, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Id: "newline", - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(25), - }, - End: ast.Location{ - Line: int(1029), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10930, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "new_indent", - "newline", - "path", - "range", - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(25), - }, - End: ast.Location{ - Line: int(1025), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10930, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(25), - }, - End: ast.Location{ - Line: int(1025), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(34), - }, - End: ast.Location{ - Line: int(1025), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10953, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(35), - }, - End: ast.Location{ - Line: int(1025), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10957, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(35), - }, - End: ast.Location{ - Line: int(1025), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10957, - FreeVars: ast.Identifiers{}, - }, - Value: ",", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(41), - }, - End: ast.Location{ - Line: int(1025), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10957, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Id: "newline", - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1026), - Column: int(34), - }, - End: ast.Location{ - Line: int(1029), - Column: int(35), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "new_indent", - "path", - "range", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "new_indent", - "path", - "v", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(36), - }, - End: ast.Location{ - Line: int(1027), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(35), - Comment: []string{}, - }, - }, - Ctx: p10978, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(37), - }, - End: ast.Location{ - Line: int(1027), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10982, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(37), - }, - End: ast.Location{ - Line: int(1027), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10982, - FreeVars: ast.Identifiers{ - "new_indent", - }, - }, - Id: "new_indent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(50), - }, - End: ast.Location{ - Line: int(1027), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10982, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(50), - }, - End: ast.Location{ - Line: int(1027), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10982, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(54), - }, - End: ast.Location{ - Line: int(1027), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10992, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(54), - }, - End: ast.Location{ - Line: int(1027), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10992, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(56), - }, - End: ast.Location{ - Line: int(1027), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10992, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(60), - }, - End: ast.Location{ - Line: int(1027), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10992, - FreeVars: ast.Identifiers{ - "i", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(60), - }, - End: ast.Location{ - Line: int(1027), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10992, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(67), - }, - End: ast.Location{ - Line: int(1027), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10992, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(68), - }, - End: ast.Location{ - Line: int(1027), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11006, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(72), - }, - End: ast.Location{ - Line: int(1027), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10992, - FreeVars: ast.Identifiers{ - "new_indent", - }, - }, - Id: "new_indent", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(45), - }, - End: ast.Location{ - Line: int(1028), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10953, - FreeVars: ast.Identifiers{ - "range", - }, - }, - Id: "range", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - Comment: []string{}, - }, }, Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(25), - }, - End: ast.Location{ - Line: int(1030), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10930, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(26), - }, - End: ast.Location{ - Line: int(1030), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11017, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(26), - }, - End: ast.Location{ - Line: int(1030), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11017, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(26), - }, - End: ast.Location{ - Line: int(1030), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11017, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Id: "newline", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(36), - }, - End: ast.Location{ - Line: int(1030), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11017, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(46), - }, - End: ast.Location{ - Line: int(1030), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11017, - FreeVars: ast.Identifiers{}, - }, - Value: "]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "lines", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1024), + Line: int(1036), Column: int(15), }, End: ast.Location{ - Line: int(1030), + Line: int(1042), Column: int(50), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(9), - }, - End: ast.Location{ - Line: int(1031), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(9), - }, - End: ast.Location{ - Line: int(1031), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(9), - }, - End: ast.Location{ - Line: int(1031), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1043), + Column: int(9), + }, + End: ast.Location{ + Line: int(1043), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -141987,188 +144499,254 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1043), + Column: int(9), + }, + End: ast.Location{ + Line: int(1043), + Column: int(17), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11259, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1031), + Line: int(1043), Column: int(18), }, End: ast.Location{ - Line: int(1031), + Line: int(1043), Column: int(20), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11036, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "lines", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(22), - }, - End: ast.Location{ - Line: int(1031), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11036, + Ctx: p11259, FreeVars: ast.Identifiers{ "lines", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1043), + Column: int(22), + }, + End: ast.Location{ + Line: int(1043), + Column: int(27), + }, + }, }, - Id: "lines", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "lines", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1043), + Column: int(9), + }, + End: ast.Location{ + Line: int(1043), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "new_indent", + "newline", + "path", + "range", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1036), + Column: int(9), + }, + End: ast.Location{ + Line: int(1043), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "newline", + "path", + "range", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1035), + Column: int(9), + }, + End: ast.Location{ + Line: int(1043), + Column: int(28), + }, }, }, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(12), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p10774, + Ctx: p11019, FreeVars: ast.Identifiers{ "$std", "aux", "cindent", "indent", - "key_val_sep", "newline", "path", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(15), - }, - End: ast.Location{ - Line: int(1032), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1043), + Column: int(28), }, }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(15), - }, - End: ast.Location{ - Line: int(1032), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(15), - }, - End: ast.Location{ - Line: int(1032), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1044), + Column: int(15), + }, + End: ast.Location{ + Line: int(1044), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -142178,332 +144756,273 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1044), + Column: int(15), + }, + End: ast.Location{ + Line: int(1044), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(28), - }, - End: ast.Location{ - Line: int(1032), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11051, + Ctx: p11278, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1044), + Column: int(28), + }, + End: ast.Location{ + Line: int(1044), + Column: int(29), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(9), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p10774, + Fodder: ast.Fodder{}, + Ctx: p11019, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1044), + Column: int(15), + }, + End: ast.Location{ + Line: int(1044), + Column: int(30), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "lines", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(23), - }, - End: ast.Location{ - Line: int(1040), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11058, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(23), - }, - End: ast.Location{ - Line: int(1039), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11058, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(23), - }, - End: ast.Location{ - Line: int(1033), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11058, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "}", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11288, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1033), - Column: int(24), + Line: int(1052), + Column: int(46), }, End: ast.Location{ - Line: int(1033), - Column: int(37), + Line: int(1052), + Column: int(49), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11066, - FreeVars: ast.Identifiers{ - "newline", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(24), - }, - End: ast.Location{ - Line: int(1033), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11066, - FreeVars: ast.Identifiers{}, - }, - Value: "{", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ Right: &ast.Var{ + Id: "cindent", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11288, + FreeVars: ast.Identifiers{ + "cindent", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1033), - Column: int(30), + Line: int(1052), + Column: int(36), }, End: ast.Location{ - Line: int(1033), - Column: int(37), + Line: int(1052), + Column: int(43), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "newline", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p11066, + Ctx: p11288, FreeVars: ast.Identifiers{ "newline", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1052), + Column: int(26), + }, + End: ast.Location{ + Line: int(1052), + Column: int(33), + }, + }, }, - Id: "newline", }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(25), - }, - End: ast.Location{ - Line: int(1039), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11058, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(25), + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11288, + FreeVars: ast.Identifiers{ + "cindent", + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1052), + Column: int(26), + }, + End: ast.Location{ + Line: int(1052), + Column: int(43), + }, + }, }, - End: ast.Location{ - Line: int(1034), - Column: int(33), - }, - File: p1, + Op: ast.BinaryOp(3), }, - Fodder: ast.Fodder{}, - Ctx: p11058, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11288, + FreeVars: ast.Identifiers{ + "cindent", + "newline", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1034), - Column: int(25), + Line: int(1052), + Column: int(26), }, End: ast.Location{ - Line: int(1034), - Column: int(28), + Line: int(1052), + Column: int(49), }, - File: p1, }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "cindent", + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1052), + Column: int(25), + }, + End: ast.Location{ + Line: int(1052), + Column: int(50), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(25), + }, + End: ast.Location{ + Line: int(1046), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -142513,153 +145032,194 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(25), + }, + End: ast.Location{ + Line: int(1046), + Column: int(33), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(34), - }, - End: ast.Location{ - Line: int(1034), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11081, - FreeVars: ast.Identifiers{ - "newline", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(35), - }, - End: ast.Location{ - Line: int(1034), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11085, - FreeVars: ast.Identifiers{ - "newline", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(35), - }, - End: ast.Location{ - Line: int(1034), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11085, - FreeVars: ast.Identifiers{}, - }, - Value: ",", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Var{ + Id: "newline", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(41), - }, - End: ast.Location{ - Line: int(1034), - Column: int(48), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11085, + Ctx: p11310, FreeVars: ast.Identifiers{ "newline", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(41), + }, + End: ast.Location{ + Line: int(1046), + Column: int(48), + }, + }, }, - Id: "newline", }, + Left: &ast.LiteralString{ + Value: ",", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11310, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(35), + }, + End: ast.Location{ + Line: int(1046), + Column: int(38), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11310, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(35), + }, + End: ast.Location{ + Line: int(1046), + Column: int(48), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11314, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(34), + }, + End: ast.Location{ + Line: int(1046), + Column: int(49), + }, + }, + }, + TrailingComma: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(34), - }, - End: ast.Location{ - Line: int(1039), - Column: int(35), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "path", - "std", - "v", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -142669,131 +145229,672 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "key_val_sep", - "path", - "std", - "v", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(39), + }, + End: ast.Location{ + Line: int(1049), + Column: int(42), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(43), + }, + End: ast.Location{ + Line: int(1049), + Column: int(44), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(45), + }, + End: ast.Location{ + Line: int(1049), + Column: int(46), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(43), + }, + End: ast.Location{ + Line: int(1049), + Column: int(47), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11345, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(57), + }, + End: ast.Location{ + Line: int(1049), + Column: int(58), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(56), + }, + End: ast.Location{ + Line: int(1049), + Column: int(59), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(49), + }, + End: ast.Location{ + Line: int(1049), + Column: int(53), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "k", + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(49), + }, + End: ast.Location{ + Line: int(1049), + Column: int(59), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(71), + }, + End: ast.Location{ + Line: int(1049), + Column: int(77), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(61), + }, + End: ast.Location{ + Line: int(1049), + Column: int(68), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11336, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(61), + }, + End: ast.Location{ + Line: int(1049), + Column: int(77), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "k", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(39), + }, + End: ast.Location{ + Line: int(1049), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "key_val_sep", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "key_val_sep", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(82), + }, + End: ast.Location{ + Line: int(1048), + Column: int(93), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(56), + }, + End: ast.Location{ + Line: int(1048), + Column: int(59), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(56), + }, + End: ast.Location{ + Line: int(1048), + Column: int(76), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11370, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(77), + }, + End: ast.Location{ + Line: int(1048), + Column: int(78), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(56), + }, + End: ast.Location{ + Line: int(1048), + Column: int(79), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "indent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(47), + }, + End: ast.Location{ + Line: int(1048), + Column: int(53), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(37), + }, + End: ast.Location{ + Line: int(1048), + Column: int(44), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(37), + }, + End: ast.Location{ + Line: int(1048), + Column: int(53), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(37), + }, + End: ast.Location{ + Line: int(1048), + Column: int(79), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + "k", + "key_val_sep", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(37), + }, + End: ast.Location{ + Line: int(1048), + Column: int(93), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(36), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11331, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "k", + "key_val_sep", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(37), + }, + End: ast.Location{ + Line: int(1049), + Column: int(78), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(35), + }, + }, + Ctx: p11384, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "k", + "key_val_sep", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(36), + }, + End: ast.Location{ + Line: int(1049), + Column: int(79), + }, + }, + }, + TrailingComma: false, }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + CommaFodder: nil, }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -142806,734 +145907,106 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(36), - }, - End: ast.Location{ - Line: int(1037), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(35), - Comment: []string{}, - }, - }, - Ctx: p11106, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "key_val_sep", - "path", - "std", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(37), - }, - End: ast.Location{ - Line: int(1037), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "key_val_sep", - "path", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(37), - }, - End: ast.Location{ - Line: int(1036), - Column: int(93), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "k", - "key_val_sep", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(37), - }, - End: ast.Location{ - Line: int(1036), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "k", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(37), - }, - End: ast.Location{ - Line: int(1036), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(37), - }, - End: ast.Location{ - Line: int(1036), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(47), - }, - End: ast.Location{ - Line: int(1036), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(56), - }, - End: ast.Location{ - Line: int(1036), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(56), - }, - End: ast.Location{ - Line: int(1036), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(56), - }, - End: ast.Location{ - Line: int(1036), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(77), - }, - End: ast.Location{ - Line: int(1036), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11131, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(82), - }, - End: ast.Location{ - Line: int(1036), - Column: int(93), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "key_val_sep", - }, - }, - Id: "key_val_sep", - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(36), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(39), - }, - End: ast.Location{ - Line: int(1037), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "path", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(39), - }, - End: ast.Location{ - Line: int(1037), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11110, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(43), - }, - End: ast.Location{ - Line: int(1037), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(43), - }, - End: ast.Location{ - Line: int(1037), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(45), - }, - End: ast.Location{ - Line: int(1037), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(49), - }, - End: ast.Location{ - Line: int(1037), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(49), - }, - End: ast.Location{ - Line: int(1037), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(56), - }, - End: ast.Location{ - Line: int(1037), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(57), - }, - End: ast.Location{ - Line: int(1037), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11156, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(61), - }, - End: ast.Location{ - Line: int(1037), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(61), - }, - End: ast.Location{ - Line: int(1037), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(71), - }, - End: ast.Location{ - Line: int(1037), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11142, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - CommaFodder: nil, }, }, TrailingComma: false, - CloseFodder: nil, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "key_val_sep", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(45), - }, - End: ast.Location{ - Line: int(1038), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11081, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(45), - }, - End: ast.Location{ - Line: int(1038), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11081, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(45), - }, - End: ast.Location{ - Line: int(1038), - Column: int(48), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1050), + Column: int(45), + }, + End: ast.Location{ + Line: int(1050), + Column: int(48), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -143543,321 +146016,391 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11314, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1050), + Column: int(45), + }, + End: ast.Location{ + Line: int(1050), + Column: int(61), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(62), - }, - End: ast.Location{ - Line: int(1038), - Column: int(63), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11173, + Ctx: p11397, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1050), + Column: int(62), + }, + End: ast.Location{ + Line: int(1050), + Column: int(63), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11314, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1050), + Column: int(45), + }, + End: ast.Location{ + Line: int(1050), + Column: int(64), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1047), + Column: int(34), + }, + End: ast.Location{ + Line: int(1051), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(25), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", }, - End: ast.Location{ - Line: int(1040), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11058, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(26), - }, - End: ast.Location{ - Line: int(1040), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11180, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(25), }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(26), - }, - End: ast.Location{ - Line: int(1040), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11180, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - }, - Left: &ast.Var{ + End: ast.Location{ + Line: int(1051), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "newline", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(26), - }, - End: ast.Location{ - Line: int(1040), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11180, + Ctx: p11406, FreeVars: ast.Identifiers{ "newline", }, - }, - Id: "newline", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1040), - Column: int(36), + Line: int(1045), + Column: int(30), }, End: ast.Location{ - Line: int(1040), - Column: int(43), + Line: int(1045), + Column: int(37), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11180, - FreeVars: ast.Identifiers{ - "cindent", }, }, - Id: "cindent", }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ + Left: &ast.LiteralString{ + Value: "{", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11406, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1045), + Column: int(24), + }, + End: ast.Location{ + Line: int(1045), + Column: int(27), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11406, + FreeVars: ast.Identifiers{ + "newline", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1040), - Column: int(46), + Line: int(1045), + Column: int(24), }, End: ast.Location{ - Line: int(1040), - Column: int(49), + Line: int(1045), + Column: int(37), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11180, - FreeVars: ast.Identifiers{}, }, - Value: "}", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "newline", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1045), + Column: int(23), + }, + End: ast.Location{ + Line: int(1045), + Column: int(38), }, }, - CommaFodder: nil, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(22), }, }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1045), + Column: int(23), + }, + End: ast.Location{ + Line: int(1051), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(3), }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(22), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1045), + Column: int(23), + }, + End: ast.Location{ + Line: int(1052), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(3), }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "lines", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1033), + Line: int(1045), Column: int(15), }, End: ast.Location{ - Line: int(1040), + Line: int(1052), Column: int(50), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1041), - Column: int(9), - }, - End: ast.Location{ - Line: int(1041), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1041), - Column: int(9), - }, - End: ast.Location{ - Line: int(1041), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10774, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1041), - Column: int(9), - }, - End: ast.Location{ - Line: int(1041), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1053), + Column: int(9), + }, + End: ast.Location{ + Line: int(1053), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -143867,87 +146410,157 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1053), + Column: int(9), + }, + End: ast.Location{ + Line: int(1053), + Column: int(17), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11424, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1041), + Line: int(1053), Column: int(18), }, End: ast.Location{ - Line: int(1041), + Line: int(1053), Column: int(20), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11199, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "lines", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1041), - Column: int(22), - }, - End: ast.Location{ - Line: int(1041), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11199, + Ctx: p11424, FreeVars: ast.Identifiers{ "lines", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1053), + Column: int(22), + }, + End: ast.Location{ + Line: int(1053), + Column: int(27), + }, + }, }, - Id: "lines", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "lines", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1053), + Column: int(9), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1045), + Column: int(9), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, }, }, - ElseFodder: nil, BranchFalse: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -143957,25 +146570,396 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1044), + Column: int(12), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1033), + Column: int(12), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(12), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(12), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1027), + Column: int(12), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1025), + Column: int(12), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1023), + Column: int(12), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11019, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "indent", + "key_val_sep", + "newline", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1021), + Column: int(7), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(15), + }, + End: ast.Location{ + Line: int(1020), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "path", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(18), + }, + End: ast.Location{ + Line: int(1020), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cindent", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(24), + }, + End: ast.Location{ + Line: int(1020), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p11448, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "indent", + "key_val_sep", + "newline", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(11), + }, + End: ast.Location{ + Line: int(1053), + Column: int(28), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -143985,785 +146969,407 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(5), - }, - End: ast.Location{ - Line: int(1042), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p10762, - FreeVars: ast.Identifiers{ - "aux", - "value", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(5), - }, - End: ast.Location{ - Line: int(1042), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p10762, + Ctx: p11453, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(5), + }, + End: ast.Location{ + Line: int(1054), + Column: int(8), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(9), - }, - End: ast.Location{ - Line: int(1042), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11210, + Ctx: p11457, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(9), + }, + End: ast.Location{ + Line: int(1054), + Column: int(14), + }, + }, }, - Id: "value", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11457, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1042), + Line: int(1054), Column: int(16), }, End: ast.Location{ - Line: int(1042), + Line: int(1054), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11210, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11457, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1042), + Line: int(1054), Column: int(20), }, End: ast.Location{ - Line: int(1042), + Line: int(1054), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11210, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11453, + FreeVars: ast.Identifiers{ + "aux", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(5), + }, + End: ast.Location{ + Line: int(1054), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p11453, + FreeVars: ast.Identifiers{ + "$std", + "indent", + "key_val_sep", + "newline", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(5), + }, + End: ast.Location{ + Line: int(1054), + Column: int(23), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(3), - }, - End: ast.Location{ - Line: int(1042), - Column: int(23), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestYamlDoc", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "value", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1044), - Column: int(19), + Line: int(1019), + Column: int(18), }, End: ast.Location{ - Line: int(1044), - Column: int(24), + Line: int(1019), + Column: int(23), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "indent_array_in_object", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(49), - }, - End: ast.Location{ - Line: int(1044), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11219, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, + Name: "indent", CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1044), - Column: int(26), + Line: int(1019), + Column: int(25), }, End: ast.Location{ - Line: int(1044), - Column: int(54), + Line: int(1019), + Column: int(31), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "quote_keys", + Name: "newline", + CommaFodder: ast.Fodder{}, EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ + DefaultArg: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11453, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1044), - Column: int(67), + Line: int(1019), + Column: int(41), }, End: ast.Location{ - Line: int(1044), - Column: int(71), + Line: int(1019), + Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11219, - FreeVars: ast.Identifiers{}, }, - Value: true, + Kind: ast.LiteralStringKind(1), }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(33), + }, + End: ast.Location{ + Line: int(1019), + Column: int(45), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "key_val_sep", CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralString{ + Value: ": ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11453, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(59), + }, + End: ast.Location{ + Line: int(1019), + Column: int(63), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1044), - Column: int(56), + Line: int(1019), + Column: int(47), }, End: ast.Location{ - Line: int(1044), - Column: int(71), + Line: int(1019), + Column: int(63), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(3), + }, + End: ast.Location{ + Line: int(1054), + Column: int(23), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestYamlDoc", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p11219, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "quote_keys", - "std", - "value", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "onlyChars", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(11), - }, - End: ast.Location{ - Line: int(1048), - Column: int(17), - }, - File: p1, - }, - Fodder: nil, - Ctx: p11226, - FreeVars: ast.Identifiers{ - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "charSet", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(21), - }, - End: ast.Location{ - Line: int(1045), - Column: int(28), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "strSet", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(30), - }, - End: ast.Location{ - Line: int(1045), - Column: int(36), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(7), - }, - End: ast.Location{ - Line: int(1048), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11231, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(10), - }, - End: ast.Location{ - Line: int(1046), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11231, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(10), - }, - End: ast.Location{ - Line: int(1046), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11231, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - }, + Right: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(10), - }, - End: ast.Location{ - Line: int(1046), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11231, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(10), - }, - End: ast.Location{ - Line: int(1046), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(21), - }, - End: ast.Location{ - Line: int(1046), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11244, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(21), - }, - End: ast.Location{ - Line: int(1046), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11244, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(21), - }, - End: ast.Location{ - Line: int(1046), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "setInter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(34), - }, - End: ast.Location{ - Line: int(1046), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11253, - FreeVars: ast.Identifiers{ - "charSet", - }, - }, - Id: "charSet", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(43), - }, - End: ast.Location{ - Line: int(1046), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11253, - FreeVars: ast.Identifiers{ - "strSet", - }, - }, - Id: "strSet", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(55), - }, - End: ast.Location{ - Line: int(1046), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11231, - FreeVars: ast.Identifiers{ - "std", - "strSet", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(55), - }, - End: ast.Location{ - Line: int(1046), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11231, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), + Line: int(1058), Column: int(55), }, End: ast.Location{ - Line: int(1046), + Line: int(1058), Column: int(58), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -144773,118 +147379,522 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11480, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(55), + }, + End: ast.Location{ + Line: int(1058), + Column: int(65), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "strSet", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(66), - }, - End: ast.Location{ - Line: int(1046), - Column: int(72), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11266, + Ctx: p11484, FreeVars: ast.Identifiers{ "strSet", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(66), + }, + End: ast.Location{ + Line: int(1058), + Column: int(72), + }, + }, }, - Id: "strSet", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11480, + FreeVars: ast.Identifiers{ + "std", + "strSet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(55), + }, + End: ast.Location{ + Line: int(1058), + Column: int(73), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(10), + }, + End: ast.Location{ + Line: int(1058), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11480, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(10), + }, + End: ast.Location{ + Line: int(1058), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(21), + }, + End: ast.Location{ + Line: int(1058), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "setInter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11499, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(21), + }, + End: ast.Location{ + Line: int(1058), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "charSet", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11503, + FreeVars: ast.Identifiers{ + "charSet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(34), + }, + End: ast.Location{ + Line: int(1058), + Column: int(41), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "strSet", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11503, + FreeVars: ast.Identifiers{ + "strSet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(43), + }, + End: ast.Location{ + Line: int(1058), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11499, + FreeVars: ast.Identifiers{ + "charSet", + "std", + "strSet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(21), + }, + End: ast.Location{ + Line: int(1058), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11480, + FreeVars: ast.Identifiers{ + "charSet", + "std", + "strSet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(10), + }, + End: ast.Location{ + Line: int(1058), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11480, + FreeVars: ast.Identifiers{ + "charSet", + "std", + "strSet", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1047), - Column: int(9), + Line: int(1058), + Column: int(10), }, End: ast.Location{ - Line: int(1047), - Column: int(13), + Line: int(1058), + Column: int(73), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p11231, + Ctx: p11480, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1059), + Column: int(9), + }, + End: ast.Location{ + Line: int(1059), + Column: int(13), + }, + }, }, Value: true, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, BranchFalse: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11480, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1048), + Line: int(1060), Column: int(12), }, End: ast.Location{ - Line: int(1048), + Line: int(1060), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11231, - FreeVars: ast.Identifiers{}, }, Value: false, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11480, + FreeVars: ast.Identifiers{ + "charSet", + "std", + "strSet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1058), + Column: int(7), + }, + End: ast.Location{ + Line: int(1060), + Column: int(17), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "charSet", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1057), + Column: int(21), + }, + End: ast.Location{ + Line: int(1057), + Column: int(28), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "strSet", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1057), + Column: int(30), + }, + End: ast.Location{ + Line: int(1057), + Column: int(36), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p11517, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1057), + Column: int(11), + }, + End: ast.Location{ + Line: int(1060), + Column: int(17), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "onlyChars", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -144894,706 +147904,956 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p11219, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "onlyChars", - "quote_keys", - "std", - "value", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "isReserved", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(11), - }, - End: ast.Location{ - Line: int(1064), - Column: int(17), - }, - File: p1, - }, - Fodder: nil, - Ctx: p11277, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(22), - }, - End: ast.Location{ - Line: int(1049), - Column: int(25), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1053), - Column: int(7), - }, - End: ast.Location{ - Line: int(1064), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// NOTE: These values are checked for case insensitively.", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// While this approach results in some false positives, it eliminates", - }, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// the risk of missing a permutation.", - }, - }, - }, - Ctx: p11285, - FreeVars: ast.Identifiers{ - "$std", - "key", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "reserved", - EqFodder: ast.Fodder{}, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1053), - Column: int(24), - }, - End: ast.Location{ - Line: int(1060), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11289, - FreeVars: ast.Identifiers{}, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "true", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1055), - Column: int(9), - }, - End: ast.Location{ - Line: int(1055), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), Comment: []string{ "// Boolean types taken from https://yaml.org/type/bool.html", }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(8), }, }, - Ctx: p11294, + Ctx: p11529, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1067), + Column: int(9), + }, + End: ast.Location{ + Line: int(1067), + Column: int(15), + }, + }, }, - Value: "true", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "false", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(17), }, End: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "false", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "yes", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(26), }, End: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(31), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "yes", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "no", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(33), }, End: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(37), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "no", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "on", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(39), }, End: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(43), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "on", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "off", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(45), }, End: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(50), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "off", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "y", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(52), }, End: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(55), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "y", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(57), }, End: ast.Location{ - Line: int(1055), + Line: int(1067), Column: int(60), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: ".nan", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(9), - }, - End: ast.Location{ - Line: int(1057), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), Comment: []string{ "// Numerical words taken from https://yaml.org/type/float.html", }, - }, - }, - Ctx: p11294, - FreeVars: ast.Identifiers{}, - }, - Value: ".nan", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(17), - }, - End: ast.Location{ - Line: int(1057), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, - }, - Value: "-.inf", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(26), - }, - End: ast.Location{ - Line: int(1057), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, - }, - Value: "+.inf", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(35), - }, - End: ast.Location{ - Line: int(1057), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, - }, - Value: ".inf", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(43), - }, - End: ast.Location{ - Line: int(1057), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, - }, - Value: "null", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1059), - Column: int(9), - }, - End: ast.Location{ - Line: int(1059), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - ast.FodderElement{ Kind: ast.FodderKind(2), Blanks: int(0), Indent: int(8), + }, + }, + Ctx: p11529, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(9), + }, + End: ast.Location{ + Line: int(1069), + Column: int(15), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "-.inf", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(17), + }, + End: ast.Location{ + Line: int(1069), + Column: int(24), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "+.inf", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(26), + }, + End: ast.Location{ + Line: int(1069), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: ".inf", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(35), + }, + End: ast.Location{ + Line: int(1069), + Column: int(41), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "null", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(43), + }, + End: ast.Location{ + Line: int(1069), + Column: int(49), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + ast.FodderElement{ Comment: []string{ "// Invalid keys that contain no invalid characters", }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(8), }, }, - Ctx: p11294, + Ctx: p11529, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1071), + Column: int(9), + }, + End: ast.Location{ + Line: int(1071), + Column: int(12), + }, + }, }, - Value: "-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "---", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1059), + Line: int(1071), Column: int(14), }, End: ast.Location{ - Line: int(1059), + Line: int(1071), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "---", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11529, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1059), + Line: int(1071), Column: int(21), }, End: ast.Location{ - Line: int(1059), + Line: int(1071), Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11294, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, }, - TrailingComma: true, CloseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11550, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1065), + Column: int(24), + }, + End: ast.Location{ + Line: int(1072), + Column: int(8), + }, + }, + }, + TrailingComma: true, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "reserved", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1053), + Line: int(1065), Column: int(13), }, End: ast.Location{ - Line: int(1060), + Line: int(1072), Column: int(8), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(7), - }, - End: ast.Location{ - Line: int(1064), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11285, - FreeVars: ast.Identifiers{ - "$std", - "key", - "reserved", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "bad", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(19), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1061), - Column: int(77), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(57), + }, + End: ast.Location{ + Line: int(1073), + Column: int(60), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "asciiLower", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11568, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(57), + }, + End: ast.Location{ + Line: int(1073), + Column: int(71), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11572, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(72), + }, + End: ast.Location{ + Line: int(1073), + Column: int(75), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11568, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(57), + }, + End: ast.Location{ + Line: int(1073), + Column: int(76), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "word", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11568, + FreeVars: ast.Identifiers{ + "word", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(49), + }, + End: ast.Location{ + Line: int(1073), + Column: int(53), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11568, + FreeVars: ast.Identifiers{ + "key", + "std", + "word", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(49), + }, + End: ast.Location{ + Line: int(1073), + Column: int(76), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "word", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11581, + FreeVars: ast.Identifiers{ + "word", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(20), + }, + End: ast.Location{ + Line: int(1073), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "word", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "key", + "std", + "word", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "word", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "reserved", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11568, + FreeVars: ast.Identifiers{ + "reserved", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(37), + }, + End: ast.Location{ + Line: int(1073), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -145602,563 +148862,96 @@ var _StdAst = &ast.DesugaredObject{ "reserved", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(19), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1073), + Column: int(77), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "word", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "key", - "std", - "word", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(49), - }, - End: ast.Location{ - Line: int(1061), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11333, - FreeVars: ast.Identifiers{ - "key", - "std", - "word", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(49), - }, - End: ast.Location{ - Line: int(1061), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11333, - FreeVars: ast.Identifiers{ - "word", - }, - }, - Id: "word", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(57), - }, - End: ast.Location{ - Line: int(1061), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11333, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(57), - }, - End: ast.Location{ - Line: int(1061), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11333, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(57), - }, - End: ast.Location{ - Line: int(1061), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "asciiLower", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(72), - }, - End: ast.Location{ - Line: int(1061), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11346, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "word", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(20), - }, - End: ast.Location{ - Line: int(1061), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11352, - FreeVars: ast.Identifiers{ - "word", - }, - }, - Id: "word", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: nil, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(37), - }, - End: ast.Location{ - Line: int(1061), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11333, - FreeVars: ast.Identifiers{ - "reserved", - }, - }, - Id: "reserved", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "bad", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1061), + Line: int(1073), Column: int(13), }, End: ast.Location{ - Line: int(1061), + Line: int(1073), Column: int(77), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1062), - Column: int(7), - }, - End: ast.Location{ - Line: int(1064), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11285, - FreeVars: ast.Identifiers{ - "bad", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1062), - Column: int(10), + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11594, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(28), + }, + End: ast.Location{ + Line: int(1074), + Column: int(29), + }, }, - End: ast.Location{ - Line: int(1062), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11285, - FreeVars: ast.Identifiers{ - "bad", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1062), - Column: int(10), - }, - End: ast.Location{ - Line: int(1062), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11285, - FreeVars: ast.Identifiers{ - "bad", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1062), - Column: int(10), - }, - End: ast.Location{ - Line: int(1062), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11285, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1062), - Column: int(10), - }, - End: ast.Location{ - Line: int(1062), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(10), + }, + End: ast.Location{ + Line: int(1074), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -146168,142 +148961,328 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11594, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(10), + }, + End: ast.Location{ + Line: int(1074), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "bad", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1062), - Column: int(21), - }, - End: ast.Location{ - Line: int(1062), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11371, + Ctx: p11603, FreeVars: ast.Identifiers{ "bad", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(21), + }, + End: ast.Location{ + Line: int(1074), + Column: int(24), + }, + }, }, - Id: "bad", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11594, + FreeVars: ast.Identifiers{ + "bad", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1062), - Column: int(28), + Line: int(1074), + Column: int(10), }, End: ast.Location{ - Line: int(1062), - Column: int(29), + Line: int(1074), + Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11285, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11594, + FreeVars: ast.Identifiers{ + "bad", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1063), - Column: int(9), + Line: int(1074), + Column: int(10), }, End: ast.Location{ - Line: int(1063), - Column: int(13), + Line: int(1074), + Column: int(29), }, - File: p1, }, + }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p11285, + Ctx: p11594, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1075), + Column: int(9), + }, + End: ast.Location{ + Line: int(1075), + Column: int(13), + }, + }, }, Value: true, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, BranchFalse: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11594, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1064), + Line: int(1076), Column: int(12), }, End: ast.Location{ - Line: int(1064), + Line: int(1076), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11285, - FreeVars: ast.Identifiers{}, }, Value: false, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11594, + FreeVars: ast.Identifiers{ + "bad", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(7), + }, + End: ast.Location{ + Line: int(1076), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11594, + FreeVars: ast.Identifiers{ + "$std", + "key", + "reserved", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(7), + }, + End: ast.Location{ + Line: int(1076), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// NOTE: These values are checked for case insensitively.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// While this approach results in some false positives, it eliminates", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// the risk of missing a permutation.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11594, + FreeVars: ast.Identifiers{ + "$std", + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1065), + Column: int(7), + }, + End: ast.Location{ + Line: int(1076), + Column: int(17), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "key", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1061), + Column: int(22), + }, + End: ast.Location{ + Line: int(1061), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p11621, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1061), + Column: int(11), + }, + End: ast.Location{ + Line: int(1076), + Column: int(17), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "isReserved", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -146313,718 +149292,686 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1065), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p11219, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "isReserved", - "onlyChars", - "quote_keys", - "std", - "value", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "typeMatch", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1065), - Column: int(11), - }, - End: ast.Location{ - Line: int(1069), - Column: int(17), - }, - File: p1, - }, - Fodder: nil, - Ctx: p11383, - FreeVars: ast.Identifiers{ - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "m_key", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1065), - Column: int(21), - }, - End: ast.Location{ - Line: int(1065), - Column: int(26), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "type", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1065), - Column: int(28), - }, - End: ast.Location{ - Line: int(1065), - Column: int(32), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(7), - }, - End: ast.Location{ - Line: int(1069), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// Look for positive or negative numerical types (ex: 0x)", - }, - }, - }, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "m_key", - "std", - "type", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(10), + Right: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.Var{ + Id: "type", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "type", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(78), + }, + End: ast.Location{ + Line: int(1079), + Column: int(82), + }, + }, + }, }, - End: ast.Location{ - Line: int(1067), - Column: int(82), + Left: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(72), + }, + End: ast.Location{ + Line: int(1079), + Column: int(75), + }, + }, + }, + Kind: ast.LiteralStringKind(1), }, - File: p1, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "type", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(72), + }, + End: ast.Location{ + Line: int(1079), + Column: int(82), + }, + }, + }, + Op: ast.BinaryOp(3), }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(45), + }, + End: ast.Location{ + Line: int(1079), + Column: int(48), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "substr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(45), + }, + End: ast.Location{ + Line: int(1079), + Column: int(55), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "m_key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11643, + FreeVars: ast.Identifiers{ + "m_key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(56), + }, + End: ast.Location{ + Line: int(1079), + Column: int(61), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11643, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(63), + }, + End: ast.Location{ + Line: int(1079), + Column: int(64), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11643, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(66), + }, + End: ast.Location{ + Line: int(1079), + Column: int(67), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "m_key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(45), + }, + End: ast.Location{ + Line: int(1079), + Column: int(68), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "m_key", + "std", + "type", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(45), + }, + End: ast.Location{ + Line: int(1079), + Column: int(82), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "type", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "type", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(37), + }, + End: ast.Location{ + Line: int(1079), + Column: int(41), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(10), + }, + End: ast.Location{ + Line: int(1079), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "substr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(10), + }, + End: ast.Location{ + Line: int(1079), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "m_key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11660, + FreeVars: ast.Identifiers{ + "m_key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(21), + }, + End: ast.Location{ + Line: int(1079), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11660, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(28), + }, + End: ast.Location{ + Line: int(1079), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11660, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(31), + }, + End: ast.Location{ + Line: int(1079), + Column: int(32), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "m_key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(10), + }, + End: ast.Location{ + Line: int(1079), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "m_key", + "std", + "type", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(10), + }, + End: ast.Location{ + Line: int(1079), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p11389, + Ctx: p11631, FreeVars: ast.Identifiers{ "m_key", "std", "type", }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(10), - }, - End: ast.Location{ - Line: int(1067), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "m_key", - "std", - "type", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(10), - }, - End: ast.Location{ - Line: int(1067), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "m_key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(10), - }, - End: ast.Location{ - Line: int(1067), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(10), - }, - End: ast.Location{ - Line: int(1067), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(21), - }, - End: ast.Location{ - Line: int(1067), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11404, - FreeVars: ast.Identifiers{ - "m_key", - }, - }, - Id: "m_key", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(28), - }, - End: ast.Location{ - Line: int(1067), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11404, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(31), - }, - End: ast.Location{ - Line: int(1067), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11404, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(37), - }, - End: ast.Location{ - Line: int(1067), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "type", - }, - }, - Id: "type", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(45), - }, - End: ast.Location{ - Line: int(1067), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "m_key", - "std", - "type", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(45), - }, - End: ast.Location{ - Line: int(1067), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "m_key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(45), - }, - End: ast.Location{ - Line: int(1067), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(45), - }, - End: ast.Location{ - Line: int(1067), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(56), - }, - End: ast.Location{ - Line: int(1067), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11421, - FreeVars: ast.Identifiers{ - "m_key", - }, - }, - Id: "m_key", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(63), - }, - End: ast.Location{ - Line: int(1067), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11421, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(66), - }, - End: ast.Location{ - Line: int(1067), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11421, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(72), - }, - End: ast.Location{ - Line: int(1067), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "type", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(72), - }, - End: ast.Location{ - Line: int(1067), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(78), - }, - End: ast.Location{ - Line: int(1067), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{ - "type", - }, - }, - Id: "type", - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1068), - Column: int(9), + Line: int(1079), + Column: int(10), }, End: ast.Location{ - Line: int(1068), - Column: int(13), + Line: int(1079), + Column: int(82), }, - File: p1, }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p11389, + Ctx: p11631, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1080), + Column: int(9), + }, + End: ast.Location{ + Line: int(1080), + Column: int(13), + }, + }, }, Value: true, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, BranchFalse: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11631, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1069), + Line: int(1081), Column: int(12), }, End: ast.Location{ - Line: int(1069), + Line: int(1081), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11389, - FreeVars: ast.Identifiers{}, }, Value: false, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// Look for positive or negative numerical types (ex: 0x)", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11631, + FreeVars: ast.Identifiers{ + "m_key", + "std", + "type", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1079), + Column: int(7), + }, + End: ast.Location{ + Line: int(1081), + Column: int(17), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "m_key", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1077), + Column: int(21), + }, + End: ast.Location{ + Line: int(1077), + Column: int(26), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "type", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1077), + Column: int(28), + }, + End: ast.Location{ + Line: int(1077), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p11675, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1077), + Column: int(11), + }, + End: ast.Location{ + Line: int(1081), + Column: int(17), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "typeMatch", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -147034,220 +149981,54 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1070), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p11219, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "isReserved", - "onlyChars", - "quote_keys", - "std", - "typeMatch", - "value", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "bareSafe", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1070), - Column: int(11), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: nil, - Ctx: p11439, - FreeVars: ast.Identifiers{ - "isReserved", - "onlyChars", - "std", - "typeMatch", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1070), - Column: int(20), - }, - End: ast.Location{ - Line: int(1070), - Column: int(23), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "/*", - "For a key to be considered safe to emit without quotes, the following must be true", - " - All characters must match [a-zA-Z0-9_/\\-]", - " - Not match the integer format defined in https://yaml.org/type/int.html", - " - Not match the float format defined in https://yaml.org/type/float.html", - " - Not match the timestamp format defined in https://yaml.org/type/timestamp.html", - " - Not match the boolean format defined in https://yaml.org/type/bool.html", - " - Not match the null format defined in https://yaml.org/type/null.html", - " - Not match (ignoring case) any reserved words which pass the above tests.", - " Reserved words are defined in isReserved() above.", - "", - "Since the remaining YAML types require characters outside the set chosen as valid", - "for the elimination of quotes from the YAML output, the remaining types listed at", - "https://yaml.org/type/ are by default always quoted.", - "*/", - }, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "isReserved", - "key", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "letters", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(23), - }, - End: ast.Location{ - Line: int(1086), - Column: int(106), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11449, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(23), - }, - End: ast.Location{ - Line: int(1086), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11449, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(23), - }, - End: ast.Location{ - Line: int(1086), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(23), + }, + End: ast.Location{ + Line: int(1098), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -147257,90 +150038,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11687, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(23), + }, + End: ast.Location{ + Line: int(1098), + Column: int(30), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(31), - }, - End: ast.Location{ - Line: int(1086), - Column: int(105), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11458, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(31), - }, - End: ast.Location{ - Line: int(1086), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11458, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(31), - }, - End: ast.Location{ - Line: int(1086), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(31), + }, + End: ast.Location{ + Line: int(1098), + Column: int(34), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -147350,186 +150112,174 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11695, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(31), + }, + End: ast.Location{ + Line: int(1098), + Column: int(46), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_-/", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11699, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1086), + Line: int(1098), Column: int(47), }, End: ast.Location{ - Line: int(1086), + Line: int(1098), Column: int(104), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11467, - FreeVars: ast.Identifiers{}, }, - Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_-/", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11695, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(31), + }, + End: ast.Location{ + Line: int(1098), + Column: int(105), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11687, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(23), + }, + End: ast.Location{ + Line: int(1098), + Column: int(106), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "letters", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1086), + Line: int(1098), Column: int(13), }, End: ast.Location{ - Line: int(1086), + Line: int(1098), Column: int(106), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "digits", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(22), - }, - End: ast.Location{ - Line: int(1087), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11473, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(22), - }, - End: ast.Location{ - Line: int(1087), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11473, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(22), - }, - End: ast.Location{ - Line: int(1087), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1099), + Column: int(22), + }, + End: ast.Location{ + Line: int(1099), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -147539,90 +150289,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11709, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1099), + Column: int(22), + }, + End: ast.Location{ + Line: int(1099), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(30), - }, - End: ast.Location{ - Line: int(1087), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11482, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(30), - }, - End: ast.Location{ - Line: int(1087), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11482, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(30), - }, - End: ast.Location{ - Line: int(1087), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1099), + Column: int(30), + }, + End: ast.Location{ + Line: int(1099), + Column: int(33), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -147632,188 +150363,174 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11717, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1099), + Column: int(30), + }, + End: ast.Location{ + Line: int(1099), + Column: int(45), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "0123456789", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11721, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1087), + Line: int(1099), Column: int(46), }, End: ast.Location{ - Line: int(1087), + Line: int(1099), Column: int(58), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11491, - FreeVars: ast.Identifiers{}, }, - Value: "0123456789", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11717, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1099), + Column: int(30), + }, + End: ast.Location{ + Line: int(1099), + Column: int(59), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11709, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1099), + Column: int(22), + }, + End: ast.Location{ + Line: int(1099), + Column: int(60), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "digits", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1087), + Line: int(1099), Column: int(13), }, End: ast.Location{ - Line: int(1087), + Line: int(1099), Column: int(60), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "digits", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "intChars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(24), - }, - End: ast.Location{ - Line: int(1088), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11497, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(24), - }, - End: ast.Location{ - Line: int(1088), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11497, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(24), - }, - End: ast.Location{ - Line: int(1088), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(24), + }, + End: ast.Location{ + Line: int(1100), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -147823,135 +150540,72 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11731, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(24), + }, + End: ast.Location{ + Line: int(1100), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(32), - }, - End: ast.Location{ - Line: int(1088), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11506, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(32), - }, - End: ast.Location{ - Line: int(1088), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11506, - FreeVars: ast.Identifiers{ - "digits", - }, - }, - Id: "digits", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(41), - }, - End: ast.Location{ - Line: int(1088), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11506, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(41), - }, - End: ast.Location{ - Line: int(1088), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11506, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1088), - Column: int(41), - }, - End: ast.Location{ - Line: int(1088), - Column: int(44), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(41), + }, + End: ast.Location{ + Line: int(1100), + Column: int(44), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -147961,190 +150615,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11740, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(41), + }, + End: ast.Location{ + Line: int(1100), + Column: int(56), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "_-", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11744, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1088), + Line: int(1100), Column: int(57), }, End: ast.Location{ - Line: int(1088), + Line: int(1100), Column: int(61), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11519, - FreeVars: ast.Identifiers{}, }, - Value: "_-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11740, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(41), + }, + End: ast.Location{ + Line: int(1100), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "digits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11740, + FreeVars: ast.Identifiers{ + "digits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(32), + }, + End: ast.Location{ + Line: int(1100), + Column: int(38), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11740, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(32), + }, + End: ast.Location{ + Line: int(1100), + Column: int(62), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11731, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(24), + }, + End: ast.Location{ + Line: int(1100), + Column: int(63), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "intChars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1088), + Line: int(1100), Column: int(13), }, End: ast.Location{ - Line: int(1088), + Line: int(1100), Column: int(63), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "digits", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "binChars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(24), - }, - End: ast.Location{ - Line: int(1089), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11525, - FreeVars: ast.Identifiers{ - "intChars", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(24), - }, - End: ast.Location{ - Line: int(1089), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11525, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(24), - }, - End: ast.Location{ - Line: int(1089), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(24), + }, + End: ast.Location{ + Line: int(1101), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -148154,135 +150838,72 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11757, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(24), + }, + End: ast.Location{ + Line: int(1101), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(32), - }, - End: ast.Location{ - Line: int(1089), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11534, - FreeVars: ast.Identifiers{ - "intChars", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(32), - }, - End: ast.Location{ - Line: int(1089), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11534, - FreeVars: ast.Identifiers{ - "intChars", - }, - }, - Id: "intChars", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(43), - }, - End: ast.Location{ - Line: int(1089), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11534, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(43), - }, - End: ast.Location{ - Line: int(1089), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11534, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(43), - }, - End: ast.Location{ - Line: int(1089), - Column: int(46), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(43), + }, + End: ast.Location{ + Line: int(1101), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -148292,191 +150913,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11766, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(43), + }, + End: ast.Location{ + Line: int(1101), + Column: int(58), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "b", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11770, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1089), + Line: int(1101), Column: int(59), }, End: ast.Location{ - Line: int(1089), + Line: int(1101), Column: int(62), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11547, - FreeVars: ast.Identifiers{}, }, - Value: "b", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11766, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(43), + }, + End: ast.Location{ + Line: int(1101), + Column: int(63), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "intChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11766, + FreeVars: ast.Identifiers{ + "intChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(32), + }, + End: ast.Location{ + Line: int(1101), + Column: int(40), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11766, + FreeVars: ast.Identifiers{ + "intChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(32), + }, + End: ast.Location{ + Line: int(1101), + Column: int(63), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11757, + FreeVars: ast.Identifiers{ + "intChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(24), + }, + End: ast.Location{ + Line: int(1101), + Column: int(64), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "binChars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1089), + Line: int(1101), Column: int(13), }, End: ast.Location{ - Line: int(1089), + Line: int(1101), Column: int(64), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "digits", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "hexChars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(24), - }, - End: ast.Location{ - Line: int(1090), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11553, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(24), - }, - End: ast.Location{ - Line: int(1090), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11553, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(24), - }, - End: ast.Location{ - Line: int(1090), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(24), + }, + End: ast.Location{ + Line: int(1102), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -148486,135 +151136,72 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11783, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(24), + }, + End: ast.Location{ + Line: int(1102), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(32), - }, - End: ast.Location{ - Line: int(1090), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11562, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(32), - }, - End: ast.Location{ - Line: int(1090), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11562, - FreeVars: ast.Identifiers{ - "digits", - }, - }, - Id: "digits", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(41), - }, - End: ast.Location{ - Line: int(1090), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11562, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(41), - }, - End: ast.Location{ - Line: int(1090), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11562, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1090), - Column: int(41), - }, - End: ast.Location{ - Line: int(1090), - Column: int(44), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(41), + }, + End: ast.Location{ + Line: int(1102), + Column: int(44), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -148624,192 +151211,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11792, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(41), + }, + End: ast.Location{ + Line: int(1102), + Column: int(56), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "abcdefx_-", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11796, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1090), + Line: int(1102), Column: int(57), }, End: ast.Location{ - Line: int(1090), + Line: int(1102), Column: int(68), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11575, - FreeVars: ast.Identifiers{}, }, - Value: "abcdefx_-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11792, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(41), + }, + End: ast.Location{ + Line: int(1102), + Column: int(69), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "digits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11792, + FreeVars: ast.Identifiers{ + "digits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(32), + }, + End: ast.Location{ + Line: int(1102), + Column: int(38), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11792, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(32), + }, + End: ast.Location{ + Line: int(1102), + Column: int(69), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11783, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(24), + }, + End: ast.Location{ + Line: int(1102), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "hexChars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1090), + Line: int(1102), Column: int(13), }, End: ast.Location{ - Line: int(1090), + Line: int(1102), Column: int(70), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "digits", - "hexChars", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "floatChars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(26), - }, - End: ast.Location{ - Line: int(1091), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11581, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(26), - }, - End: ast.Location{ - Line: int(1091), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11581, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(26), - }, - End: ast.Location{ - Line: int(1091), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(26), + }, + End: ast.Location{ + Line: int(1103), + Column: int(29), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -148819,135 +151434,72 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11809, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(26), + }, + End: ast.Location{ + Line: int(1103), + Column: int(33), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(34), - }, - End: ast.Location{ - Line: int(1091), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11590, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(34), - }, - End: ast.Location{ - Line: int(1091), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11590, - FreeVars: ast.Identifiers{ - "digits", - }, - }, - Id: "digits", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(43), - }, - End: ast.Location{ - Line: int(1091), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11590, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(43), - }, - End: ast.Location{ - Line: int(1091), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11590, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(43), - }, - End: ast.Location{ - Line: int(1091), - Column: int(46), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(43), + }, + End: ast.Location{ + Line: int(1103), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -148957,193 +151509,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11818, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(43), + }, + End: ast.Location{ + Line: int(1103), + Column: int(58), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "e._-", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11822, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1091), + Line: int(1103), Column: int(59), }, End: ast.Location{ - Line: int(1091), + Line: int(1103), Column: int(65), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11603, - FreeVars: ast.Identifiers{}, }, - Value: "e._-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11818, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(43), + }, + End: ast.Location{ + Line: int(1103), + Column: int(66), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "digits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11818, + FreeVars: ast.Identifiers{ + "digits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(34), + }, + End: ast.Location{ + Line: int(1103), + Column: int(40), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11818, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(34), + }, + End: ast.Location{ + Line: int(1103), + Column: int(66), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11809, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(26), + }, + End: ast.Location{ + Line: int(1103), + Column: int(67), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "floatChars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1091), + Line: int(1103), Column: int(13), }, End: ast.Location{ - Line: int(1091), + Line: int(1103), Column: int(67), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "digits", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "dateChars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(25), - }, - End: ast.Location{ - Line: int(1092), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11609, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(25), - }, - End: ast.Location{ - Line: int(1092), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11609, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(25), - }, - End: ast.Location{ - Line: int(1092), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(25), + }, + End: ast.Location{ + Line: int(1104), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -149153,135 +151732,72 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11835, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(25), + }, + End: ast.Location{ + Line: int(1104), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(33), - }, - End: ast.Location{ - Line: int(1092), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11618, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(33), - }, - End: ast.Location{ - Line: int(1092), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11618, - FreeVars: ast.Identifiers{ - "digits", - }, - }, - Id: "digits", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(42), - }, - End: ast.Location{ - Line: int(1092), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11618, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(42), - }, - End: ast.Location{ - Line: int(1092), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11618, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1092), - Column: int(42), - }, - End: ast.Location{ - Line: int(1092), - Column: int(45), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(42), + }, + End: ast.Location{ + Line: int(1104), + Column: int(45), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -149291,194 +151807,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11844, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(42), + }, + End: ast.Location{ + Line: int(1104), + Column: int(57), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11848, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1092), + Line: int(1104), Column: int(58), }, End: ast.Location{ - Line: int(1092), + Line: int(1104), Column: int(61), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{}, }, - Value: "-", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11844, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(42), + }, + End: ast.Location{ + Line: int(1104), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Var{ + Id: "digits", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11844, + FreeVars: ast.Identifiers{ + "digits", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(33), + }, + End: ast.Location{ + Line: int(1104), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11844, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(33), + }, + End: ast.Location{ + Line: int(1104), + Column: int(62), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11835, + FreeVars: ast.Identifiers{ + "digits", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(25), + }, + End: ast.Location{ + Line: int(1104), + Column: int(63), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "dateChars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1092), + Line: int(1104), Column: int(13), }, End: ast.Location{ - Line: int(1092), + Line: int(1104), Column: int(63), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "safeChars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(25), - }, - End: ast.Location{ - Line: int(1093), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11637, - FreeVars: ast.Identifiers{ - "floatChars", - "letters", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(25), - }, - End: ast.Location{ - Line: int(1093), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11637, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(25), - }, - End: ast.Location{ - Line: int(1093), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1105), + Column: int(25), + }, + End: ast.Location{ + Line: int(1105), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -149488,227 +152030,192 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11861, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1105), + Column: int(25), + }, + End: ast.Location{ + Line: int(1105), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(33), + Right: &ast.Var{ + Id: "floatChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11866, + FreeVars: ast.Identifiers{ + "floatChars", }, - End: ast.Location{ - Line: int(1093), - Column: int(53), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1105), + Column: int(43), + }, + End: ast.Location{ + Line: int(1105), + Column: int(53), + }, }, - File: p1, }, + }, + Left: &ast.Var{ + Id: "letters", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11866, + FreeVars: ast.Identifiers{ + "letters", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1105), + Column: int(33), + }, + End: ast.Location{ + Line: int(1105), + Column: int(40), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p11646, + Ctx: p11866, FreeVars: ast.Identifiers{ "floatChars", "letters", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(33), - }, - End: ast.Location{ - Line: int(1093), - Column: int(40), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1105), + Column: int(33), }, - Fodder: ast.Fodder{}, - Ctx: p11646, - FreeVars: ast.Identifiers{ - "letters", + End: ast.Location{ + Line: int(1105), + Column: int(53), }, }, - Id: "letters", }, - OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(43), - }, - End: ast.Location{ - Line: int(1093), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11646, - FreeVars: ast.Identifiers{ - "floatChars", - }, - }, - Id: "floatChars", - }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11861, + FreeVars: ast.Identifiers{ + "floatChars", + "letters", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1105), + Column: int(25), + }, + End: ast.Location{ + Line: int(1105), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "safeChars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1093), + Line: int(1105), Column: int(13), }, End: ast.Location{ - Line: int(1093), + Line: int(1105), Column: int(54), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1094), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "keyLc", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1094), - Column: int(21), - }, - End: ast.Location{ - Line: int(1094), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11657, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1094), - Column: int(21), - }, - End: ast.Location{ - Line: int(1094), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11657, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1094), - Column: int(21), - }, - End: ast.Location{ - Line: int(1094), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1106), + Column: int(21), + }, + End: ast.Location{ + Line: int(1106), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "asciiLower", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -149718,182 +152225,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "asciiLower", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11879, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1106), + Column: int(21), + }, + End: ast.Location{ + Line: int(1106), + Column: int(35), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "key", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1094), - Column: int(36), - }, - End: ast.Location{ - Line: int(1094), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11666, + Ctx: p11883, FreeVars: ast.Identifiers{ "key", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1106), + Column: int(36), + }, + End: ast.Location{ + Line: int(1106), + Column: int(39), + }, + }, }, - Id: "key", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11879, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1106), + Column: int(21), + }, + End: ast.Location{ + Line: int(1106), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "keyLc", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1094), + Line: int(1106), Column: int(13), }, End: ast.Location{ - Line: int(1094), + Line: int(1106), Column: int(40), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyLc", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "keyChars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(24), - }, - End: ast.Location{ - Line: int(1095), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11673, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(24), - }, - End: ast.Location{ - Line: int(1095), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11673, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(24), - }, - End: ast.Location{ - Line: int(1095), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1107), + Column: int(24), + }, + End: ast.Location{ + Line: int(1107), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -149903,183 +152373,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11893, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1107), + Column: int(24), + }, + End: ast.Location{ + Line: int(1107), + Column: int(39), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "key", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(40), - }, - End: ast.Location{ - Line: int(1095), - Column: int(43), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11682, + Ctx: p11897, FreeVars: ast.Identifiers{ "key", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1107), + Column: int(40), + }, + End: ast.Location{ + Line: int(1107), + Column: int(43), + }, + }, }, - Id: "key", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11893, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1107), + Column: int(24), + }, + End: ast.Location{ + Line: int(1107), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "keyChars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1095), + Line: int(1107), Column: int(13), }, End: ast.Location{ - Line: int(1095), + Line: int(1107), Column: int(44), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1096), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyChars", - "keyLc", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "keySet", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1096), - Column: int(22), - }, - End: ast.Location{ - Line: int(1096), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11689, - FreeVars: ast.Identifiers{ - "keyChars", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1096), - Column: int(22), - }, - End: ast.Location{ - Line: int(1096), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11689, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1096), - Column: int(22), - }, - End: ast.Location{ - Line: int(1096), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(22), + }, + End: ast.Location{ + Line: int(1108), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -150089,184 +152521,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11907, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(22), + }, + End: ast.Location{ + Line: int(1108), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "keyChars", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1096), - Column: int(30), - }, - End: ast.Location{ - Line: int(1096), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11698, + Ctx: p11911, FreeVars: ast.Identifiers{ "keyChars", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(30), + }, + End: ast.Location{ + Line: int(1108), + Column: int(38), + }, + }, }, - Id: "keyChars", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11907, + FreeVars: ast.Identifiers{ + "keyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(22), + }, + End: ast.Location{ + Line: int(1108), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "keySet", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1096), + Line: int(1108), Column: int(13), }, End: ast.Location{ - Line: int(1096), + Line: int(1108), Column: int(39), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(7), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyChars", - "keyLc", - "keySet", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "keySetLc", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(24), - }, - End: ast.Location{ - Line: int(1097), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11705, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(24), - }, - End: ast.Location{ - Line: int(1097), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11705, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(24), - }, - End: ast.Location{ - Line: int(1097), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(24), + }, + End: ast.Location{ + Line: int(1109), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -150276,91 +152669,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "set", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11921, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(24), + }, + End: ast.Location{ + Line: int(1109), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(32), - }, - End: ast.Location{ - Line: int(1097), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11714, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(32), - }, - End: ast.Location{ - Line: int(1097), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11714, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(32), - }, - End: ast.Location{ - Line: int(1097), - Column: int(35), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(32), + }, + End: ast.Location{ + Line: int(1109), + Column: int(35), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -150370,113 +152743,4123 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11929, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(32), + }, + End: ast.Location{ + Line: int(1109), + Column: int(47), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "keyLc", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1097), - Column: int(48), - }, - End: ast.Location{ - Line: int(1097), - Column: int(53), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p11723, + Ctx: p11933, FreeVars: ast.Identifiers{ "keyLc", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(48), + }, + End: ast.Location{ + Line: int(1109), + Column: int(53), + }, + }, }, - Id: "keyLc", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11929, + FreeVars: ast.Identifiers{ + "keyLc", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(32), + }, + End: ast.Location{ + Line: int(1109), + Column: int(54), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11921, + FreeVars: ast.Identifiers{ + "keyLc", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(24), + }, + End: ast.Location{ + Line: int(1109), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "keySetLc", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1097), + Line: int(1109), Column: int(13), }, End: ast.Location{ - Line: int(1097), + Line: int(1109), Column: int(55), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(7), + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "onlyChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(12), + }, + End: ast.Location{ + Line: int(1111), + Column: int(21), + }, + }, + }, }, - End: ast.Location{ - Line: int(1157), - Column: int(16), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "safeChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11945, + FreeVars: ast.Identifiers{ + "safeChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(22), + }, + End: ast.Location{ + Line: int(1111), + Column: int(31), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keySet", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11945, + FreeVars: ast.Identifiers{ + "keySet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(33), + }, + End: ast.Location{ + Line: int(1111), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "keySet", + "onlyChars", + "safeChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(12), + }, + End: ast.Location{ + Line: int(1111), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "keySet", + "onlyChars", + "safeChars", }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// Check for unsafe characters", + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(10), + }, + End: ast.Location{ + Line: int(1111), + Column: int(40), }, }, }, - Ctx: p11445, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1112), + Column: int(9), + }, + End: ast.Location{ + Line: int(1112), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Var{ + Id: "isReserved", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "isReserved", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(15), + }, + End: ast.Location{ + Line: int(1114), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11959, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(26), + }, + End: ast.Location{ + Line: int(1114), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "isReserved", + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(15), + }, + End: ast.Location{ + Line: int(1114), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1115), + Column: int(9), + }, + End: ast.Location{ + Line: int(1115), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(54), + }, + End: ast.Location{ + Line: int(1124), + Column: int(55), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(14), + }, + End: ast.Location{ + Line: int(1124), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(14), + }, + End: ast.Location{ + Line: int(1124), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(25), + }, + End: ast.Location{ + Line: int(1124), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11980, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(25), + }, + End: ast.Location{ + Line: int(1124), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11984, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(40), + }, + End: ast.Location{ + Line: int(1124), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11984, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(45), + }, + End: ast.Location{ + Line: int(1124), + Column: int(48), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11980, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(25), + }, + End: ast.Location{ + Line: int(1124), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(14), + }, + End: ast.Location{ + Line: int(1124), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(14), + }, + End: ast.Location{ + Line: int(1124), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "onlyChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1123), + Column: int(15), + }, + End: ast.Location{ + Line: int(1123), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "dateChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11995, + FreeVars: ast.Identifiers{ + "dateChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1123), + Column: int(25), + }, + End: ast.Location{ + Line: int(1123), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keySet", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11995, + FreeVars: ast.Identifiers{ + "keySet", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1123), + Column: int(36), + }, + End: ast.Location{ + Line: int(1123), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "dateChars", + "keySet", + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1123), + Column: int(15), + }, + End: ast.Location{ + Line: int(1123), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "dateChars", + "key", + "keySet", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1123), + Column: int(15), + }, + End: ast.Location{ + Line: int(1124), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1125), + Column: int(9), + }, + End: ast.Location{ + Line: int(1125), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(53), + }, + End: ast.Location{ + Line: int(1132), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(14), + }, + End: ast.Location{ + Line: int(1132), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(14), + }, + End: ast.Location{ + Line: int(1132), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(25), + }, + End: ast.Location{ + Line: int(1132), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12020, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(25), + }, + End: ast.Location{ + Line: int(1132), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12024, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(40), + }, + End: ast.Location{ + Line: int(1132), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12024, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(45), + }, + End: ast.Location{ + Line: int(1132), + Column: int(48), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12020, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(25), + }, + End: ast.Location{ + Line: int(1132), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(14), + }, + End: ast.Location{ + Line: int(1132), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1132), + Column: int(14), + }, + End: ast.Location{ + Line: int(1132), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "onlyChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(15), + }, + End: ast.Location{ + Line: int(1131), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "intChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12035, + FreeVars: ast.Identifiers{ + "intChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(25), + }, + End: ast.Location{ + Line: int(1131), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keySetLc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12035, + FreeVars: ast.Identifiers{ + "keySetLc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(35), + }, + End: ast.Location{ + Line: int(1131), + Column: int(43), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "intChars", + "keySetLc", + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(15), + }, + End: ast.Location{ + Line: int(1131), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "intChars", + "key", + "keySetLc", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(15), + }, + End: ast.Location{ + Line: int(1132), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1133), + Column: int(9), + }, + End: ast.Location{ + Line: int(1133), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "typeMatch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1142), + Column: int(14), + }, + End: ast.Location{ + Line: int(1142), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12051, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1142), + Column: int(24), + }, + End: ast.Location{ + Line: int(1142), + Column: int(27), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "0b", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12051, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1142), + Column: int(29), + }, + End: ast.Location{ + Line: int(1142), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1142), + Column: int(14), + }, + End: ast.Location{ + Line: int(1142), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(32), + }, + End: ast.Location{ + Line: int(1141), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(14), + }, + End: ast.Location{ + Line: int(1141), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(14), + }, + End: ast.Location{ + Line: int(1141), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12066, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(25), + }, + End: ast.Location{ + Line: int(1141), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(14), + }, + End: ast.Location{ + Line: int(1141), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(14), + }, + End: ast.Location{ + Line: int(1141), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "onlyChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1140), + Column: int(15), + }, + End: ast.Location{ + Line: int(1140), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "binChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12075, + FreeVars: ast.Identifiers{ + "binChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1140), + Column: int(25), + }, + End: ast.Location{ + Line: int(1140), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keySetLc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12075, + FreeVars: ast.Identifiers{ + "keySetLc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1140), + Column: int(35), + }, + End: ast.Location{ + Line: int(1140), + Column: int(43), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "keySetLc", + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1140), + Column: int(15), + }, + End: ast.Location{ + Line: int(1140), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "key", + "keySetLc", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1140), + Column: int(15), + }, + End: ast.Location{ + Line: int(1141), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "key", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1140), + Column: int(15), + }, + End: ast.Location{ + Line: int(1142), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1143), + Column: int(9), + }, + End: ast.Location{ + Line: int(1143), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(55), + }, + End: ast.Location{ + Line: int(1154), + Column: int(56), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(14), + }, + End: ast.Location{ + Line: int(1154), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(14), + }, + End: ast.Location{ + Line: int(1154), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(25), + }, + End: ast.Location{ + Line: int(1154), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12102, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(25), + }, + End: ast.Location{ + Line: int(1154), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "e", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12106, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(40), + }, + End: ast.Location{ + Line: int(1154), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keyLc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12106, + FreeVars: ast.Identifiers{ + "keyLc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(45), + }, + End: ast.Location{ + Line: int(1154), + Column: int(50), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12102, + FreeVars: ast.Identifiers{ + "keyLc", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(25), + }, + End: ast.Location{ + Line: int(1154), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "keyLc", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(14), + }, + End: ast.Location{ + Line: int(1154), + Column: int(52), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "keyLc", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1154), + Column: int(14), + }, + End: ast.Location{ + Line: int(1154), + Column: int(56), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(53), + }, + End: ast.Location{ + Line: int(1153), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(14), + }, + End: ast.Location{ + Line: int(1153), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(14), + }, + End: ast.Location{ + Line: int(1153), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(25), + }, + End: ast.Location{ + Line: int(1153), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12127, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(25), + }, + End: ast.Location{ + Line: int(1153), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12131, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(40), + }, + End: ast.Location{ + Line: int(1153), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12131, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(45), + }, + End: ast.Location{ + Line: int(1153), + Column: int(48), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12127, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(25), + }, + End: ast.Location{ + Line: int(1153), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(14), + }, + End: ast.Location{ + Line: int(1153), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(14), + }, + End: ast.Location{ + Line: int(1153), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(54), + }, + End: ast.Location{ + Line: int(1152), + Column: int(55), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(14), + }, + End: ast.Location{ + Line: int(1152), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(14), + }, + End: ast.Location{ + Line: int(1152), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(25), + }, + End: ast.Location{ + Line: int(1152), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12152, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(25), + }, + End: ast.Location{ + Line: int(1152), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: ".", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12156, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(40), + }, + End: ast.Location{ + Line: int(1152), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12156, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(45), + }, + End: ast.Location{ + Line: int(1152), + Column: int(48), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12152, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(25), + }, + End: ast.Location{ + Line: int(1152), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(14), + }, + End: ast.Location{ + Line: int(1152), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(14), + }, + End: ast.Location{ + Line: int(1152), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "onlyChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(15), + }, + End: ast.Location{ + Line: int(1151), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "floatChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12167, + FreeVars: ast.Identifiers{ + "floatChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(25), + }, + End: ast.Location{ + Line: int(1151), + Column: int(35), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keySetLc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12167, + FreeVars: ast.Identifiers{ + "keySetLc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(37), + }, + End: ast.Location{ + Line: int(1151), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "floatChars", + "keySetLc", + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(15), + }, + End: ast.Location{ + Line: int(1151), + Column: int(46), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "floatChars", + "key", + "keySetLc", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(15), + }, + End: ast.Location{ + Line: int(1152), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "floatChars", + "key", + "keySetLc", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(15), + }, + End: ast.Location{ + Line: int(1153), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "floatChars", + "key", + "keyLc", + "keySetLc", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(15), + }, + End: ast.Location{ + Line: int(1154), + Column: int(56), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1155), + Column: int(9), + }, + End: ast.Location{ + Line: int(1155), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "typeMatch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1166), + Column: int(14), + }, + End: ast.Location{ + Line: int(1166), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12187, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1166), + Column: int(24), + }, + End: ast.Location{ + Line: int(1166), + Column: int(27), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "0x", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12187, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1166), + Column: int(29), + }, + End: ast.Location{ + Line: int(1166), + Column: int(33), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1166), + Column: int(14), + }, + End: ast.Location{ + Line: int(1166), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(37), + }, + End: ast.Location{ + Line: int(1165), + Column: int(38), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(14), + }, + End: ast.Location{ + Line: int(1165), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(14), + }, + End: ast.Location{ + Line: int(1165), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keyChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12202, + FreeVars: ast.Identifiers{ + "keyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(25), + }, + End: ast.Location{ + Line: int(1165), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "keyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(14), + }, + End: ast.Location{ + Line: int(1165), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "keyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(14), + }, + End: ast.Location{ + Line: int(1165), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(53), + }, + End: ast.Location{ + Line: int(1164), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(14), + }, + End: ast.Location{ + Line: int(1164), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(14), + }, + End: ast.Location{ + Line: int(1164), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(25), + }, + End: ast.Location{ + Line: int(1164), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12221, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(25), + }, + End: ast.Location{ + Line: int(1164), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12225, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(40), + }, + End: ast.Location{ + Line: int(1164), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12225, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(45), + }, + End: ast.Location{ + Line: int(1164), + Column: int(48), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12221, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(25), + }, + End: ast.Location{ + Line: int(1164), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(14), + }, + End: ast.Location{ + Line: int(1164), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1164), + Column: int(14), + }, + End: ast.Location{ + Line: int(1164), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "onlyChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(15), + }, + End: ast.Location{ + Line: int(1163), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "hexChars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12236, + FreeVars: ast.Identifiers{ + "hexChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(25), + }, + End: ast.Location{ + Line: int(1163), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keySetLc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12236, + FreeVars: ast.Identifiers{ + "keySetLc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(35), + }, + End: ast.Location{ + Line: int(1163), + Column: int(43), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "hexChars", + "keySetLc", + "onlyChars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(15), + }, + End: ast.Location{ + Line: int(1163), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "hexChars", + "key", + "keySetLc", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(15), + }, + End: ast.Location{ + Line: int(1164), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "hexChars", + "key", + "keyChars", + "keySetLc", + "onlyChars", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(15), + }, + End: ast.Location{ + Line: int(1165), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + OpFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "hexChars", + "key", + "keyChars", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(15), + }, + End: ast.Location{ + Line: int(1166), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1167), + Column: int(9), + }, + End: ast.Location{ + Line: int(1167), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1169), + Column: int(12), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + Value: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// All checks pass. Key is safe for emission without quotes.", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "hexChars", + "key", + "keyChars", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(12), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "/* Check for hexadecimals. Keys that meet all of the following:", + " - all characters match [0-9a-fx_\\-]", + " - has at most 1 dash", + " - has at least 3 characters", + " - starts with (-)0x", + " are considered hexadecimals.", + "*/", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "floatChars", + "hexChars", + "key", + "keyChars", + "keyLc", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(12), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "/* Check for floats. Keys that meet all of the following:", + " - all characters match [0-9e._\\-]", + " - has at most a single period", + " - has at most two dashes", + " - has at most 1 'e'", + " are considered floats.", + "*/", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "floatChars", + "hexChars", + "key", + "keyChars", + "keyLc", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1140), + Column: int(12), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "/* Check for binary integers. Keys that meet all of the following:", + " - all characters match [0-9b_\\-]", + " - has at least 3 characters", + " - starts with (-)0b", + " are considered binary integers.", + "*/", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "floatChars", + "hexChars", + "intChars", + "key", + "keyChars", + "keyLc", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(12), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "/* Check for integers. Keys that meet all of the following:", + " - all characters match [0-9_\\-]", + " - has at most 1 dash", + " are considered integers.", + "*/", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "dateChars", + "floatChars", + "hexChars", + "intChars", + "key", + "keyChars", + "keyLc", + "keySet", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1123), + Column: int(12), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "/* Check for timestamp values. Since spaces and colons are already forbidden,", + " all that could potentially pass is the standard date format (ex MM-DD-YYYY, YYYY-DD-MM, etc).", + " This check is even more conservative: Keys that meet all of the following:", + " - all characters match [0-9\\-]", + " - has exactly 2 dashes", + " are considered dates.", + "*/", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "dateChars", + "floatChars", + "hexChars", + "intChars", + "isReserved", + "key", + "keyChars", + "keyLc", + "keySet", + "keySetLc", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(12), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// Check for reserved words", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "// Check for unsafe characters", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, FreeVars: ast.Identifiers{ "binChars", "dateChars", @@ -150494,3991 +156877,522 @@ var _StdAst = &ast.DesugaredObject{ "std", "typeMatch", }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(10), - }, - End: ast.Location{ - Line: int(1099), - Column: int(40), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "keySet", - "onlyChars", - "safeChars", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(12), - }, - End: ast.Location{ - Line: int(1099), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "keySet", - "onlyChars", - "safeChars", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(12), - }, - End: ast.Location{ - Line: int(1099), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - }, - Id: "onlyChars", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(22), - }, - End: ast.Location{ - Line: int(1099), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11737, - FreeVars: ast.Identifiers{ - "safeChars", - }, - }, - Id: "safeChars", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(33), - }, - End: ast.Location{ - Line: int(1099), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11737, - FreeVars: ast.Identifiers{ - "keySet", - }, - }, - Id: "keySet", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(9), - }, - End: ast.Location{ - Line: int(1100), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// Check for reserved words", - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(12), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyChars", - "keyLc", - "keySet", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(15), - }, - End: ast.Location{ - Line: int(1102), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "isReserved", - "key", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(15), - }, - End: ast.Location{ - Line: int(1102), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "isReserved", - }, - }, - Id: "isReserved", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(26), - }, - End: ast.Location{ - Line: int(1102), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11753, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(9), - }, - End: ast.Location{ - Line: int(1103), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "/* Check for timestamp values. Since spaces and colons are already forbidden,", - " all that could potentially pass is the standard date format (ex MM-DD-YYYY, YYYY-DD-MM, etc).", - " This check is even more conservative: Keys that meet all of the following:", - " - all characters match [0-9\\-]", - " - has exactly 2 dashes", - " are considered dates.", - "*/", - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(12), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "key", - "keyChars", - "keyLc", - "keySet", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(15), - }, - End: ast.Location{ - Line: int(1112), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "dateChars", - "key", - "keySet", - "onlyChars", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(15), - }, - End: ast.Location{ - Line: int(1111), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "dateChars", - "keySet", - "onlyChars", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(15), - }, - End: ast.Location{ - Line: int(1111), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - }, - Id: "onlyChars", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(25), - }, - End: ast.Location{ - Line: int(1111), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11769, - FreeVars: ast.Identifiers{ - "dateChars", - }, - }, - Id: "dateChars", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(36), - }, - End: ast.Location{ - Line: int(1111), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11769, - FreeVars: ast.Identifiers{ - "keySet", - }, - }, - Id: "keySet", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(14), - }, - End: ast.Location{ - Line: int(1112), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(14), - }, - End: ast.Location{ - Line: int(1112), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(14), - }, - End: ast.Location{ - Line: int(1112), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(14), - }, - End: ast.Location{ - Line: int(1112), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(25), - }, - End: ast.Location{ - Line: int(1112), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11785, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(25), - }, - End: ast.Location{ - Line: int(1112), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11785, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(25), - }, - End: ast.Location{ - Line: int(1112), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "findSubstr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(40), - }, - End: ast.Location{ - Line: int(1112), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11794, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(45), - }, - End: ast.Location{ - Line: int(1112), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11794, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(54), - }, - End: ast.Location{ - Line: int(1112), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1113), - Column: int(9), - }, - End: ast.Location{ - Line: int(1113), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "/* Check for integers. Keys that meet all of the following:", - " - all characters match [0-9_\\-]", - " - has at most 1 dash", - " are considered integers.", - "*/", - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(12), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "floatChars", - "hexChars", - "intChars", - "key", - "keyChars", - "keyLc", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(15), - }, - End: ast.Location{ - Line: int(1120), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "intChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(15), - }, - End: ast.Location{ - Line: int(1119), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "intChars", - "keySetLc", - "onlyChars", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(15), - }, - End: ast.Location{ - Line: int(1119), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - }, - Id: "onlyChars", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(25), - }, - End: ast.Location{ - Line: int(1119), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11812, - FreeVars: ast.Identifiers{ - "intChars", - }, - }, - Id: "intChars", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(35), - }, - End: ast.Location{ - Line: int(1119), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11812, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - }, - Id: "keySetLc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(14), - }, - End: ast.Location{ - Line: int(1120), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(14), - }, - End: ast.Location{ - Line: int(1120), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(14), - }, - End: ast.Location{ - Line: int(1120), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(14), - }, - End: ast.Location{ - Line: int(1120), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(25), - }, - End: ast.Location{ - Line: int(1120), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11828, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(25), - }, - End: ast.Location{ - Line: int(1120), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11828, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(25), - }, - End: ast.Location{ - Line: int(1120), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "findSubstr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(40), - }, - End: ast.Location{ - Line: int(1120), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11837, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(45), - }, - End: ast.Location{ - Line: int(1120), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11837, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(53), - }, - End: ast.Location{ - Line: int(1120), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1121), - Column: int(9), - }, - End: ast.Location{ - Line: int(1121), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "/* Check for binary integers. Keys that meet all of the following:", - " - all characters match [0-9b_\\-]", - " - has at least 3 characters", - " - starts with (-)0b", - " are considered binary integers.", - "*/", - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(12), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "floatChars", - "hexChars", - "key", - "keyChars", - "keyLc", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(15), - }, - End: ast.Location{ - Line: int(1130), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "key", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(15), - }, - End: ast.Location{ - Line: int(1129), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(15), - }, - End: ast.Location{ - Line: int(1128), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "binChars", - "keySetLc", - "onlyChars", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(15), - }, - End: ast.Location{ - Line: int(1128), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - }, - Id: "onlyChars", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(25), - }, - End: ast.Location{ - Line: int(1128), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11857, - FreeVars: ast.Identifiers{ - "binChars", - }, - }, - Id: "binChars", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(35), - }, - End: ast.Location{ - Line: int(1128), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11857, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - }, - Id: "keySetLc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1129), - Column: int(14), - }, - End: ast.Location{ - Line: int(1129), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1129), - Column: int(14), - }, - End: ast.Location{ - Line: int(1129), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1129), - Column: int(14), - }, - End: ast.Location{ - Line: int(1129), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1129), - Column: int(14), - }, - End: ast.Location{ - Line: int(1129), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1129), - Column: int(25), - }, - End: ast.Location{ - Line: int(1129), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11873, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1129), - Column: int(32), - }, - End: ast.Location{ - Line: int(1129), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1130), - Column: int(14), - }, - End: ast.Location{ - Line: int(1130), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "typeMatch", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1130), - Column: int(14), - }, - End: ast.Location{ - Line: int(1130), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "typeMatch", - }, - }, - Id: "typeMatch", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1130), - Column: int(24), - }, - End: ast.Location{ - Line: int(1130), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11883, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1130), - Column: int(29), - }, - End: ast.Location{ - Line: int(1130), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11883, - FreeVars: ast.Identifiers{}, - }, - Value: "0b", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(9), - }, - End: ast.Location{ - Line: int(1131), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "/* Check for floats. Keys that meet all of the following:", - " - all characters match [0-9e._\\-]", - " - has at most a single period", - " - has at most two dashes", - " - has at most 1 'e'", - " are considered floats.", - "*/", - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(12), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "floatChars", - "hexChars", - "key", - "keyChars", - "keyLc", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(15), - }, - End: ast.Location{ - Line: int(1142), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "floatChars", - "key", - "keyLc", - "keySetLc", - "onlyChars", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(15), - }, - End: ast.Location{ - Line: int(1141), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "floatChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(15), - }, - End: ast.Location{ - Line: int(1140), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "floatChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(15), - }, - End: ast.Location{ - Line: int(1139), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "floatChars", - "keySetLc", - "onlyChars", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(15), - }, - End: ast.Location{ - Line: int(1139), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - }, - Id: "onlyChars", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(25), - }, - End: ast.Location{ - Line: int(1139), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11904, - FreeVars: ast.Identifiers{ - "floatChars", - }, - }, - Id: "floatChars", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1139), - Column: int(37), - }, - End: ast.Location{ - Line: int(1139), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11904, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - }, - Id: "keySetLc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(14), - }, - End: ast.Location{ - Line: int(1140), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(14), - }, - End: ast.Location{ - Line: int(1140), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(14), - }, - End: ast.Location{ - Line: int(1140), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(14), - }, - End: ast.Location{ - Line: int(1140), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(25), - }, - End: ast.Location{ - Line: int(1140), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11920, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(25), - }, - End: ast.Location{ - Line: int(1140), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11920, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(25), - }, - End: ast.Location{ - Line: int(1140), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "findSubstr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(40), - }, - End: ast.Location{ - Line: int(1140), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11929, - FreeVars: ast.Identifiers{}, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(45), - }, - End: ast.Location{ - Line: int(1140), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11929, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(54), - }, - End: ast.Location{ - Line: int(1140), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(25), - }, - End: ast.Location{ - Line: int(1141), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11945, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(25), - }, - End: ast.Location{ - Line: int(1141), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11945, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(25), - }, - End: ast.Location{ - Line: int(1141), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "findSubstr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(40), - }, - End: ast.Location{ - Line: int(1141), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11954, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(45), - }, - End: ast.Location{ - Line: int(1141), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11954, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(53), - }, - End: ast.Location{ - Line: int(1141), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(14), - }, - End: ast.Location{ - Line: int(1142), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(14), - }, - End: ast.Location{ - Line: int(1142), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(14), - }, - End: ast.Location{ - Line: int(1142), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(14), - }, - End: ast.Location{ - Line: int(1142), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(25), - }, - End: ast.Location{ - Line: int(1142), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11970, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(25), - }, - End: ast.Location{ - Line: int(1142), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11970, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(25), - }, - End: ast.Location{ - Line: int(1142), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "findSubstr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(40), - }, - End: ast.Location{ - Line: int(1142), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11979, - FreeVars: ast.Identifiers{}, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(45), - }, - End: ast.Location{ - Line: int(1142), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11979, - FreeVars: ast.Identifiers{ - "keyLc", - }, - }, - Id: "keyLc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(55), - }, - End: ast.Location{ - Line: int(1142), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1143), - Column: int(9), - }, - End: ast.Location{ - Line: int(1143), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "/* Check for hexadecimals. Keys that meet all of the following:", - " - all characters match [0-9a-fx_\\-]", - " - has at most 1 dash", - " - has at least 3 characters", - " - starts with (-)0x", - " are considered hexadecimals.", - "*/", - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(12), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keyChars", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1154), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keyChars", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1153), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keyChars", - "keySetLc", - "onlyChars", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1152), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1151), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "hexChars", - "keySetLc", - "onlyChars", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1151), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - }, - Id: "onlyChars", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(25), - }, - End: ast.Location{ - Line: int(1151), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12001, - FreeVars: ast.Identifiers{ - "hexChars", - }, - }, - Id: "hexChars", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(35), - }, - End: ast.Location{ - Line: int(1151), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12001, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - }, - Id: "keySetLc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(25), - }, - End: ast.Location{ - Line: int(1152), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12017, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(25), - }, - End: ast.Location{ - Line: int(1152), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12017, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(25), - }, - End: ast.Location{ - Line: int(1152), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "findSubstr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(40), - }, - End: ast.Location{ - Line: int(1152), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12026, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(45), - }, - End: ast.Location{ - Line: int(1152), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12026, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(53), - }, - End: ast.Location{ - Line: int(1152), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "keyChars", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "keyChars", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(25), - }, - End: ast.Location{ - Line: int(1153), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12042, - FreeVars: ast.Identifiers{ - "keyChars", - }, - }, - Id: "keyChars", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(37), - }, - End: ast.Location{ - Line: int(1153), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(14), - }, - End: ast.Location{ - Line: int(1154), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "key", - "typeMatch", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(14), - }, - End: ast.Location{ - Line: int(1154), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{ - "typeMatch", - }, - }, - Id: "typeMatch", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(24), - }, - End: ast.Location{ - Line: int(1154), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12052, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(29), - }, - End: ast.Location{ - Line: int(1154), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12052, - FreeVars: ast.Identifiers{}, - }, - Value: "0x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(9), - }, - End: ast.Location{ - Line: int(1155), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - Comment: []string{ - "// All checks pass. Key is safe for emission without quotes.", - }, - }, - }, - BranchFalse: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1157), - Column: int(12), - }, - End: ast.Location{ - Line: int(1157), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11445, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - }, - }, - }, + End: ast.Location{ + Line: int(1169), + Column: int(16), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "dateChars", + "floatChars", + "hexChars", + "intChars", + "isReserved", + "key", + "keyChars", + "keyLc", + "keySet", + "onlyChars", + "safeChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1109), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "dateChars", + "floatChars", + "hexChars", + "intChars", + "isReserved", + "key", + "keyChars", + "keyLc", + "onlyChars", + "safeChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "dateChars", + "floatChars", + "hexChars", + "intChars", + "isReserved", + "key", + "keyLc", + "onlyChars", + "safeChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1107), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "dateChars", + "floatChars", + "hexChars", + "intChars", + "isReserved", + "key", + "onlyChars", + "safeChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1106), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "dateChars", + "floatChars", + "hexChars", + "intChars", + "isReserved", + "key", + "letters", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1105), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "digits", + "floatChars", + "hexChars", + "intChars", + "isReserved", + "key", + "letters", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "digits", + "hexChars", + "intChars", + "isReserved", + "key", + "letters", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "binChars", + "digits", + "intChars", + "isReserved", + "key", + "letters", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1102), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "digits", + "intChars", + "isReserved", + "key", + "letters", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "digits", + "isReserved", + "key", + "letters", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "isReserved", + "key", + "letters", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1099), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + ast.FodderElement{ + Comment: []string{ + "/*", + "For a key to be considered safe to emit without quotes, the following must be true", + " - All characters must match [a-zA-Z0-9_/\\-]", + " - Not match the integer format defined in https://yaml.org/type/int.html", + " - Not match the float format defined in https://yaml.org/type/float.html", + " - Not match the timestamp format defined in https://yaml.org/type/timestamp.html", + " - Not match the boolean format defined in https://yaml.org/type/bool.html", + " - Not match the null format defined in https://yaml.org/type/null.html", + " - Not match (ignoring case) any reserved words which pass the above tests.", + " Reserved words are defined in isReserved() above.", + "", + "Since the remaining YAML types require characters outside the set chosen as valid", + "for the elimination of quotes from the YAML output, the remaining types listed at", + "https://yaml.org/type/ are by default always quoted.", + "*/", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p11941, + FreeVars: ast.Identifiers{ + "isReserved", + "key", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(7), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "key", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(20), + }, + End: ast.Location{ + Line: int(1082), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p12299, + FreeVars: ast.Identifiers{ + "isReserved", + "onlyChars", + "std", + "typeMatch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(11), + }, + End: ast.Location{ + Line: int(1169), + Column: int(16), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "bareSafe", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -154488,355 +157402,324 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1158), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p11219, - FreeVars: ast.Identifiers{ - "$std", - "bareSafe", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "escapeKeyYaml", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1158), - Column: int(11), - }, - End: ast.Location{ - Line: int(1159), - Column: int(63), - }, - File: p1, - }, - Fodder: nil, - Ctx: p12065, - FreeVars: ast.Identifiers{ - "bareSafe", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1158), - Column: int(25), - }, - End: ast.Location{ - Line: int(1158), - Column: int(28), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(7), + Cond: &ast.Apply{ + Target: &ast.Var{ + Id: "bareSafe", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12307, + FreeVars: ast.Identifiers{ + "bareSafe", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(10), + }, + End: ast.Location{ + Line: int(1171), + Column: int(18), + }, + }, }, - End: ast.Location{ - Line: int(1159), - Column: int(63), - }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12311, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(19), + }, + End: ast.Location{ + Line: int(1171), + Column: int(22), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12307, + FreeVars: ast.Identifiers{ + "bareSafe", + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(10), + }, + End: ast.Location{ + Line: int(1171), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12307, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(29), + }, + End: ast.Location{ + Line: int(1171), + Column: int(32), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(38), + }, + End: ast.Location{ + Line: int(1171), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12307, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(38), + }, + End: ast.Location{ + Line: int(1171), + Column: int(58), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "key", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12324, + FreeVars: ast.Identifiers{ + "key", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(59), + }, + End: ast.Location{ + Line: int(1171), + Column: int(62), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12307, + FreeVars: ast.Identifiers{ + "key", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(38), + }, + End: ast.Location{ + Line: int(1171), + Column: int(63), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p12070, + Ctx: p12307, FreeVars: ast.Identifiers{ "bareSafe", "key", "std", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(10), - }, - End: ast.Location{ - Line: int(1159), - Column: int(23), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p12070, - FreeVars: ast.Identifiers{ - "bareSafe", - "key", + End: ast.Location{ + Line: int(1171), + Column: int(63), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(10), - }, - End: ast.Location{ - Line: int(1159), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12070, - FreeVars: ast.Identifiers{ - "bareSafe", - }, - }, - Id: "bareSafe", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(19), - }, - End: ast.Location{ - Line: int(1159), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12078, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(29), - }, - End: ast.Location{ - Line: int(1159), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12070, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(38), - }, - End: ast.Location{ - Line: int(1159), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12070, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(38), - }, - End: ast.Location{ - Line: int(1159), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12070, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(38), - }, - End: ast.Location{ - Line: int(1159), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(59), - }, - End: ast.Location{ - Line: int(1159), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12091, - FreeVars: ast.Identifiers{ - "key", - }, - }, - Id: "key", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "key", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1170), + Column: int(25), + }, + End: ast.Location{ + Line: int(1170), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p12330, + FreeVars: ast.Identifiers{ + "bareSafe", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1170), + Column: int(11), + }, + End: ast.Location{ + Line: int(1171), + Column: int(63), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "escapeKeyYaml", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -154846,631 +157729,338 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1160), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p11219, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyYaml", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1160), - Column: int(11), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: nil, - Ctx: p12098, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "escapeKeyYaml", - "indent_array_in_object", - "quote_keys", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1160), - Column: int(15), - }, - End: ast.Location{ - Line: int(1160), - Column: int(16), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1160), - Column: int(18), - }, - End: ast.Location{ - Line: int(1160), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1160), - Column: int(24), - }, - End: ast.Location{ - Line: int(1160), - Column: int(31), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1161), - Column: int(7), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1161), - Column: int(10), - }, - End: ast.Location{ - Line: int(1161), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1161), - Column: int(10), - }, - End: ast.Location{ - Line: int(1161), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1161), + Line: int(1173), Column: int(15), }, End: ast.Location{ - Line: int(1161), + Line: int(1173), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, }, Value: true, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1173), + Column: int(10), + }, + End: ast.Location{ + Line: int(1173), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1162), - Column: int(9), + Line: int(1173), + Column: int(10), }, End: ast.Location{ - Line: int(1162), - Column: int(15), + Line: int(1173), + Column: int(19), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "true", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p12103, + Ctx: p12338, FreeVars: ast.Identifiers{}, - }, - Value: "true", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1163), - Column: int(12), + Line: int(1174), + Column: int(9), }, End: ast.Location{ - Line: int(1239), - Column: int(42), + Line: int(1174), + Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(15), - }, - End: ast.Location{ - Line: int(1163), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(15), - }, - End: ast.Location{ - Line: int(1163), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1163), + Line: int(1175), Column: int(20), }, End: ast.Location{ - Line: int(1163), + Line: int(1175), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, }, Value: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1175), + Column: int(15), + }, + End: ast.Location{ + Line: int(1175), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1164), - Column: int(9), + Line: int(1175), + Column: int(15), }, End: ast.Location{ - Line: int(1164), - Column: int(16), + Line: int(1175), + Column: int(25), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "false", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p12103, + Ctx: p12338, FreeVars: ast.Identifiers{}, - }, - Value: "false", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1165), - Column: int(12), + Line: int(1176), + Column: int(9), }, End: ast.Location{ - Line: int(1239), - Column: int(42), + Line: int(1176), + Column: int(16), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(15), - }, - End: ast.Location{ - Line: int(1165), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(15), - }, - End: ast.Location{ - Line: int(1165), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1165), + Line: int(1177), Column: int(20), }, End: ast.Location{ - Line: int(1165), + Line: int(1177), Column: int(24), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, }, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(9), - }, - End: ast.Location{ - Line: int(1166), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{}, - }, - Value: "null", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(12), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - }, - Cond: &ast.Apply{ + Left: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1167), + Line: int(1177), Column: int(15), }, End: ast.Location{ - Line: int(1167), - Column: int(30), + Line: int(1177), + Column: int(16), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(15), - }, - End: ast.Location{ - Line: int(1167), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1177), + Column: int(15), }, + End: ast.Location{ + Line: int(1177), + Column: int(24), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "null", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1178), + Column: int(9), + }, + End: ast.Location{ + Line: int(1178), + Column: int(15), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(15), - }, - End: ast.Location{ - Line: int(1167), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1179), + Column: int(15), + }, + End: ast.Location{ + Line: int(1179), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -155480,235 +158070,199 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1179), + Column: int(15), + }, + End: ast.Location{ + Line: int(1179), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(28), - }, - End: ast.Location{ - Line: int(1167), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12144, + Ctx: p12369, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1179), + Column: int(28), + }, + End: ast.Location{ + Line: int(1179), + Column: int(29), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1168), - Column: int(9), - }, - End: ast.Location{ - Line: int(1168), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12103, + Ctx: p12338, FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1168), - Column: int(9), - }, - End: ast.Location{ - Line: int(1168), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1168), - Column: int(14), - }, - End: ast.Location{ - Line: int(1168), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(12), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(15), - }, - End: ast.Location{ - Line: int(1169), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1179), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1179), + Column: int(30), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(15), - }, - End: ast.Location{ - Line: int(1169), - Column: int(27), - }, - File: p1, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Binary{ + Right: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1180), + Column: int(14), }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1180), + Column: int(15), }, }, + }, + }, + Left: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1180), + Column: int(9), + }, + End: ast.Location{ + Line: int(1180), + Column: int(11), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1180), + Column: int(9), + }, + End: ast.Location{ + Line: int(1180), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(15), - }, - End: ast.Location{ - Line: int(1169), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(15), + }, + End: ast.Location{ + Line: int(1181), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -155718,159 +158272,127 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(15), + }, + End: ast.Location{ + Line: int(1181), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(28), - }, - End: ast.Location{ - Line: int(1169), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12164, + Ctx: p12387, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(28), + }, + End: ast.Location{ + Line: int(1181), + Column: int(29), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(9), - }, - End: ast.Location{ - Line: int(1177), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p12103, + Fodder: ast.Fodder{}, + Ctx: p12338, FreeVars: ast.Identifiers{ - "$std", - "cindent", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(15), + }, + End: ast.Location{ + Line: int(1181), + Column: int(30), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "len", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(21), - }, - End: ast.Location{ - Line: int(1170), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12171, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(21), - }, - End: ast.Location{ - Line: int(1170), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12171, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(21), - }, - End: ast.Location{ - Line: int(1170), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1182), + Column: int(21), + }, + End: ast.Location{ + Line: int(1182), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -155880,493 +158402,401 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12397, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1182), + Column: int(21), + }, + End: ast.Location{ + Line: int(1182), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(32), - }, - End: ast.Location{ - Line: int(1170), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12180, + Ctx: p12401, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1182), + Column: int(32), + }, + End: ast.Location{ + Line: int(1182), + Column: int(33), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12397, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1182), + Column: int(21), + }, + End: ast.Location{ + Line: int(1182), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "len", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1170), + Line: int(1182), Column: int(15), }, End: ast.Location{ - Line: int(1170), + Line: int(1182), Column: int(34), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(9), - }, - End: ast.Location{ - Line: int(1177), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "len", - "std", - "v", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(12), - }, - End: ast.Location{ - Line: int(1171), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(12), - }, - End: ast.Location{ - Line: int(1171), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1171), + Line: int(1183), Column: int(19), }, End: ast.Location{ - Line: int(1171), + Line: int(1183), Column: int(20), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + Left: &ast.Var{ + Id: "len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1183), + Column: int(12), + }, + End: ast.Location{ + Line: int(1183), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "len", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1172), - Column: int(11), + Line: int(1183), + Column: int(12), }, End: ast.Location{ - Line: int(1172), - Column: int(15), + Line: int(1183), + Column: int(20), }, - File: p1, }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "\"\"", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p12103, + Ctx: p12338, FreeVars: ast.Identifiers{}, - }, - Value: "\"\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(14), + Line: int(1184), + Column: int(11), }, End: ast.Location{ - Line: int(1177), - Column: int(34), + Line: int(1184), + Column: int(15), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "len", - "std", - "v", }, }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(17), - }, - End: ast.Location{ - Line: int(1173), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "len", - "v", - }, - }, - Left: &ast.Index{ + Right: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(17), + Line: int(1185), + Column: int(31), }, End: ast.Location{ - Line: int(1173), - Column: int(27), + Line: int(1185), + Column: int(35), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1185), + Column: int(17), + }, + End: ast.Location{ + Line: int(1185), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1185), + Column: int(25), + }, + End: ast.Location{ + Line: int(1185), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1185), + Column: int(19), + }, + End: ast.Location{ + Line: int(1185), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1185), + Column: int(19), + }, + End: ast.Location{ + Line: int(1185), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p12103, + Ctx: p12338, FreeVars: ast.Identifiers{ "len", "v", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(17), - }, - End: ast.Location{ - Line: int(1173), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(19), - }, - End: ast.Location{ - Line: int(1173), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(19), - }, - End: ast.Location{ - Line: int(1173), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(25), - }, - End: ast.Location{ - Line: int(1173), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(31), + Line: int(1185), + Column: int(17), }, End: ast.Location{ - Line: int(1173), - Column: int(35), + Line: int(1185), + Column: int(27), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(11), - }, - End: ast.Location{ - Line: int(1175), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, + Fodder: ast.Fodder{}, + Ctx: p12338, FreeVars: ast.Identifiers{ - "$std", - "cindent", - "std", + "len", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1185), + Column: int(17), + }, + End: ast.Location{ + Line: int(1185), + Column: int(35), + }, + }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "split", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(25), - }, - End: ast.Location{ - Line: int(1174), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12212, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(25), - }, - End: ast.Location{ - Line: int(1174), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12212, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(25), - }, - End: ast.Location{ - Line: int(1174), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1186), + Column: int(25), + }, + End: ast.Location{ + Line: int(1186), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "split", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -156376,174 +158806,174 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "split", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12432, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1186), + Column: int(25), + }, + End: ast.Location{ + Line: int(1186), + Column: int(34), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(35), - }, - End: ast.Location{ - Line: int(1174), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12221, + Ctx: p12436, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1186), + Column: int(35), + }, + End: ast.Location{ + Line: int(1186), + Column: int(36), + }, + }, }, - Id: "v", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12436, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1174), + Line: int(1186), Column: int(38), }, End: ast.Location{ - Line: int(1174), + Line: int(1186), Column: int(42), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12221, - FreeVars: ast.Identifiers{}, }, - Value: "\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12432, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1186), + Column: int(25), + }, + End: ast.Location{ + Line: int(1186), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "split", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1174), + Line: int(1186), Column: int(17), }, End: ast.Location{ - Line: int(1174), + Line: int(1186), Column: int(43), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(11), - }, - End: ast.Location{ - Line: int(1175), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "split", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(11), - }, - End: ast.Location{ - Line: int(1175), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(11), - }, - End: ast.Location{ - Line: int(1175), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(11), + }, + End: ast.Location{ + Line: int(1187), + Column: int(14), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -156553,228 +158983,477 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(11), + }, + End: ast.Location{ + Line: int(1187), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(20), - }, - End: ast.Location{ - Line: int(1175), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(20), - }, - End: ast.Location{ - Line: int(1175), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(20), - }, - End: ast.Location{ - Line: int(1175), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(27), - }, - End: ast.Location{ - Line: int(1175), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1175), + Line: int(1187), Column: int(37), }, End: ast.Location{ - Line: int(1175), + Line: int(1187), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{}, }, - Value: " ", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(27), + }, + End: ast.Location{ + Line: int(1187), + Column: int(34), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(20), + }, + End: ast.Location{ + Line: int(1187), + Column: int(24), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(20), + }, + End: ast.Location{ + Line: int(1187), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(20), + }, + End: ast.Location{ + Line: int(1187), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(43), - }, - End: ast.Location{ - Line: int(1175), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "$std", - "split", - "std", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(43), - }, - End: ast.Location{ - Line: int(1175), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{}, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(44), - }, - End: ast.Location{ - Line: int(1175), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12247, - FreeVars: ast.Identifiers{}, - }, - Value: "|", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(51), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1175), - Column: int(81), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "split", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "split", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(51), + }, + End: ast.Location{ + Line: int(1187), + Column: int(56), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(57), + }, + End: ast.Location{ + Line: int(1187), + Column: int(58), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(79), + }, + End: ast.Location{ + Line: int(1187), + Column: int(80), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(59), + }, + End: ast.Location{ + Line: int(1187), + Column: int(62), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(59), + }, + End: ast.Location{ + Line: int(1187), + Column: int(69), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "split", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12478, + FreeVars: ast.Identifiers{ + "split", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(70), + }, + End: ast.Location{ + Line: int(1187), + Column: int(75), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "split", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(59), + }, + End: ast.Location{ + Line: int(1187), + Column: int(76), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "split", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(59), + }, + End: ast.Location{ + Line: int(1187), + Column: int(80), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -156782,424 +159461,198 @@ var _StdAst = &ast.DesugaredObject{ "split", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(51), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1187), + Column: int(81), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(51), - }, - End: ast.Location{ - Line: int(1175), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "split", - }, - }, - Id: "split", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(57), - }, - End: ast.Location{ - Line: int(1175), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(59), - }, - End: ast.Location{ - Line: int(1175), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(59), - }, - End: ast.Location{ - Line: int(1175), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(59), - }, - End: ast.Location{ - Line: int(1175), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(59), - }, - End: ast.Location{ - Line: int(1175), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(70), - }, - End: ast.Location{ - Line: int(1175), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12270, - FreeVars: ast.Identifiers{ - "split", - }, - }, - Id: "split", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(79), - }, - End: ast.Location{ - Line: int(1175), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12234, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, + Left: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "|", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12487, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(44), + }, + End: ast.Location{ + Line: int(1187), + Column: int(47), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(43), + }, + End: ast.Location{ + Line: int(1187), + Column: int(48), + }, + }, + }, + TrailingComma: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12450, + FreeVars: ast.Identifiers{ + "$std", + "split", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(43), + }, + End: ast.Location{ + Line: int(1187), + Column: int(81), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(11), - }, - End: ast.Location{ - Line: int(1177), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "split", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1177), + Line: int(1187), Column: int(11), }, End: ast.Location{ - Line: int(1177), - Column: int(31), + Line: int(1187), + Column: int(82), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", }, }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1186), + Column: int(11), + }, + End: ast.Location{ + Line: int(1187), + Column: int(82), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(11), - }, - End: ast.Location{ - Line: int(1177), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1189), + Column: int(11), + }, + End: ast.Location{ + Line: int(1189), + Column: int(14), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -157209,162 +159662,227 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "escapeStringJson", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1189), + Column: int(11), + }, + End: ast.Location{ + Line: int(1189), + Column: int(31), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(32), - }, - End: ast.Location{ - Line: int(1177), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12285, + Ctx: p12501, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1189), + Column: int(32), + }, + End: ast.Location{ + Line: int(1189), + Column: int(33), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1189), + Column: int(11), + }, + End: ast.Location{ + Line: int(1189), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "len", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1185), + Column: int(14), + }, + End: ast.Location{ + Line: int(1189), + Column: int(34), + }, + }, }, }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(12), + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - }, - Cond: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(15), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - End: ast.Location{ - Line: int(1178), - Column: int(32), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, + Ctx: p12338, FreeVars: ast.Identifiers{ + "$std", + "cindent", + "len", "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(15), - }, - End: ast.Location{ - Line: int(1178), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1183), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1189), + Column: int(34), }, }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "cindent", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1182), + Column: int(9), + }, + End: ast.Location{ + Line: int(1189), + Column: int(34), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(15), - }, - End: ast.Location{ - Line: int(1178), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1190), + Column: int(15), + }, + End: ast.Location{ + Line: int(1190), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -157374,256 +159892,220 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1190), + Column: int(15), + }, + End: ast.Location{ + Line: int(1190), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(30), - }, - End: ast.Location{ - Line: int(1178), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12299, + Ctx: p12520, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1190), + Column: int(30), + }, + End: ast.Location{ + Line: int(1190), + Column: int(31), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(9), - }, - End: ast.Location{ - Line: int(1179), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(15), - }, - End: ast.Location{ - Line: int(1179), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(15), - }, - End: ast.Location{ - Line: int(1179), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, - }, - Value: "Tried to manifest function at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(50), - }, - End: ast.Location{ - Line: int(1179), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(12), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12103, + Ctx: p12338, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(15), - }, - End: ast.Location{ - Line: int(1180), - Column: int(29), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1190), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1190), + Column: int(32), }, }, - Target: &ast.Index{ + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "path", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "path", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1180), + Line: int(1191), + Column: int(50), + }, + End: ast.Location{ + Line: int(1191), + Column: int(54), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Tried to manifest function at ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1191), Column: int(15), }, End: ast.Location{ - Line: int(1180), - Column: int(26), + Line: int(1191), + Column: int(47), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(15), + }, + End: ast.Location{ + Line: int(1191), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(9), + }, + End: ast.Location{ + Line: int(1191), + Column: int(54), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(15), - }, - End: ast.Location{ - Line: int(1180), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(15), + }, + End: ast.Location{ + Line: int(1192), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -157633,177 +160115,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(15), + }, + End: ast.Location{ + Line: int(1192), + Column: int(26), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(27), - }, - End: ast.Location{ - Line: int(1180), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12321, + Ctx: p12540, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(27), + }, + End: ast.Location{ + Line: int(1192), + Column: int(28), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(9), - }, - End: ast.Location{ - Line: int(1211), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p12103, + Fodder: ast.Fodder{}, + Ctx: p12338, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "path", "std", "v", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(12), - }, - End: ast.Location{ - Line: int(1181), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1192), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1193), + Column: int(29), + }, + End: ast.Location{ + Line: int(1193), + Column: int(30), + }, + }, }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(12), - }, - End: ast.Location{ - Line: int(1181), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(12), - }, - End: ast.Location{ - Line: int(1181), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(12), - }, - End: ast.Location{ - Line: int(1181), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1193), + Column: int(12), + }, + End: ast.Location{ + Line: int(1193), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -157813,317 +160263,355 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1193), + Column: int(12), + }, + End: ast.Location{ + Line: int(1193), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(23), - }, - End: ast.Location{ - Line: int(1181), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12337, + Ctx: p12554, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1193), + Column: int(23), + }, + End: ast.Location{ + Line: int(1193), + Column: int(24), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1181), - Column: int(29), + Line: int(1193), + Column: int(12), }, End: ast.Location{ - Line: int(1181), - Column: int(30), + Line: int(1193), + Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(11), - }, - End: ast.Location{ - Line: int(1182), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{}, - }, - Value: "[]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(11), - }, - End: ast.Location{ - Line: int(1211), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, + Fodder: ast.Fodder{}, + Ctx: p12338, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "path", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1193), + Column: int(12), + }, + End: ast.Location{ + Line: int(1193), + Column: int(30), + }, + }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "[]", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1194), + Column: int(11), + }, + End: ast.Location{ + Line: int(1194), + Column: int(15), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "params", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(17), - }, - End: ast.Location{ - Line: int(1204), - Column: int(14), - }, - File: p1, - }, - Fodder: nil, - Ctx: p12348, - FreeVars: ast.Identifiers{ - "cindent", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(24), - }, - End: ast.Location{ - Line: int(1184), - Column: int(29), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(13), - }, - End: ast.Location{ - Line: int(1204), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "value", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(16), + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(58), + }, + End: ast.Location{ + Line: int(1197), + Column: int(59), + }, + }, }, - End: ast.Location{ - Line: int(1185), - Column: int(59), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(38), + }, + End: ast.Location{ + Line: int(1197), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(38), + }, + End: ast.Location{ + Line: int(1197), + Column: int(48), + }, + }, + }, }, - File: p1, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12576, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(49), + }, + End: ast.Location{ + Line: int(1197), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(38), + }, + End: ast.Location{ + Line: int(1197), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(16), - }, - End: ast.Location{ - Line: int(1185), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12353, + Ctx: p12567, FreeVars: ast.Identifiers{ "std", "value", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(16), - }, - End: ast.Location{ - Line: int(1185), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(38), }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1197), + Column: int(59), }, }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(16), - }, - End: ast.Location{ - Line: int(1185), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(16), + }, + End: ast.Location{ + Line: int(1197), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -158133,769 +160621,448 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(16), + }, + End: ast.Location{ + Line: int(1197), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(28), - }, - End: ast.Location{ - Line: int(1185), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12366, + Ctx: p12588, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(28), + }, + End: ast.Location{ + Line: int(1197), + Column: int(33), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(38), - }, - End: ast.Location{ - Line: int(1185), - Column: int(59), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12353, + Ctx: p12567, FreeVars: ast.Identifiers{ "std", "value", }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(38), - }, - End: ast.Location{ - Line: int(1185), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(38), - }, - End: ast.Location{ - Line: int(1185), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(38), - }, - End: ast.Location{ - Line: int(1185), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(49), - }, - End: ast.Location{ - Line: int(1185), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12379, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(58), - }, - End: ast.Location{ - Line: int(1185), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(65), - }, - End: ast.Location{ - Line: int(1194), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(27), - }, - End: ast.Location{ - Line: int(1192), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(27), - }, - End: ast.Location{ - Line: int(1192), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(37), - }, - End: ast.Location{ - Line: int(1192), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12387, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1192), - Column: int(15), + Line: int(1197), + Column: int(16), }, End: ast.Location{ - Line: int(1192), - Column: int(41), + Line: int(1197), + Column: int(34), }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(22), - }, - End: ast.Location{ - Line: int(1193), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12387, - FreeVars: ast.Identifiers{}, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(22), - }, - End: ast.Location{ - Line: int(1193), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12387, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(29), - }, - End: ast.Location{ - Line: int(1193), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12387, - FreeVars: ast.Identifiers{}, - }, - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(29), - }, - End: ast.Location{ - Line: int(1193), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(15), - }, - End: ast.Location{ - Line: int(1193), - Column: int(44), - }, - File: p1, }, }, + TrailingComma: false, + TailStrict: false, }, - Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Conditional{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(20), - }, - End: ast.Location{ - Line: int(1204), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12353, + Ctx: p12567, FreeVars: ast.Identifiers{ - "cindent", "std", "value", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(23), - }, - End: ast.Location{ - Line: int(1194), - Column: int(67), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(16), }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - "value", + End: ast.Location{ + Line: int(1197), + Column: int(59), }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(23), - }, - End: ast.Location{ - Line: int(1194), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(1194), - Column: int(23), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1194), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(23), - }, - End: ast.Location{ - Line: int(1194), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " ", BlockIndent: "", BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12597, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1204), + Column: int(37), + }, + End: ast.Location{ + Line: int(1204), + Column: int(41), + }, + }, + }, + Kind: ast.LiteralStringKind(1), }, - RightBracketFodder: ast.Fodder{}, - Id: nil, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12597, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1204), + Column: int(27), + }, + End: ast.Location{ + Line: int(1204), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12597, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1204), + Column: int(27), + }, + End: ast.Location{ + Line: int(1204), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(36), - }, - End: ast.Location{ - Line: int(1194), - Column: int(41), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1204), + Column: int(15), + }, + End: ast.Location{ + Line: int(1204), + Column: int(41), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Self{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1205), + Column: int(29), }, - Fodder: ast.Fodder{}, - Ctx: p12411, - FreeVars: ast.Identifiers{ - "value", + End: ast.Location{ + Line: int(1205), + Column: int(33), }, }, - Id: "value", }, - CommaFodder: nil, + }, + Index: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12597, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1205), + Column: int(29), + }, + End: ast.Location{ + Line: int(1205), + Column: int(44), + }, + }, }, }, - Named: nil, + Left: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12597, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1205), + Column: int(22), + }, + End: ast.Location{ + Line: int(1205), + Column: int(26), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12597, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1205), + Column: int(22), + }, + End: ast.Location{ + Line: int(1205), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(3), }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(46), - }, - End: ast.Location{ - Line: int(1194), - Column: int(67), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1205), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - "value", + End: ast.Location{ + Line: int(1205), + Column: int(44), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(65), + }, + End: ast.Location{ + Line: int(1206), + Column: int(14), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(66), + }, + End: ast.Location{ + Line: int(1206), + Column: int(67), + }, + }, }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(46), - }, - End: ast.Location{ - Line: int(1194), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(46), - }, - End: ast.Location{ - Line: int(1194), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(46), - }, - End: ast.Location{ - Line: int(1194), - Column: int(49), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(46), + }, + End: ast.Location{ + Line: int(1206), + Column: int(49), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -158905,430 +161072,707 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(46), + }, + End: ast.Location{ + Line: int(1206), + Column: int(56), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(57), - }, - End: ast.Location{ - Line: int(1194), - Column: int(62), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12424, + Ctx: p12620, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(57), + }, + End: ast.Location{ + Line: int(1206), + Column: int(62), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + "value", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1194), - Column: int(66), + Line: int(1206), + Column: int(46), }, End: ast.Location{ - Line: int(1194), - Column: int(67), + Line: int(1206), + Column: int(63), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(46), + }, + End: ast.Location{ + Line: int(1206), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(23), + }, + End: ast.Location{ + Line: int(1206), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(23), + }, + End: ast.Location{ + Line: int(1206), + Column: int(35), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12632, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(36), + }, + End: ast.Location{ + Line: int(1206), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(23), + }, + End: ast.Location{ + Line: int(1206), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(23), + }, + End: ast.Location{ + Line: int(1206), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12641, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(37), + }, + End: ast.Location{ + Line: int(1207), + Column: int(41), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12641, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(27), + }, + End: ast.Location{ + Line: int(1207), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12641, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(27), + }, + End: ast.Location{ + Line: int(1207), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(15), + }, + End: ast.Location{ + Line: int(1207), + Column: int(41), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12641, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1211), + Column: int(22), + }, + End: ast.Location{ + Line: int(1211), + Column: int(25), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1211), + Column: int(15), + }, + End: ast.Location{ + Line: int(1211), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(73), + }, + End: ast.Location{ + Line: int(1212), + Column: int(14), + }, + }, + }, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12652, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1214), + Column: int(27), + }, + End: ast.Location{ + Line: int(1214), + Column: int(34), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1214), + Column: int(15), + }, + End: ast.Location{ + Line: int(1214), + Column: int(34), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12652, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1215), + Column: int(22), + }, + End: ast.Location{ + Line: int(1215), + Column: int(25), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1215), + Column: int(15), + }, + End: ast.Location{ + Line: int(1215), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1212), + Column: int(20), + }, + End: ast.Location{ + Line: int(1216), + Column: int(14), + }, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(73), - }, - End: ast.Location{ - Line: int(1200), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(27), - }, - End: ast.Location{ - Line: int(1195), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12432, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(27), - }, - End: ast.Location{ - Line: int(1195), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12432, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(37), - }, - End: ast.Location{ - Line: int(1195), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12432, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(15), - }, - End: ast.Location{ - Line: int(1195), - Column: int(41), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1199), - Column: int(22), - }, - End: ast.Location{ - Line: int(1199), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12432, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1199), - Column: int(15), - }, - End: ast.Location{ - Line: int(1199), - Column: int(25), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, ElseFodder: ast.Fodder{}, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1200), - Column: int(20), - }, - End: ast.Location{ - Line: int(1204), - Column: int(14), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "cindent", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1206), + Column: int(20), }, - Fodder: ast.Fodder{}, - Ctx: p12353, - FreeVars: ast.Identifiers{ - "cindent", + End: ast.Location{ + Line: int(1216), + Column: int(14), }, }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1202), - Column: int(27), - }, - End: ast.Location{ - Line: int(1202), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12444, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1202), - Column: int(15), - }, - End: ast.Location{ - Line: int(1202), - Column: int(34), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1203), - Column: int(22), - }, - End: ast.Location{ - Line: int(1203), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12444, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1203), - Column: int(15), - }, - End: ast.Location{ - Line: int(1203), - Column: int(25), - }, - File: p1, - }, - }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p12567, + FreeVars: ast.Identifiers{ + "cindent", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(13), + }, + End: ast.Location{ + Line: int(1216), + Column: int(14), }, - Locals: ast.LocalBinds{}, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1196), + Column: int(24), + }, + End: ast.Location{ + Line: int(1196), + Column: int(29), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p12661, + FreeVars: ast.Identifiers{ + "cindent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1196), + Column: int(17), + }, + End: ast.Location{ + Line: int(1216), + Column: int(14), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "params", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -159338,115 +161782,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(11), - }, - End: ast.Location{ - Line: int(1211), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "params", - "path", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "range", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(25), - }, - End: ast.Location{ - Line: int(1205), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12453, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(25), - }, - End: ast.Location{ - Line: int(1205), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12453, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(25), - }, - End: ast.Location{ - Line: int(1205), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(25), + }, + End: ast.Location{ + Line: int(1217), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -159456,135 +161832,115 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "range", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12670, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(25), + }, + End: ast.Location{ + Line: int(1217), + Column: int(34), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12674, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1205), + Line: int(1217), Column: int(35), }, End: ast.Location{ - Line: int(1205), + Line: int(1217), Column: int(36), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12462, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(38), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12674, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(54), + }, + End: ast.Location{ + Line: int(1217), + Column: int(55), + }, }, - End: ast.Location{ - Line: int(1205), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12462, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(38), - }, - End: ast.Location{ - Line: int(1205), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12462, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(38), - }, - End: ast.Location{ - Line: int(1205), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12462, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(38), - }, - End: ast.Location{ - Line: int(1205), - Column: int(41), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(38), + }, + End: ast.Location{ + Line: int(1217), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -159594,172 +161950,222 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12674, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(38), + }, + End: ast.Location{ + Line: int(1217), + Column: int(48), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(49), - }, - End: ast.Location{ - Line: int(1205), - Column: int(50), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12474, + Ctx: p12685, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(49), + }, + End: ast.Location{ + Line: int(1217), + Column: int(50), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12674, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1205), - Column: int(54), + Line: int(1217), + Column: int(38), }, End: ast.Location{ - Line: int(1205), - Column: int(55), + Line: int(1217), + Column: int(51), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12462, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12674, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(38), + }, + End: ast.Location{ + Line: int(1217), + Column: int(55), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12670, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(25), + }, + End: ast.Location{ + Line: int(1217), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "range", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1205), + Line: int(1217), Column: int(17), }, End: ast.Location{ - Line: int(1205), + Line: int(1217), Column: int(56), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(11), - }, - End: ast.Location{ - Line: int(1211), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "params", - "path", - "range", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "parts", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(25), - }, - End: ast.Location{ - Line: int(1210), - Column: int(12), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "params", - "path", - "range", - "v", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -159769,129 +162175,787 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "params", - "path", - "v", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(25), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1210), - Column: int(12), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12713, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(33), + }, + End: ast.Location{ + Line: int(1219), + Column: int(36), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12718, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(37), + }, + End: ast.Location{ + Line: int(1219), + Column: int(38), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12718, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(39), + }, + End: ast.Location{ + Line: int(1219), + Column: int(40), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12718, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(37), + }, + End: ast.Location{ + Line: int(1219), + Column: int(41), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12727, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(51), + }, + End: ast.Location{ + Line: int(1219), + Column: int(52), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12718, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(50), + }, + End: ast.Location{ + Line: int(1219), + Column: int(53), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12718, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(43), + }, + End: ast.Location{ + Line: int(1219), + Column: int(47), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12718, + FreeVars: ast.Identifiers{ + "i", + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(43), + }, + End: ast.Location{ + Line: int(1219), + Column: int(53), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "param", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(55), + }, + End: ast.Location{ + Line: int(1219), + Column: int(60), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12718, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(55), + }, + End: ast.Location{ + Line: int(1219), + Column: int(71), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12713, + FreeVars: ast.Identifiers{ + "aux", + "i", + "param", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(33), + }, + End: ast.Location{ + Line: int(1219), + Column: int(72), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "param", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(19), + }, + End: ast.Location{ + Line: int(1219), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12713, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(19), + }, + End: ast.Location{ + Line: int(1219), + Column: int(30), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "-", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p12713, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(13), + }, + End: ast.Location{ + Line: int(1219), + Column: int(16), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12713, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(13), + }, + End: ast.Location{ + Line: int(1219), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12713, + FreeVars: ast.Identifiers{ + "aux", + "i", + "param", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1219), + Column: int(13), + }, + End: ast.Location{ + Line: int(1219), + Column: int(72), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "i", + "param", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "param", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "i", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "params", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12756, + FreeVars: ast.Identifiers{ + "params", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1221), + Column: int(27), + }, + End: ast.Location{ + Line: int(1221), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12761, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1221), + Column: int(34), + }, + End: ast.Location{ + Line: int(1221), + Column: int(35), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12761, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1221), + Column: int(36), + }, + End: ast.Location{ + Line: int(1221), + Column: int(37), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12761, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1221), + Column: int(34), + }, + End: ast.Location{ + Line: int(1221), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12756, + FreeVars: ast.Identifiers{ + "i", + "params", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1221), + Column: int(27), + }, + End: ast.Location{ + Line: int(1221), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12767, + FreeVars: ast.Identifiers{ + "i", + "params", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1221), + Column: int(26), + }, + End: ast.Location{ + Line: int(1221), + Column: int(40), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -159902,906 +162966,186 @@ var _StdAst = &ast.DesugaredObject{ "path", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1218), + Column: int(25), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1222), + Column: int(12), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "path", - "v", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "param", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(13), - }, - End: ast.Location{ - Line: int(1207), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12507, - FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(13), - }, - End: ast.Location{ - Line: int(1207), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12507, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(13), - }, - End: ast.Location{ - Line: int(1207), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p12507, - FreeVars: ast.Identifiers{}, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(19), - }, - End: ast.Location{ - Line: int(1207), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12507, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(19), - }, - End: ast.Location{ - Line: int(1207), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Id: "param", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(33), - }, - End: ast.Location{ - Line: int(1207), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12507, - FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(33), - }, - End: ast.Location{ - Line: int(1207), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12507, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(37), - }, - End: ast.Location{ - Line: int(1207), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12524, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(37), - }, - End: ast.Location{ - Line: int(1207), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12524, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(39), - }, - End: ast.Location{ - Line: int(1207), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12524, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(43), - }, - End: ast.Location{ - Line: int(1207), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12524, - FreeVars: ast.Identifiers{ - "i", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(43), - }, - End: ast.Location{ - Line: int(1207), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12524, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(50), - }, - End: ast.Location{ - Line: int(1207), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12524, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(51), - }, - End: ast.Location{ - Line: int(1207), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12538, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(55), - }, - End: ast.Location{ - Line: int(1207), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12524, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(55), - }, - End: ast.Location{ - Line: int(1207), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Id: "param", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(26), - }, - End: ast.Location{ - Line: int(1209), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12546, - FreeVars: ast.Identifiers{ - "i", - "params", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(27), - }, - End: ast.Location{ - Line: int(1209), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12550, - FreeVars: ast.Identifiers{ - "i", - "params", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(27), - }, - End: ast.Location{ - Line: int(1209), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12550, - FreeVars: ast.Identifiers{ - "params", - }, - }, - Id: "params", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(34), - }, - End: ast.Location{ - Line: int(1209), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12556, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(34), - }, - End: ast.Location{ - Line: int(1209), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12556, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(36), - }, - End: ast.Location{ - Line: int(1209), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12556, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "params", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "range", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(22), - }, - End: ast.Location{ - Line: int(1208), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12546, + Ctx: p12767, FreeVars: ast.Identifiers{ "range", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1220), + Column: int(22), + }, + End: ast.Location{ + Line: int(1220), + Column: int(27), + }, + }, }, - Id: "range", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "params", + "path", + "range", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1218), + Column: int(25), + }, + End: ast.Location{ + Line: int(1222), + Column: int(12), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "parts", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1206), + Line: int(1218), Column: int(17), }, End: ast.Location{ - Line: int(1210), + Line: int(1222), Column: int(12), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(11), - }, - End: ast.Location{ - Line: int(1211), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "cindent", - "parts", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(11), - }, - End: ast.Location{ - Line: int(1211), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(11), - }, - End: ast.Location{ - Line: int(1211), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1223), + Column: int(11), + }, + End: ast.Location{ + Line: int(1223), + Column: int(14), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -160811,234 +163155,336 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1223), + Column: int(11), + }, + End: ast.Location{ + Line: int(1223), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(20), - }, - End: ast.Location{ - Line: int(1211), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12574, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(20), - }, - End: ast.Location{ - Line: int(1211), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12574, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Var{ + Id: "cindent", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(27), - }, - End: ast.Location{ - Line: int(1211), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12574, + Ctx: p12785, FreeVars: ast.Identifiers{ "cindent", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1223), + Column: int(27), + }, + End: ast.Location{ + Line: int(1223), + Column: int(34), + }, + }, }, - Id: "cindent", }, + Left: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12785, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1223), + Column: int(20), + }, + End: ast.Location{ + Line: int(1223), + Column: int(24), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12785, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1223), + Column: int(20), + }, + End: ast.Location{ + Line: int(1223), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "parts", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(36), - }, - End: ast.Location{ - Line: int(1211), - Column: int(41), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12574, + Ctx: p12785, FreeVars: ast.Identifiers{ "parts", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1223), + Column: int(36), + }, + End: ast.Location{ + Line: int(1223), + Column: int(41), + }, + }, }, - Id: "parts", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "cindent", + "parts", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1223), + Column: int(11), + }, + End: ast.Location{ + Line: int(1223), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "params", + "path", + "range", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1218), + Column: int(11), + }, + End: ast.Location{ + Line: int(1223), + Column: int(42), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "params", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1217), + Column: int(11), + }, + End: ast.Location{ + Line: int(1223), + Column: int(42), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "path", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1196), + Column: int(11), + }, + End: ast.Location{ + Line: int(1223), + Column: int(42), }, }, }, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(12), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - Fodder: ast.Fodder{}, - Ctx: p12103, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p12338, FreeVars: ast.Identifiers{ "$std", "aux", "cindent", - "escapeKeyYaml", - "indent_array_in_object", "path", - "quote_keys", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(15), - }, - End: ast.Location{ - Line: int(1212), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1193), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1223), + Column: int(42), }, }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(15), - }, - End: ast.Location{ - Line: int(1212), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(15), - }, - End: ast.Location{ - Line: int(1212), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1224), + Column: int(15), + }, + End: ast.Location{ + Line: int(1224), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -161048,180 +163494,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1224), + Column: int(15), + }, + End: ast.Location{ + Line: int(1224), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(28), - }, - End: ast.Location{ - Line: int(1212), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12593, + Ctx: p12810, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1224), + Column: int(28), + }, + End: ast.Location{ + Line: int(1224), + Column: int(29), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(9), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p12103, + Fodder: ast.Fodder{}, + Ctx: p12338, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", "std", "v", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(12), - }, - End: ast.Location{ - Line: int(1213), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1224), + Column: int(15), }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1224), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(29), + }, + End: ast.Location{ + Line: int(1225), + Column: int(30), + }, + }, }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(12), - }, - End: ast.Location{ - Line: int(1213), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(12), - }, - End: ast.Location{ - Line: int(1213), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(12), - }, - End: ast.Location{ - Line: int(1213), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(12), + }, + End: ast.Location{ + Line: int(1225), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -161231,322 +163642,355 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(12), + }, + End: ast.Location{ + Line: int(1225), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(23), - }, - End: ast.Location{ - Line: int(1213), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12609, + Ctx: p12824, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(23), + }, + End: ast.Location{ + Line: int(1225), + Column: int(24), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1213), - Column: int(29), + Line: int(1225), + Column: int(12), }, End: ast.Location{ - Line: int(1213), - Column: int(30), + Line: int(1225), + Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1214), - Column: int(11), - }, - End: ast.Location{ - Line: int(1214), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{}, - }, - Value: "{}", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1216), - Column: int(11), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, + Fodder: ast.Fodder{}, + Ctx: p12338, FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(12), + }, + End: ast.Location{ + Line: int(1225), + Column: int(30), + }, + }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "{}", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1226), + Column: int(11), + }, + End: ast.Location{ + Line: int(1226), + Column: int(15), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "params", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1216), - Column: int(17), - }, - End: ast.Location{ - Line: int(1233), - Column: int(14), - }, - File: p1, - }, - Fodder: nil, - Ctx: p12620, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1216), - Column: int(24), - }, - End: ast.Location{ - Line: int(1216), - Column: int(29), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(13), - }, - End: ast.Location{ - Line: int(1233), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - "std", - "value", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(16), + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(58), + }, + End: ast.Location{ + Line: int(1229), + Column: int(59), + }, + }, }, - End: ast.Location{ - Line: int(1217), - Column: int(59), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(38), + }, + End: ast.Location{ + Line: int(1229), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(38), + }, + End: ast.Location{ + Line: int(1229), + Column: int(48), + }, + }, + }, }, - File: p1, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12846, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(49), + }, + End: ast.Location{ + Line: int(1229), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(38), + }, + End: ast.Location{ + Line: int(1229), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(16), - }, - End: ast.Location{ - Line: int(1217), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12625, + Ctx: p12837, FreeVars: ast.Identifiers{ "std", "value", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(16), - }, - End: ast.Location{ - Line: int(1217), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(38), }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1229), + Column: int(59), }, }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(16), - }, - End: ast.Location{ - Line: int(1217), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(16), + }, + End: ast.Location{ + Line: int(1229), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -161556,838 +164000,517 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(16), + }, + End: ast.Location{ + Line: int(1229), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(28), - }, - End: ast.Location{ - Line: int(1217), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12638, + Ctx: p12858, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(28), + }, + End: ast.Location{ + Line: int(1229), + Column: int(33), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(59), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12625, + Ctx: p12837, FreeVars: ast.Identifiers{ "std", "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(16), + }, + End: ast.Location{ + Line: int(1229), + Column: int(34), + }, + }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(49), - }, - End: ast.Location{ - Line: int(1217), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12651, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(58), - }, - End: ast.Location{ - Line: int(1217), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + "value", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1217), - Column: int(65), + Line: int(1229), + Column: int(16), }, End: ast.Location{ - Line: int(1226), - Column: int(14), + Line: int(1229), + Column: int(59), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", }, }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.DesugaredObject{ Asserts: ast.Nodes{}, Fields: ast.DesugaredObjectFields{ ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(1224), - Column: int(27), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1224), - Column: int(85), + Line: int(0), + Column: int(0), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Conditional{ + Cond: &ast.Var{ + Id: "indent_array_in_object", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1236), + Column: int(30), + }, + End: ast.Location{ + Line: int(1236), + Column: int(52), + }, + }, + }, + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1236), + Column: int(68), + }, + End: ast.Location{ + Line: int(1236), + Column: int(72), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1236), + Column: int(58), + }, + End: ast.Location{ + Line: int(1236), + Column: int(65), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1236), + Column: int(58), + }, + End: ast.Location{ + Line: int(1236), + Column: int(72), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1236), + Column: int(78), + }, + End: ast.Location{ + Line: int(1236), + Column: int(85), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p12659, + Ctx: p12867, FreeVars: ast.Identifiers{ "cindent", "indent_array_in_object", }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(30), - }, - End: ast.Location{ - Line: int(1224), - Column: int(52), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1236), + Column: int(27), }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{ - "indent_array_in_object", + End: ast.Location{ + Line: int(1236), + Column: int(85), }, }, - Id: "indent_array_in_object", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(58), - }, - End: ast.Location{ - Line: int(1224), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(58), - }, - End: ast.Location{ - Line: int(1224), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(68), - }, - End: ast.Location{ - Line: int(1224), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(78), - }, - End: ast.Location{ - Line: int(1224), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", }, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1224), + Line: int(1236), Column: int(15), }, End: ast.Location{ - Line: int(1224), + Line: int(1236), Column: int(85), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), Name: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(1225), - Column: int(22), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1225), - Column: int(44), + Line: int(0), + Column: int(0), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{}, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(22), - }, - End: ast.Location{ - Line: int(1225), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(29), - }, - End: ast.Location{ - Line: int(1225), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12659, - FreeVars: ast.Identifiers{}, - }, Target: &ast.Self{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(29), - }, - End: ast.Location{ - Line: int(1225), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1237), + Column: int(29), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1237), + Column: int(33), }, - File: nil, }, + }, + }, + Index: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - Value: "new_indent", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(29), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + }, + }, }, + Left: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(22), + }, + End: ast.Location{ + Line: int(1237), + Column: int(26), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12867, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(22), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(3), }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1225), + Line: int(1237), Column: int(15), }, End: ast.Location{ - Line: int(1225), + Line: int(1237), Column: int(44), }, - File: p1, }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, }, }, Locals: ast.LocalBinds{}, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(20), - }, - End: ast.Location{ - Line: int(1233), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12625, + Ctx: p12837, FreeVars: ast.Identifiers{ "cindent", - "std", - "value", + "indent_array_in_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(65), + }, + End: ast.Location{ + Line: int(1238), + Column: int(14), + }, }, }, + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(23), - }, - End: ast.Location{ - Line: int(1226), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(23), - }, - End: ast.Location{ - Line: int(1226), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1226), - Column: int(23), + Line: int(1238), + Column: int(66), }, End: ast.Location{ - Line: int(1226), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(23), - }, - End: ast.Location{ - Line: int(1226), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Line: int(1238), + Column: int(67), }, }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(36), - }, - End: ast.Location{ - Line: int(1226), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12689, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(46), - }, - End: ast.Location{ - Line: int(1226), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - "value", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(46), - }, - End: ast.Location{ - Line: int(1226), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(46), - }, - End: ast.Location{ - Line: int(1226), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(46), - }, - End: ast.Location{ - Line: int(1226), - Column: int(49), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(46), + }, + End: ast.Location{ + Line: int(1238), + Column: int(49), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -162397,515 +164520,794 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(46), + }, + End: ast.Location{ + Line: int(1238), + Column: int(56), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(57), - }, - End: ast.Location{ - Line: int(1226), - Column: int(62), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12702, + Ctx: p12896, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(57), + }, + End: ast.Location{ + Line: int(1238), + Column: int(62), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + "value", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1226), - Column: int(66), + Line: int(1238), + Column: int(46), }, End: ast.Location{ - Line: int(1226), - Column: int(67), + Line: int(1238), + Column: int(63), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(46), + }, + End: ast.Location{ + Line: int(1238), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(23), + }, + End: ast.Location{ + Line: int(1238), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(23), + }, + End: ast.Location{ + Line: int(1238), + Column: int(35), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12908, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(36), + }, + End: ast.Location{ + Line: int(1238), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(23), + }, + End: ast.Location{ + Line: int(1238), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(23), + }, + End: ast.Location{ + Line: int(1238), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12917, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1239), + Column: int(37), + }, + End: ast.Location{ + Line: int(1239), + Column: int(41), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12917, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1239), + Column: int(27), + }, + End: ast.Location{ + Line: int(1239), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12917, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1239), + Column: int(27), + }, + End: ast.Location{ + Line: int(1239), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1239), + Column: int(15), + }, + End: ast.Location{ + Line: int(1239), + Column: int(41), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Self{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1240), + Column: int(29), + }, + End: ast.Location{ + Line: int(1240), + Column: int(33), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12917, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1240), + Column: int(29), + }, + End: ast.Location{ + Line: int(1240), + Column: int(44), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12917, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1240), + Column: int(22), + }, + End: ast.Location{ + Line: int(1240), + Column: int(26), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12917, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1240), + Column: int(22), + }, + End: ast.Location{ + Line: int(1240), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1240), + Column: int(15), + }, + End: ast.Location{ + Line: int(1240), + Column: int(44), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(73), + }, + End: ast.Location{ + Line: int(1241), + Column: int(14), + }, + }, + }, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Var{ + Id: "cindent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12932, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1243), + Column: int(27), + }, + End: ast.Location{ + Line: int(1243), + Column: int(34), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1243), + Column: int(15), + }, + End: ast.Location{ + Line: int(1243), + Column: int(34), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.LiteralString{ + Value: " ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12932, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1244), + Column: int(22), + }, + End: ast.Location{ + Line: int(1244), + Column: int(25), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1244), + Column: int(15), + }, + End: ast.Location{ + Line: int(1244), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1241), + Column: int(20), + }, + End: ast.Location{ + Line: int(1245), + Column: int(14), + }, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(73), - }, - End: ast.Location{ - Line: int(1229), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1227), - Column: int(27), - }, - End: ast.Location{ - Line: int(1227), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12710, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1227), - Column: int(27), - }, - End: ast.Location{ - Line: int(1227), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12710, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1227), - Column: int(37), - }, - End: ast.Location{ - Line: int(1227), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12710, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1227), - Column: int(15), - }, - End: ast.Location{ - Line: int(1227), - Column: int(41), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(22), - }, - End: ast.Location{ - Line: int(1228), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12710, - FreeVars: ast.Identifiers{}, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(22), - }, - End: ast.Location{ - Line: int(1228), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12710, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(29), - }, - End: ast.Location{ - Line: int(1228), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12710, - FreeVars: ast.Identifiers{}, - }, - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(29), - }, - End: ast.Location{ - Line: int(1228), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(15), - }, - End: ast.Location{ - Line: int(1228), - Column: int(44), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, ElseFodder: ast.Fodder{}, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(20), - }, - End: ast.Location{ - Line: int(1233), - Column: int(14), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "cindent", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(20), }, - Fodder: ast.Fodder{}, - Ctx: p12625, - FreeVars: ast.Identifiers{ - "cindent", + End: ast.Location{ + Line: int(1245), + Column: int(14), }, }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1231), - Column: int(27), - }, - End: ast.Location{ - Line: int(1231), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12726, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1231), - Column: int(15), - }, - End: ast.Location{ - Line: int(1231), - Column: int(34), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1232), - Column: int(22), - }, - End: ast.Location{ - Line: int(1232), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12726, - FreeVars: ast.Identifiers{}, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1232), - Column: int(15), - }, - End: ast.Location{ - Line: int(1232), - Column: int(25), - }, - File: p1, - }, - }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p12837, + FreeVars: ast.Identifiers{ + "cindent", + "indent_array_in_object", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1229), + Column: int(13), + }, + End: ast.Location{ + Line: int(1245), + Column: int(14), }, - Locals: ast.LocalBinds{}, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1228), + Column: int(24), + }, + End: ast.Location{ + Line: int(1228), + Column: int(29), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p12941, + FreeVars: ast.Identifiers{ + "cindent", + "indent_array_in_object", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1228), + Column: int(17), + }, + End: ast.Location{ + Line: int(1245), + Column: int(14), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "params", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -162915,80 +165317,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1234), - Column: int(11), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "params", - "path", - "quote_keys", - "std", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "lines", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1234), - Column: int(25), - }, - End: ast.Location{ - Line: int(1238), - Column: int(12), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "escapeKeyYaml", - "params", - "path", - "quote_keys", - "std", - "v", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -162998,132 +165391,1072 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "escapeKeyYaml", - "params", - "path", - "quote_keys", - "std", - "v", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1234), - Column: int(25), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1238), - Column: int(12), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(102), + }, + End: ast.Location{ + Line: int(1247), + Column: int(105), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12971, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(106), + }, + End: ast.Location{ + Line: int(1247), + Column: int(107), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12971, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(108), + }, + End: ast.Location{ + Line: int(1247), + Column: int(109), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12971, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(106), + }, + End: ast.Location{ + Line: int(1247), + Column: int(110), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12980, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(120), + }, + End: ast.Location{ + Line: int(1247), + Column: int(121), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12971, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(119), + }, + End: ast.Location{ + Line: int(1247), + Column: int(122), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "path", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12971, + FreeVars: ast.Identifiers{ + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(112), + }, + End: ast.Location{ + Line: int(1247), + Column: int(116), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12971, + FreeVars: ast.Identifiers{ + "k", + "path", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(112), + }, + End: ast.Location{ + Line: int(1247), + Column: int(122), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "param", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(124), + }, + End: ast.Location{ + Line: int(1247), + Column: int(129), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "new_indent", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12971, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(124), + }, + End: ast.Location{ + Line: int(1247), + Column: int(140), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "aux", + "k", + "param", + "path", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(102), + }, + End: ast.Location{ + Line: int(1247), + Column: int(141), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "param", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(88), + }, + End: ast.Location{ + Line: int(1247), + Column: int(93), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "space", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "param", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(88), + }, + End: ast.Location{ + Line: int(1247), + Column: int(99), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: ":", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(82), + }, + End: ast.Location{ + Line: int(1247), + Column: int(85), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Conditional{ + Cond: &ast.Var{ + Id: "quote_keys", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "quote_keys", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(17), + }, + End: ast.Location{ + Line: int(1247), + Column: int(27), + }, + }, + }, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(33), + }, + End: ast.Location{ + Line: int(1247), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringJson", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(33), + }, + End: ast.Location{ + Line: int(1247), + Column: int(53), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13011, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(54), + }, + End: ast.Location{ + Line: int(1247), + Column: int(55), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(33), + }, + End: ast.Location{ + Line: int(1247), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "escapeKeyYaml", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "escapeKeyYaml", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(62), + }, + End: ast.Location{ + Line: int(1247), + Column: int(75), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13019, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(76), + }, + End: ast.Location{ + Line: int(1247), + Column: int(77), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "escapeKeyYaml", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(62), + }, + End: ast.Location{ + Line: int(1247), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "escapeKeyYaml", + "k", + "quote_keys", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(14), + }, + End: ast.Location{ + Line: int(1247), + Column: int(78), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "escapeKeyYaml", + "k", + "quote_keys", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(13), + }, + End: ast.Location{ + Line: int(1247), + Column: int(85), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "escapeKeyYaml", + "k", + "param", + "quote_keys", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(13), + }, + End: ast.Location{ + Line: int(1247), + Column: int(99), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12966, + FreeVars: ast.Identifiers{ + "aux", + "escapeKeyYaml", + "k", + "param", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(13), + }, + End: ast.Location{ + Line: int(1247), + Column: int(141), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "escapeKeyYaml", + "k", + "param", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "param", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "escapeKeyYaml", + "k", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "params", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13033, + FreeVars: ast.Identifiers{ + "params", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1249), + Column: int(27), + }, + End: ast.Location{ + Line: int(1249), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13038, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1249), + Column: int(34), + }, + End: ast.Location{ + Line: int(1249), + Column: int(35), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13038, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1249), + Column: int(36), + }, + End: ast.Location{ + Line: int(1249), + Column: int(37), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13038, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1249), + Column: int(34), + }, + End: ast.Location{ + Line: int(1249), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13033, + FreeVars: ast.Identifiers{ + "k", + "params", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1249), + Column: int(27), + }, + End: ast.Location{ + Line: int(1249), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13044, + FreeVars: ast.Identifiers{ + "k", + "params", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1249), + Column: int(26), + }, + End: ast.Location{ + Line: int(1249), + Column: int(40), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -163137,1135 +166470,108 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(25), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1250), + Column: int(12), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "escapeKeyYaml", - "k", - "path", - "quote_keys", - "std", - "v", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "param", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "escapeKeyYaml", - "k", - "param", - "path", - "quote_keys", - "std", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(13), - }, - End: ast.Location{ - Line: int(1235), - Column: int(141), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "aux", - "escapeKeyYaml", - "k", - "param", - "path", - "quote_keys", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(13), - }, - End: ast.Location{ - Line: int(1235), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - "param", - "quote_keys", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(13), - }, - End: ast.Location{ - Line: int(1235), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - "quote_keys", - "std", - }, - }, - Left: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(14), - }, - End: ast.Location{ - Line: int(1235), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - "quote_keys", - "std", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(17), - }, - End: ast.Location{ - Line: int(1235), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "quote_keys", - }, - }, - Id: "quote_keys", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(33), - }, - End: ast.Location{ - Line: int(1235), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(33), - }, - End: ast.Location{ - Line: int(1235), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(33), - }, - End: ast.Location{ - Line: int(1235), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(54), - }, - End: ast.Location{ - Line: int(1235), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12779, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(62), - }, - End: ast.Location{ - Line: int(1235), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(62), - }, - End: ast.Location{ - Line: int(1235), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - }, - }, - Id: "escapeKeyYaml", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(76), - }, - End: ast.Location{ - Line: int(1235), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(82), - }, - End: ast.Location{ - Line: int(1235), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{}, - }, - Value: ":", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(88), - }, - End: ast.Location{ - Line: int(1235), - Column: int(99), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(88), - }, - End: ast.Location{ - Line: int(1235), - Column: int(93), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Id: "param", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(102), - }, - End: ast.Location{ - Line: int(1235), - Column: int(141), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "aux", - "k", - "param", - "path", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(102), - }, - End: ast.Location{ - Line: int(1235), - Column: int(105), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12760, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(106), - }, - End: ast.Location{ - Line: int(1235), - Column: int(110), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12801, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(106), - }, - End: ast.Location{ - Line: int(1235), - Column: int(107), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12801, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(108), - }, - End: ast.Location{ - Line: int(1235), - Column: int(109), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12801, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(112), - }, - End: ast.Location{ - Line: int(1235), - Column: int(122), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12801, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(112), - }, - End: ast.Location{ - Line: int(1235), - Column: int(116), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12801, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(119), - }, - End: ast.Location{ - Line: int(1235), - Column: int(122), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12801, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(120), - }, - End: ast.Location{ - Line: int(1235), - Column: int(121), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12815, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(124), - }, - End: ast.Location{ - Line: int(1235), - Column: int(140), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12801, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(124), - }, - End: ast.Location{ - Line: int(1235), - Column: int(129), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Id: "param", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(26), - }, - End: ast.Location{ - Line: int(1237), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12823, - FreeVars: ast.Identifiers{ - "k", - "params", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(27), - }, - End: ast.Location{ - Line: int(1237), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12827, - FreeVars: ast.Identifiers{ - "k", - "params", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(27), - }, - End: ast.Location{ - Line: int(1237), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12827, - FreeVars: ast.Identifiers{ - "params", - }, - }, - Id: "params", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(34), - }, - End: ast.Location{ - Line: int(1237), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12833, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(34), - }, - End: ast.Location{ - Line: int(1237), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12833, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(36), - }, - End: ast.Location{ - Line: int(1237), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12833, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "escapeKeyYaml", + "params", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(22), - }, - End: ast.Location{ - Line: int(1236), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12823, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(22), - }, - End: ast.Location{ - Line: int(1236), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12823, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(22), - }, - End: ast.Location{ - Line: int(1236), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1248), + Column: int(22), + }, + End: ast.Location{ + Line: int(1248), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -164275,157 +166581,184 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13044, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1248), + Column: int(22), + }, + End: ast.Location{ + Line: int(1248), + Column: int(38), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(39), - }, - End: ast.Location{ - Line: int(1236), - Column: int(40), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12848, + Ctx: p13057, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1248), + Column: int(39), + }, + End: ast.Location{ + Line: int(1248), + Column: int(40), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13044, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1248), + Column: int(22), + }, + End: ast.Location{ + Line: int(1248), + Column: int(41), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "escapeKeyYaml", + "params", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(25), + }, + End: ast.Location{ + Line: int(1250), + Column: int(12), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "lines", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1234), + Line: int(1246), Column: int(17), }, End: ast.Location{ - Line: int(1238), + Line: int(1250), Column: int(12), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(11), - }, - End: ast.Location{ - Line: int(1239), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "cindent", - "lines", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(11), - }, - End: ast.Location{ - Line: int(1239), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12103, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(11), - }, - End: ast.Location{ - Line: int(1239), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(11), + }, + End: ast.Location{ + Line: int(1251), + Column: int(14), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -164435,134 +166768,282 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(11), + }, + End: ast.Location{ + Line: int(1251), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(20), - }, - End: ast.Location{ - Line: int(1239), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12860, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(20), - }, - End: ast.Location{ - Line: int(1239), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12860, - FreeVars: ast.Identifiers{}, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Var{ + Id: "cindent", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(27), - }, - End: ast.Location{ - Line: int(1239), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12860, + Ctx: p13071, FreeVars: ast.Identifiers{ "cindent", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(27), + }, + End: ast.Location{ + Line: int(1251), + Column: int(34), + }, + }, }, - Id: "cindent", }, + Left: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13071, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(20), + }, + End: ast.Location{ + Line: int(1251), + Column: int(24), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13071, + FreeVars: ast.Identifiers{ + "cindent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(20), + }, + End: ast.Location{ + Line: int(1251), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "lines", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(36), - }, - End: ast.Location{ - Line: int(1239), - Column: int(41), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12860, + Ctx: p13071, FreeVars: ast.Identifiers{ "lines", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(36), + }, + End: ast.Location{ + Line: int(1251), + Column: int(41), + }, + }, }, - Id: "lines", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "cindent", + "lines", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(11), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "params", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(11), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1228), + Column: int(11), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(9), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), }, }, }, }, - ElseFodder: nil, BranchFalse: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -164572,25 +167053,396 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1224), + Column: int(12), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(12), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1190), + Column: int(12), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(12), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1179), + Column: int(12), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1177), + Column: int(12), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1175), + Column: int(12), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p12338, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "cindent", + "escapeKeyYaml", + "indent_array_in_object", + "path", + "quote_keys", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1173), + Column: int(7), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1172), + Column: int(15), + }, + End: ast.Location{ + Line: int(1172), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "path", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1172), + Column: int(18), + }, + End: ast.Location{ + Line: int(1172), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "cindent", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1172), + Column: int(24), + }, + End: ast.Location{ + Line: int(1172), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p13103, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "escapeKeyYaml", + "indent_array_in_object", + "quote_keys", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1172), + Column: int(11), + }, + End: ast.Location{ + Line: int(1251), + Column: int(42), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -164600,473 +167452,537 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p11219, - FreeVars: ast.Identifiers{ - "aux", - "value", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(5), - }, - End: ast.Location{ - Line: int(1240), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p11219, + Ctx: p13108, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1252), + Column: int(5), + }, + End: ast.Location{ + Line: int(1252), + Column: int(8), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(9), - }, - End: ast.Location{ - Line: int(1240), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12875, + Ctx: p13112, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1252), + Column: int(9), + }, + End: ast.Location{ + Line: int(1252), + Column: int(14), + }, + }, }, - Id: "value", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13112, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1240), + Line: int(1252), Column: int(16), }, End: ast.Location{ - Line: int(1240), + Line: int(1252), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12875, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13112, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1240), + Line: int(1252), Column: int(20), }, End: ast.Location{ - Line: int(1240), + Line: int(1252), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12875, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13108, + FreeVars: ast.Identifiers{ + "aux", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1252), + Column: int(5), + }, + End: ast.Location{ + Line: int(1252), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13108, + FreeVars: ast.Identifiers{ + "$std", + "escapeKeyYaml", + "indent_array_in_object", + "quote_keys", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1172), + Column: int(5), + }, + End: ast.Location{ + Line: int(1252), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13108, + FreeVars: ast.Identifiers{ + "$std", + "bareSafe", + "indent_array_in_object", + "quote_keys", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1170), + Column: int(5), + }, + End: ast.Location{ + Line: int(1252), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13108, + FreeVars: ast.Identifiers{ + "$std", + "indent_array_in_object", + "isReserved", + "onlyChars", + "quote_keys", + "std", + "typeMatch", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(5), + }, + End: ast.Location{ + Line: int(1252), + Column: int(23), }, }, }, }, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(3), - }, - End: ast.Location{ - Line: int(1240), - Column: int(23), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestYamlStream", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1242), - Column: int(22), - }, - End: ast.Location{ - Line: int(1242), - Column: int(27), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indent_array_in_object", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13108, + FreeVars: ast.Identifiers{ + "$std", + "indent_array_in_object", + "isReserved", + "onlyChars", + "quote_keys", + "std", + "value", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1242), - Column: int(52), + Line: int(1077), + Column: int(5), }, End: ast.Location{ - Line: int(1242), - Column: int(57), + Line: int(1252), + Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{}, }, - Value: false, }, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1242), - Column: int(29), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, }, - End: ast.Location{ - Line: int(1242), - Column: int(57), + Ctx: p13108, + FreeVars: ast.Identifiers{ + "$std", + "indent_array_in_object", + "onlyChars", + "quote_keys", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1061), + Column: int(5), + }, + End: ast.Location{ + Line: int(1252), + Column: int(23), + }, }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c_document_end", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1242), - Column: int(74), - }, - End: ast.Location{ - Line: int(1242), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1242), - Column: int(59), - }, - End: ast.Location{ - Line: int(1242), - Column: int(78), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "quote_keys", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1242), - Column: int(91), - }, - End: ast.Location{ - Line: int(1242), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1242), - Column: int(80), - }, - End: ast.Location{ - Line: int(1242), - Column: int(95), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1243), - Column: int(5), - }, - End: ast.Location{ - Line: int(1248), - Column: int(53), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p12884, + Ctx: p13108, FreeVars: ast.Identifiers{ "$std", - "c_document_end", "indent_array_in_object", "quote_keys", "std", "value", }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1243), - Column: int(8), - }, - End: ast.Location{ - Line: int(1243), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1057), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "std", - "value", + End: ast.Location{ + Line: int(1252), + Column: int(23), }, }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1056), + Column: int(19), + }, + End: ast.Location{ + Line: int(1056), + Column: int(24), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indent_array_in_object", + CommaFodder: ast.Fodder{}, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13108, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1243), - Column: int(9), + Line: int(1056), + Column: int(49), }, End: ast.Location{ - Line: int(1243), - Column: int(27), + Line: int(1056), + Column: int(54), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "std", - "value", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1243), - Column: int(9), - }, - End: ast.Location{ - Line: int(1243), - Column: int(20), - }, - File: p1, + Value: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1056), + Column: int(26), + }, + End: ast.Location{ + Line: int(1056), + Column: int(54), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "quote_keys", + CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13108, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1056), + Column: int(67), }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1056), + Column: int(71), }, }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1056), + Column: int(56), + }, + End: ast.Location{ + Line: int(1056), + Column: int(71), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1056), + Column: int(3), + }, + End: ast.Location{ + Line: int(1252), + Column: int(23), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestYamlStream", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1243), - Column: int(9), - }, - End: ast.Location{ - Line: int(1243), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1255), + Column: int(9), + }, + End: ast.Location{ + Line: int(1255), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -165076,199 +167992,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1255), + Column: int(9), + }, + End: ast.Location{ + Line: int(1255), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1243), - Column: int(21), - }, - End: ast.Location{ - Line: int(1243), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12901, + Ctx: p13146, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1255), + Column: int(21), + }, + End: ast.Location{ + Line: int(1255), + Column: int(26), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(7), - }, - End: ast.Location{ - Line: int(1244), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(13), - }, - End: ast.Location{ - Line: int(1244), - Column: int(75), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12884, + Ctx: p13142, FreeVars: ast.Identifiers{ "std", "value", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(13), - }, - End: ast.Location{ - Line: int(1244), - Column: int(57), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1255), + Column: int(9), + }, + End: ast.Location{ + Line: int(1255), + Column: int(27), }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{}, }, - Value: "manifestYamlStream only takes arrays, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1255), + Column: int(8), + }, + End: ast.Location{ + Line: int(1255), + Column: int(27), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(60), - }, - End: ast.Location{ - Line: int(1244), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(60), - }, - End: ast.Location{ - Line: int(1244), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(60), - }, - End: ast.Location{ - Line: int(1244), - Column: int(63), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1256), + Column: int(60), + }, + End: ast.Location{ + Line: int(1256), + Column: int(63), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -165278,217 +168142,290 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1256), + Column: int(60), + }, + End: ast.Location{ + Line: int(1256), + Column: int(68), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(69), - }, - End: ast.Location{ - Line: int(1244), - Column: int(74), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12918, + Ctx: p13160, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1256), + Column: int(69), + }, + End: ast.Location{ + Line: int(1256), + Column: int(74), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(7), - }, - End: ast.Location{ - Line: int(1248), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "$std", - "c_document_end", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(7), - }, - End: ast.Location{ - Line: int(1248), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - }, - Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(7), - }, - End: ast.Location{ - Line: int(1246), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12884, - FreeVars: ast.Identifiers{}, - }, - Value: "---\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(17), - }, - End: ast.Location{ - Line: int(1248), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12884, + Ctx: p13142, FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "quote_keys", "std", "value", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(17), - }, - End: ast.Location{ - Line: int(1246), - Column: int(25), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1256), + Column: int(60), }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1256), + Column: int(75), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "manifestYamlStream only takes arrays, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1256), + Column: int(13), + }, + End: ast.Location{ + Line: int(1256), + Column: int(57), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1256), + Column: int(13), + }, + End: ast.Location{ + Line: int(1256), + Column: int(75), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1256), + Column: int(7), + }, + End: ast.Location{ + Line: int(1256), + Column: int(75), + }, + }, + }, + }, + BranchFalse: &ast.Binary{ + Right: &ast.Conditional{ + Cond: &ast.Var{ + Id: "c_document_end", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "c_document_end", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(14), + }, + End: ast.Location{ + Line: int(1260), + Column: int(28), + }, + }, + }, + }, + BranchTrue: &ast.LiteralString{ + Value: "\n...\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(34), + }, + End: ast.Location{ + Line: int(1260), + Column: int(43), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(49), + }, + End: ast.Location{ + Line: int(1260), + Column: int(53), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "c_document_end", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(11), + }, + End: ast.Location{ + Line: int(1260), + Column: int(53), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(17), - }, - End: ast.Location{ - Line: int(1246), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1258), + Column: int(17), + }, + End: ast.Location{ + Line: int(1258), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -165498,71 +168435,433 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1258), + Column: int(17), + }, + End: ast.Location{ + Line: int(1258), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\n---\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(9), - }, - End: ast.Location{ - Line: int(1247), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p12937, + Ctx: p13184, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(9), + }, + End: ast.Location{ + Line: int(1259), + Column: int(18), + }, + }, }, - Value: "\n---\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(20), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1247), - Column: int(95), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(21), + }, + End: ast.Location{ + Line: int(1259), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "manifestYamlDoc", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13200, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(21), + }, + End: ast.Location{ + Line: int(1259), + Column: int(40), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13204, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(41), + }, + End: ast.Location{ + Line: int(1259), + Column: int(42), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "indent_array_in_object", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13204, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(44), + }, + End: ast.Location{ + Line: int(1259), + Column: int(66), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "quote_keys", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13204, + FreeVars: ast.Identifiers{ + "quote_keys", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(68), + }, + End: ast.Location{ + Line: int(1259), + Column: int(78), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13200, + FreeVars: ast.Identifiers{ + "e", + "indent_array_in_object", + "quote_keys", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(21), + }, + End: ast.Location{ + Line: int(1259), + Column: int(79), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "e", + "indent_array_in_object", + "quote_keys", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "e", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + "quote_keys", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13184, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(89), + }, + End: ast.Location{ + Line: int(1259), + Column: int(94), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -165572,665 +168871,420 @@ var _StdAst = &ast.DesugaredObject{ "std", "value", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1259), + Column: int(20), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1259), + Column: int(95), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - "quote_keys", - "std", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "e", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "e", - "indent_array_in_object", - "quote_keys", - "std", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(21), - }, - End: ast.Location{ - Line: int(1247), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12953, - FreeVars: ast.Identifiers{ - "e", - "indent_array_in_object", - "quote_keys", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(21), - }, - End: ast.Location{ - Line: int(1247), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12953, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(21), - }, - End: ast.Location{ - Line: int(1247), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestYamlDoc", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(41), - }, - End: ast.Location{ - Line: int(1247), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12962, - FreeVars: ast.Identifiers{ - "e", - }, - }, - Id: "e", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(44), - }, - End: ast.Location{ - Line: int(1247), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12962, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - }, - }, - Id: "indent_array_in_object", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(68), - }, - End: ast.Location{ - Line: int(1247), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12962, - FreeVars: ast.Identifiers{ - "quote_keys", - }, - }, - Id: "quote_keys", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(89), - }, - End: ast.Location{ - Line: int(1247), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12937, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(11), - }, - End: ast.Location{ - Line: int(1248), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "c_document_end", - }, - }, - Cond: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "$std", + "indent_array_in_object", + "quote_keys", + "std", + "value", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1248), + Line: int(1258), + Column: int(17), + }, + End: ast.Location{ + Line: int(1260), + Column: int(8), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "---\n", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1258), + Column: int(7), + }, + End: ast.Location{ + Line: int(1258), Column: int(14), }, - End: ast.Location{ - Line: int(1248), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{ - "c_document_end", }, }, - Id: "c_document_end", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(34), - }, - End: ast.Location{ - Line: int(1248), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{}, - }, - Value: "\n...\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(49), - }, - End: ast.Location{ - Line: int(1248), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12884, - FreeVars: ast.Identifiers{}, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "$std", + "indent_array_in_object", + "quote_keys", + "std", + "value", }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1258), + Column: int(7), + }, + End: ast.Location{ + Line: int(1260), + Column: int(8), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "$std", + "c_document_end", + "indent_array_in_object", + "quote_keys", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1258), + Column: int(7), + }, + End: ast.Location{ + Line: int(1260), + Column: int(53), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13142, + FreeVars: ast.Identifiers{ + "$std", + "c_document_end", + "indent_array_in_object", + "quote_keys", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1255), + Column: int(5), + }, + End: ast.Location{ + Line: int(1260), + Column: int(53), }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1242), - Column: int(3), - }, - End: ast.Location{ - Line: int(1248), - Column: int(53), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(22), + }, + End: ast.Location{ + Line: int(1254), + Column: int(27), + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indent_array_in_object", + CommaFodder: ast.Fodder{}, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(52), + }, + End: ast.Location{ + Line: int(1254), + Column: int(57), + }, + }, + }, + Value: false, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(29), + }, + End: ast.Location{ + Line: int(1254), + Column: int(57), + }, }, - File: nil, }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "c_document_end", + CommaFodder: ast.Fodder{}, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(74), + }, + End: ast.Location{ + Line: int(1254), + Column: int(78), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(59), + }, + End: ast.Location{ + Line: int(1254), + Column: int(78), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "quote_keys", + CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13142, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(91), + }, + End: ast.Location{ + Line: int(1254), + Column: int(95), + }, + }, + }, + Value: true, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(80), + }, + End: ast.Location{ + Line: int(1254), + Column: int(95), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: nil, - Ctx: p12, + Ctx: p23, FreeVars: ast.Identifiers{ "$std", "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(18), - }, - End: ast.Location{ - Line: int(1251), - Column: int(19), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(5), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1254), + Column: int(3), + }, + End: ast.Location{ + Line: int(1260), + Column: int(53), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestPython", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(8), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(8), - }, - End: ast.Location{ - Line: int(1252), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(8), - }, - End: ast.Location{ - Line: int(1252), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1264), + Column: int(8), + }, + End: ast.Location{ + Line: int(1264), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -166240,116 +169294,151 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1264), + Column: int(8), + }, + End: ast.Location{ + Line: int(1264), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(21), - }, - End: ast.Location{ - Line: int(1252), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12994, + Ctx: p13243, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1264), + Column: int(21), + }, + End: ast.Location{ + Line: int(1264), + Column: int(22), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1253), - Column: int(7), - }, - End: ast.Location{ - Line: int(1257), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12983, + Fodder: ast.Fodder{}, + Ctx: p13239, FreeVars: ast.Identifiers{ - "$std", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1264), + Column: int(8), + }, + End: ast.Location{ + Line: int(1264), + Column: int(23), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "fields", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1253), - Column: int(22), - }, - End: ast.Location{ - Line: int(1256), - Column: int(8), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -166359,152 +169448,467 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "std", - "v", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(9), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1254), - Column: int(73), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "%s: %s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13267, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(9), + }, + End: ast.Location{ + Line: int(1266), + Column: int(17), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(21), + }, + End: ast.Location{ + Line: int(1266), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringPython", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13275, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(21), + }, + End: ast.Location{ + Line: int(1266), + Column: int(43), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13279, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(44), + }, + End: ast.Location{ + Line: int(1266), + Column: int(45), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13275, + FreeVars: ast.Identifiers{ + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(21), + }, + End: ast.Location{ + Line: int(1266), + Column: int(46), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(48), + }, + End: ast.Location{ + Line: int(1266), + Column: int(51), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "manifestPython", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13275, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(48), + }, + End: ast.Location{ + Line: int(1266), + Column: int(66), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13291, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(67), + }, + End: ast.Location{ + Line: int(1266), + Column: int(68), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13291, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(69), + }, + End: ast.Location{ + Line: int(1266), + Column: int(70), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13291, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(67), + }, + End: ast.Location{ + Line: int(1266), + Column: int(71), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13275, + FreeVars: ast.Identifiers{ + "k", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(48), + }, + End: ast.Location{ + Line: int(1266), + Column: int(72), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13267, + FreeVars: ast.Identifiers{ + "k", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(20), + }, + End: ast.Location{ + Line: int(1266), + Column: int(73), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -166513,533 +169917,131 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(9), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1266), + Column: int(73), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(9), - }, - End: ast.Location{ - Line: int(1254), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13024, - FreeVars: ast.Identifiers{}, - }, - Value: "%s: %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(20), - }, - End: ast.Location{ - Line: int(1254), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13024, - FreeVars: ast.Identifiers{ - "k", - "std", - "v", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(21), - }, - End: ast.Location{ - Line: int(1254), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13029, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(21), - }, - End: ast.Location{ - Line: int(1254), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13029, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(21), - }, - End: ast.Location{ - Line: int(1254), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "escapeStringPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(44), - }, - End: ast.Location{ - Line: int(1254), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13038, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(48), - }, - End: ast.Location{ - Line: int(1254), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13029, - FreeVars: ast.Identifiers{ - "k", - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(48), - }, - End: ast.Location{ - Line: int(1254), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13029, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(48), - }, - End: ast.Location{ - Line: int(1254), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(67), - }, - End: ast.Location{ - Line: int(1254), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13049, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(67), - }, - End: ast.Location{ - Line: int(1254), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13049, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(69), - }, - End: ast.Location{ - Line: int(1254), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13049, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "k", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(18), - }, - End: ast.Location{ - Line: int(1255), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13056, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(18), - }, - End: ast.Location{ - Line: int(1255), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13056, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(18), - }, - End: ast.Location{ - Line: int(1255), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1267), + Column: int(18), + }, + End: ast.Location{ + Line: int(1267), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -167049,96 +170051,434 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13307, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1267), + Column: int(18), + }, + End: ast.Location{ + Line: int(1267), + Column: int(34), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(35), - }, - End: ast.Location{ - Line: int(1255), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13065, + Ctx: p13311, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1267), + Column: int(35), + }, + End: ast.Location{ + Line: int(1267), + Column: int(36), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13307, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1267), + Column: int(18), + }, + End: ast.Location{ + Line: int(1267), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1265), + Column: int(22), + }, + End: ast.Location{ + Line: int(1268), + Column: int(8), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "fields", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1253), + Line: int(1265), Column: int(13), }, End: ast.Location{ - Line: int(1256), + Line: int(1268), Column: int(8), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(7), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1257), - Column: int(40), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "{%s}", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(7), + }, + End: ast.Location{ + Line: int(1269), + Column: int(13), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(17), + }, + End: ast.Location{ + Line: int(1269), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13331, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(17), + }, + End: ast.Location{ + Line: int(1269), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: ", ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13335, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(26), + }, + End: ast.Location{ + Line: int(1269), + Column: int(30), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "fields", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13335, + FreeVars: ast.Identifiers{ + "fields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(32), + }, + End: ast.Location{ + Line: int(1269), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13331, + FreeVars: ast.Identifiers{ + "fields", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(17), + }, + End: ast.Location{ + Line: int(1269), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "fields", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(16), + }, + End: ast.Location{ + Line: int(1269), + Column: int(40), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -167146,402 +170486,86 @@ var _StdAst = &ast.DesugaredObject{ "fields", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(7), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1269), + Column: int(40), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(7), - }, - End: ast.Location{ - Line: int(1257), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Value: "{%s}", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(16), - }, - End: ast.Location{ - Line: int(1257), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(17), - }, - End: ast.Location{ - Line: int(1257), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13081, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(17), - }, - End: ast.Location{ - Line: int(1257), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13081, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(17), - }, - End: ast.Location{ - Line: int(1257), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(26), - }, - End: ast.Location{ - Line: int(1257), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13090, - FreeVars: ast.Identifiers{}, - }, - Value: ", ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(32), - }, - End: ast.Location{ - Line: int(1257), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13090, - FreeVars: ast.Identifiers{ - "fields", - }, - }, - Id: "fields", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(10), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p12983, + Ctx: p13239, FreeVars: ast.Identifiers{ "$std", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(13), - }, - End: ast.Location{ - Line: int(1258), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1265), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1269), + Column: int(40), }, }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(13), - }, - End: ast.Location{ - Line: int(1258), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(13), - }, - End: ast.Location{ - Line: int(1258), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1270), + Column: int(13), + }, + End: ast.Location{ + Line: int(1270), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -167551,82 +170575,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1270), + Column: int(13), + }, + End: ast.Location{ + Line: int(1270), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(25), - }, - End: ast.Location{ - Line: int(1258), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13105, + Ctx: p13352, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1270), + Column: int(25), + }, + End: ast.Location{ + Line: int(1270), + Column: int(26), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(7), - }, - End: ast.Location{ - Line: int(1259), - Column: int(70), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13239, FreeVars: ast.Identifiers{ - "$std", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1270), + Column: int(13), + }, + End: ast.Location{ + Line: int(1270), + Column: int(27), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -167636,192 +170725,83 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "[%s]", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(7), - }, - End: ast.Location{ - Line: int(1259), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p12983, + Ctx: p13239, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(7), + }, + End: ast.Location{ + Line: int(1271), + Column: int(13), + }, + }, }, - Value: "[%s]", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(16), - }, - End: ast.Location{ - Line: int(1259), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(17), - }, - End: ast.Location{ - Line: int(1259), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13121, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(17), - }, - End: ast.Location{ - Line: int(1259), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13121, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(17), - }, - End: ast.Location{ - Line: int(1259), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(17), + }, + End: ast.Location{ + Line: int(1271), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -167831,64 +170811,370 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13371, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(17), + }, + End: ast.Location{ + Line: int(1271), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: ", ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13375, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1259), + Line: int(1271), Column: int(26), }, End: ast.Location{ - Line: int(1259), + Line: int(1271), Column: int(30), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p13130, - FreeVars: ast.Identifiers{}, }, - Value: ", ", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(32), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1259), - Column: int(68), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(33), + }, + End: ast.Location{ + Line: int(1271), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "manifestPython", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13391, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(33), + }, + End: ast.Location{ + Line: int(1271), + Column: int(51), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13395, + FreeVars: ast.Identifiers{ + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(52), + }, + End: ast.Location{ + Line: int(1271), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13391, + FreeVars: ast.Identifiers{ + "std", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(33), + }, + End: ast.Location{ + Line: int(1271), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "v2", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "v2", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13375, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(66), + }, + End: ast.Location{ + Line: int(1271), + Column: int(67), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -167896,438 +171182,146 @@ var _StdAst = &ast.DesugaredObject{ "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(32), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1271), + Column: int(68), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "v2", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "v2", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(33), - }, - End: ast.Location{ - Line: int(1259), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13146, - FreeVars: ast.Identifiers{ - "std", - "v2", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(33), - }, - End: ast.Location{ - Line: int(1259), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13146, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(33), - }, - End: ast.Location{ - Line: int(1259), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(52), - }, - End: ast.Location{ - Line: int(1259), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13155, - FreeVars: ast.Identifiers{ - "v2", - }, - }, - Id: "v2", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(66), - }, - End: ast.Location{ - Line: int(1259), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13130, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13371, + FreeVars: ast.Identifiers{ + "$std", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(17), + }, + End: ast.Location{ + Line: int(1271), + Column: int(69), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "$std", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(16), + }, + End: ast.Location{ + Line: int(1271), + Column: int(70), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(10), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "$std", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(13), - }, - End: ast.Location{ - Line: int(1260), - Column: int(28), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1271), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1271), + Column: int(70), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(13), - }, - End: ast.Location{ - Line: int(1260), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(13), - }, - End: ast.Location{ - Line: int(1260), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1272), + Column: int(13), + }, + End: ast.Location{ + Line: int(1272), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -168337,82 +171331,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1272), + Column: int(13), + }, + End: ast.Location{ + Line: int(1272), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(26), - }, - End: ast.Location{ - Line: int(1260), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13171, + Ctx: p13416, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1272), + Column: int(26), + }, + End: ast.Location{ + Line: int(1272), + Column: int(27), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(7), - }, - End: ast.Location{ - Line: int(1261), - Column: int(41), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13239, FreeVars: ast.Identifiers{ - "$std", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1272), + Column: int(13), + }, + End: ast.Location{ + Line: int(1272), + Column: int(28), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -168422,190 +171481,83 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "%s", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(7), - }, - End: ast.Location{ - Line: int(1261), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p12983, + Ctx: p13239, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(7), + }, + End: ast.Location{ + Line: int(1273), + Column: int(11), + }, + }, }, - Value: "%s", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(14), - }, - End: ast.Location{ - Line: int(1261), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(15), - }, - End: ast.Location{ - Line: int(1261), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13187, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(15), - }, - End: ast.Location{ - Line: int(1261), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13187, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(15), - }, - End: ast.Location{ - Line: int(1261), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(15), + }, + End: ast.Location{ + Line: int(1273), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "escapeStringPython", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -168615,168 +171567,181 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "escapeStringPython", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13435, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(15), + }, + End: ast.Location{ + Line: int(1273), + Column: int(37), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(38), - }, - End: ast.Location{ - Line: int(1261), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13196, + Ctx: p13439, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(38), + }, + End: ast.Location{ + Line: int(1273), + Column: int(39), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13435, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(15), + }, + End: ast.Location{ + Line: int(1273), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(14), + }, + End: ast.Location{ + Line: int(1273), + Column: int(41), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1262), - Column: int(10), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "$std", "std", "v", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1262), - Column: int(13), - }, - End: ast.Location{ - Line: int(1262), - Column: int(30), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(1273), + Column: int(41), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1262), - Column: int(13), - }, - End: ast.Location{ - Line: int(1262), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1262), - Column: int(13), - }, - End: ast.Location{ - Line: int(1262), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1274), + Column: int(13), + }, + End: ast.Location{ + Line: int(1274), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isFunction", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -168786,202 +171751,173 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isFunction", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1274), + Column: int(13), + }, + End: ast.Location{ + Line: int(1274), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1262), - Column: int(28), - }, - End: ast.Location{ - Line: int(1262), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13210, + Ctx: p13453, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1274), + Column: int(28), + }, + End: ast.Location{ + Line: int(1274), + Column: int(29), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1263), - Column: int(7), - }, - End: ast.Location{ - Line: int(1263), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1263), - Column: int(13), - }, - End: ast.Location{ - Line: int(1263), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Value: "cannot manifest function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(10), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12983, + Ctx: p13239, FreeVars: ast.Identifiers{ "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1274), + Column: int(13), + }, + End: ast.Location{ + Line: int(1274), + Column: int(30), + }, + }, }, - Cond: &ast.Apply{ + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "cannot manifest function", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1264), + Line: int(1275), Column: int(13), }, End: ast.Location{ - Line: int(1264), - Column: int(28), + Line: int(1275), + Column: int(39), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(13), - }, - End: ast.Location{ - Line: int(1264), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", - }, + Kind: ast.LiteralStringKind(1), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), }, + }, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1275), + Column: int(7), + }, + End: ast.Location{ + Line: int(1275), + Column: int(39), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(13), - }, - End: ast.Location{ - Line: int(1264), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(13), + }, + End: ast.Location{ + Line: int(1276), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isNumber", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -168991,131 +171927,130 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isNumber", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(13), + }, + End: ast.Location{ + Line: int(1276), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(26), - }, - End: ast.Location{ - Line: int(1264), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13227, + Ctx: p13468, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(26), + }, + End: ast.Location{ + Line: int(1276), + Column: int(27), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1265), - Column: int(7), - }, - End: ast.Location{ - Line: int(1265), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p12983, + Ctx: p13239, FreeVars: ast.Identifiers{ "std", "v", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1265), - Column: int(7), - }, - End: ast.Location{ - Line: int(1265), - Column: int(19), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1276), + Column: int(28), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1265), - Column: int(7), - }, - End: ast.Location{ - Line: int(1265), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1277), + Column: int(7), + }, + End: ast.Location{ + Line: int(1277), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "toString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -169125,599 +172060,782 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "toString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1277), + Column: int(7), + }, + End: ast.Location{ + Line: int(1277), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13480, + FreeVars: ast.Identifiers{ + "v", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1265), + Line: int(1277), Column: int(20), }, End: ast.Location{ - Line: int(1265), + Line: int(1277), Column: int(21), }, - File: p1, }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1277), + Column: int(7), + }, + End: ast.Location{ + Line: int(1277), + Column: int(22), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1278), + Column: int(18), + }, + End: ast.Location{ + Line: int(1278), + Column: int(22), + }, + }, + }, + Value: true, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1278), + Column: int(13), + }, + End: ast.Location{ + Line: int(1278), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1278), + Column: int(13), + }, + End: ast.Location{ + Line: int(1278), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "True", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1279), + Column: int(7), + }, + End: ast.Location{ + Line: int(1279), + Column: int(13), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1280), + Column: int(18), + }, + End: ast.Location{ + Line: int(1280), + Column: int(23), + }, + }, + }, + Value: false, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1280), + Column: int(13), + }, + End: ast.Location{ + Line: int(1280), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1280), + Column: int(13), + }, + End: ast.Location{ + Line: int(1280), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "False", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1281), + Column: int(7), + }, + End: ast.Location{ + Line: int(1281), + Column: int(14), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1282), + Column: int(18), + }, + End: ast.Location{ + Line: int(1282), + Column: int(22), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: p13239, FreeVars: ast.Identifiers{ "v", }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(10), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(13), - }, - End: ast.Location{ - Line: int(1266), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(13), - }, - End: ast.Location{ - Line: int(1266), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(18), - }, - End: ast.Location{ - Line: int(1266), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1267), - Column: int(7), - }, - End: ast.Location{ - Line: int(1267), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Value: "True", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(10), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(13), - }, - End: ast.Location{ - Line: int(1268), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(13), - }, - End: ast.Location{ - Line: int(1268), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(18), - }, - End: ast.Location{ - Line: int(1268), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(7), - }, - End: ast.Location{ - Line: int(1269), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Value: "False", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(10), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(13), - }, - End: ast.Location{ - Line: int(1270), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1270), + Line: int(1282), Column: int(13), }, End: ast.Location{ - Line: int(1270), + Line: int(1282), Column: int(14), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{ - "v", }, }, - Id: "v", }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(18), - }, - End: ast.Location{ - Line: int(1270), - Column: int(22), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1282), + Column: int(13), + }, + End: ast.Location{ + Line: int(1282), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.LiteralString{ + Value: "None", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13239, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1283), + Column: int(7), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + BranchFalse: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p12983, - FreeVars: ast.Identifiers{}, }, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(7), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p12983, - FreeVars: ast.Identifiers{}, - }, - Value: "None", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, ElseFodder: nil, - BranchFalse: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1282), + Column: int(10), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1280), + Column: int(10), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1278), + Column: int(10), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(10), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1274), + Column: int(10), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "$std", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1272), + Column: int(10), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "$std", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1270), + Column: int(10), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13239, + FreeVars: ast.Identifiers{ + "$std", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1264), + Column: int(5), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(3), + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1263), + Column: int(18), + }, + End: ast.Location{ + Line: int(1263), + Column: int(19), + }, + }, + }, }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestPythonVars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, + Ctx: p23, FreeVars: ast.Identifiers{ "$std", "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "conf", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(22), - }, - End: ast.Location{ - Line: int(1273), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(5), - }, - End: ast.Location{ - Line: int(1275), - Column: int(32), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1263), + Column: int(3), + }, + End: ast.Location{ + Line: int(1283), + Column: int(13), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestPythonVars", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p13278, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "vars", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(18), - }, - End: ast.Location{ - Line: int(1274), - Column: int(96), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "std", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -169727,152 +172845,356 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "std", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "k", - "std", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(19), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1274), - Column: int(63), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "%s = %s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13548, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(19), + }, + End: ast.Location{ + Line: int(1286), + Column: int(28), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13552, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(32), + }, + End: ast.Location{ + Line: int(1286), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(35), + }, + End: ast.Location{ + Line: int(1286), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "manifestPython", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13552, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(35), + }, + End: ast.Location{ + Line: int(1286), + Column: int(53), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "conf", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13563, + FreeVars: ast.Identifiers{ + "conf", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(54), + }, + End: ast.Location{ + Line: int(1286), + Column: int(58), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13563, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(59), + }, + End: ast.Location{ + Line: int(1286), + Column: int(60), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13563, + FreeVars: ast.Identifiers{ + "conf", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(54), + }, + End: ast.Location{ + Line: int(1286), + Column: int(61), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13552, + FreeVars: ast.Identifiers{ + "conf", + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(35), + }, + End: ast.Location{ + Line: int(1286), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13548, + FreeVars: ast.Identifiers{ + "conf", + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(31), + }, + End: ast.Location{ + Line: int(1286), + Column: int(63), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -169881,422 +173203,131 @@ var _StdAst = &ast.DesugaredObject{ "k", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(19), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1286), + Column: int(63), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(19), - }, - End: ast.Location{ - Line: int(1274), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13304, - FreeVars: ast.Identifiers{}, - }, - Value: "%s = %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(31), - }, - End: ast.Location{ - Line: int(1274), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13304, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(32), - }, - End: ast.Location{ - Line: int(1274), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13309, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(35), - }, - End: ast.Location{ - Line: int(1274), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13309, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(35), - }, - End: ast.Location{ - Line: int(1274), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13309, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(35), - }, - End: ast.Location{ - Line: int(1274), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(54), - }, - End: ast.Location{ - Line: int(1274), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13320, - FreeVars: ast.Identifiers{ - "conf", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(54), - }, - End: ast.Location{ - Line: int(1274), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13320, - FreeVars: ast.Identifiers{ - "conf", - }, - }, - Id: "conf", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(59), - }, - End: ast.Location{ - Line: int(1274), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13320, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "conf", + "k", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "conf", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(73), - }, - End: ast.Location{ - Line: int(1274), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13327, - FreeVars: ast.Identifiers{ - "conf", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(73), - }, - End: ast.Location{ - Line: int(1274), - Column: int(89), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13327, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(73), - }, - End: ast.Location{ - Line: int(1274), - Column: int(76), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(73), + }, + End: ast.Location{ + Line: int(1286), + Column: int(76), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -170306,156 +173337,179 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13579, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(73), + }, + End: ast.Location{ + Line: int(1286), + Column: int(89), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "conf", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(90), - }, - End: ast.Location{ - Line: int(1274), - Column: int(94), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13336, + Ctx: p13583, FreeVars: ast.Identifiers{ "conf", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(90), + }, + End: ast.Location{ + Line: int(1286), + Column: int(94), + }, + }, }, - Id: "conf", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13579, + FreeVars: ast.Identifiers{ + "conf", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(73), + }, + End: ast.Location{ + Line: int(1286), + Column: int(95), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "conf", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(18), + }, + End: ast.Location{ + Line: int(1286), + Column: int(96), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "vars", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1274), + Line: int(1286), Column: int(11), }, End: ast.Location{ - Line: int(1274), + Line: int(1286), Column: int(96), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(5), - }, - End: ast.Location{ - Line: int(1275), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13278, - FreeVars: ast.Identifiers{ - "std", - "vars", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(5), - }, - End: ast.Location{ - Line: int(1275), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13278, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(5), - }, - End: ast.Location{ - Line: int(1275), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(5), + }, + End: ast.Location{ + Line: int(1287), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -170465,358 +173519,337 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13593, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(5), + }, + End: ast.Location{ + Line: int(1287), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "\n", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13597, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1275), + Line: int(1287), Column: int(14), }, End: ast.Location{ - Line: int(1275), + Line: int(1287), Column: int(18), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p13348, - FreeVars: ast.Identifiers{}, }, - Value: "\n", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(20), - }, - End: ast.Location{ - Line: int(1275), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13348, - FreeVars: ast.Identifiers{ - "vars", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(20), - }, - End: ast.Location{ - Line: int(1275), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13348, - FreeVars: ast.Identifiers{ - "vars", - }, - }, - Id: "vars", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(27), - }, - End: ast.Location{ - Line: int(1275), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13348, - FreeVars: ast.Identifiers{}, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13602, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1275), + Line: int(1287), Column: int(28), }, End: ast.Location{ - Line: int(1275), + Line: int(1287), Column: int(30), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p13356, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13597, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(27), + }, + End: ast.Location{ + Line: int(1287), + Column: int(31), + }, + }, + }, + TrailingComma: false, }, + Left: &ast.Var{ + Id: "vars", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13597, + FreeVars: ast.Identifiers{ + "vars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(20), + }, + End: ast.Location{ + Line: int(1287), + Column: int(24), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13597, + FreeVars: ast.Identifiers{ + "vars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(20), + }, + End: ast.Location{ + Line: int(1287), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13593, + FreeVars: ast.Identifiers{ + "std", + "vars", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(5), + }, + End: ast.Location{ + Line: int(1287), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13593, + FreeVars: ast.Identifiers{ + "$std", + "conf", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(5), + }, + End: ast.Location{ + Line: int(1287), + Column: int(32), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(3), + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "conf", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1285), + Column: int(22), + }, + End: ast.Location{ + Line: int(1285), + Column: int(26), + }, + }, + }, }, - End: ast.Location{ - Line: int(1275), - Column: int(32), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "manifestXmlJsonml", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, + Ctx: p23, FreeVars: ast.Identifiers{ "$std", "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(21), - }, - End: ast.Location{ - Line: int(1277), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(5), - }, - End: ast.Location{ - Line: int(1293), - Column: int(17), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1285), + Column: int(3), + }, + End: ast.Location{ + Line: int(1287), + Column: int(32), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "manifestXmlJsonml", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p13363, - FreeVars: ast.Identifiers{ - "$std", - "std", - "value", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(8), - }, - End: ast.Location{ - Line: int(1278), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13363, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(9), - }, - End: ast.Location{ - Line: int(1278), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13363, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(9), - }, - End: ast.Location{ - Line: int(1278), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13363, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(9), - }, - End: ast.Location{ - Line: int(1278), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1290), + Column: int(9), + }, + End: ast.Location{ + Line: int(1290), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -170826,101 +173859,346 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13620, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1290), + Column: int(9), + }, + End: ast.Location{ + Line: int(1290), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(21), - }, - End: ast.Location{ - Line: int(1278), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13376, + Ctx: p13624, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1290), + Column: int(21), + }, + End: ast.Location{ + Line: int(1290), + Column: int(26), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13620, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1290), + Column: int(9), + }, + End: ast.Location{ + Line: int(1290), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(7), - }, - End: ast.Location{ - Line: int(1279), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p13363, + Fodder: ast.Fodder{}, + Ctx: p13620, FreeVars: ast.Identifiers{ - "$std", "std", "value", }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(13), - }, - End: ast.Location{ - Line: int(1279), - Column: int(75), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1290), + Column: int(8), }, + End: ast.Location{ + Line: int(1290), + Column: int(27), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "Expected a JSONML value (an array), got %s", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13620, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1291), + Column: int(13), + }, + End: ast.Location{ + Line: int(1291), + Column: int(57), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1291), + Column: int(60), + }, + End: ast.Location{ + Line: int(1291), + Column: int(63), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13620, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1291), + Column: int(60), + }, + End: ast.Location{ + Line: int(1291), + Column: int(68), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13645, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1291), + Column: int(69), + }, + End: ast.Location{ + Line: int(1291), + Column: int(74), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13620, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1291), + Column: int(60), + }, + End: ast.Location{ + Line: int(1291), + Column: int(75), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -170928,428 +174206,93 @@ var _StdAst = &ast.DesugaredObject{ "std", "value", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1291), + Column: int(13), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1291), + Column: int(75), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(13), - }, - End: ast.Location{ - Line: int(1279), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13363, - FreeVars: ast.Identifiers{}, - }, - Value: "Expected a JSONML value (an array), got %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(60), - }, - End: ast.Location{ - Line: int(1279), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13363, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(60), - }, - End: ast.Location{ - Line: int(1279), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13363, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(60), - }, - End: ast.Location{ - Line: int(1279), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(69), - }, - End: ast.Location{ - Line: int(1279), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13399, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1281), - Column: int(7), - }, - End: ast.Location{ - Line: int(1293), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p13363, + Ctx: p13620, FreeVars: ast.Identifiers{ "$std", "std", "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1291), + Column: int(7), + }, + End: ast.Location{ + Line: int(1291), + Column: int(75), + }, + }, }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1281), - Column: int(13), - }, - End: ast.Location{ - Line: int(1291), - Column: int(95), - }, - File: p1, - }, - Fodder: nil, - Ctx: p13407, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1281), - Column: int(17), - }, - End: ast.Location{ - Line: int(1281), - Column: int(18), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(9), - }, - End: ast.Location{ - Line: int(1291), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "std", - "v", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(12), - }, - End: ast.Location{ - Line: int(1282), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(12), - }, - End: ast.Location{ - Line: int(1282), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(12), - }, - End: ast.Location{ - Line: int(1282), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1294), + Column: int(12), + }, + End: ast.Location{ + Line: int(1294), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -171359,507 +174302,245 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1294), + Column: int(12), + }, + End: ast.Location{ + Line: int(1294), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(25), - }, - End: ast.Location{ - Line: int(1282), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13423, + Ctx: p13664, FreeVars: ast.Identifiers{ "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1294), + Column: int(25), + }, + End: ast.Location{ + Line: int(1294), + Column: int(26), + }, + }, }, - Id: "v", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1283), - Column: int(11), - }, - End: ast.Location{ - Line: int(1283), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p13412, + Fodder: ast.Fodder{}, + Ctx: p13660, FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(11), - }, - End: ast.Location{ - Line: int(1291), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "$std", - "aux", "std", "v", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1294), + Column: int(12), + }, + End: ast.Location{ + Line: int(1294), + Column: int(27), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1295), + Column: int(11), + }, + End: ast.Location{ + Line: int(1295), + Column: int(12), + }, + }, + }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "tag", - EqFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(23), - }, - End: ast.Location{ - Line: int(1285), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13434, - FreeVars: ast.Identifiers{ - "v", - }, - }, Target: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(23), - }, - End: ast.Location{ - Line: int(1285), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13434, + Ctx: p13674, FreeVars: ast.Identifiers{ "v", }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1285), + Line: int(1297), + Column: int(23), + }, + End: ast.Location{ + Line: int(1297), + Column: int(24), + }, + }, + }, + }, + Index: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13674, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1297), Column: int(25), }, End: ast.Location{ - Line: int(1285), + Line: int(1297), Column: int(26), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p13434, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13674, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1297), + Column: int(23), + }, + End: ast.Location{ + Line: int(1297), + Column: int(27), + }, + }, + }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "tag", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1285), + Line: int(1297), Column: int(17), }, End: ast.Location{ - Line: int(1285), + Line: int(1297), Column: int(27), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(11), - }, - End: ast.Location{ - Line: int(1291), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "std", - "tag", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "has_attrs", - EqFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(29), - }, - End: ast.Location{ - Line: int(1286), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13444, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(29), - }, - End: ast.Location{ - Line: int(1286), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13444, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(29), - }, - End: ast.Location{ - Line: int(1286), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13444, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(29), - }, - End: ast.Location{ - Line: int(1286), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13444, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(29), - }, - End: ast.Location{ - Line: int(1286), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(40), - }, - End: ast.Location{ - Line: int(1286), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13457, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(45), - }, - End: ast.Location{ - Line: int(1286), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13444, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(50), - }, - End: ast.Location{ - Line: int(1286), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13444, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(50), - }, - End: ast.Location{ - Line: int(1286), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13444, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1286), + Line: int(1298), Column: int(50), }, End: ast.Location{ - Line: int(1286), + Line: int(1298), Column: int(53), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -171869,327 +174550,2330 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13686, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(50), + }, + End: ast.Location{ + Line: int(1298), + Column: int(62), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(63), - }, - End: ast.Location{ - Line: int(1286), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13469, - FreeVars: ast.Identifiers{ - "v", - }, - }, Target: &ast.Var{ + Id: "v", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(63), - }, - End: ast.Location{ - Line: int(1286), - Column: int(64), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13469, + Ctx: p13691, FreeVars: ast.Identifiers{ "v", }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1286), + Line: int(1298), + Column: int(63), + }, + End: ast.Location{ + Line: int(1298), + Column: int(64), + }, + }, + }, + }, + Index: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13691, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), Column: int(65), }, End: ast.Location{ - Line: int(1286), + Line: int(1298), Column: int(66), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p13469, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13691, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(63), + }, + End: ast.Location{ + Line: int(1298), + Column: int(67), + }, + }, + }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13686, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(50), + }, + End: ast.Location{ + Line: int(1298), + Column: int(68), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13686, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(45), + }, + End: ast.Location{ + Line: int(1298), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(29), + }, + End: ast.Location{ + Line: int(1298), + Column: int(32), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13686, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(29), + }, + End: ast.Location{ + Line: int(1298), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13706, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(40), + }, + End: ast.Location{ + Line: int(1298), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13686, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(29), + }, + End: ast.Location{ + Line: int(1298), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13686, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(29), + }, + End: ast.Location{ + Line: int(1298), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13686, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(29), + }, + End: ast.Location{ + Line: int(1298), + Column: int(68), + }, + }, + }, + Op: ast.BinaryOp(17), }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "has_attrs", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1286), + Line: int(1298), Column: int(17), }, End: ast.Location{ - Line: int(1286), + Line: int(1298), Column: int(68), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(11), - }, - End: ast.Location{ - Line: int(1291), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "has_attrs", - "std", - "tag", - "v", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "attrs", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(25), + Cond: &ast.Var{ + Id: "has_attrs", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13715, + FreeVars: ast.Identifiers{ + "has_attrs", }, - End: ast.Location{ - Line: int(1287), - Column: int(55), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(28), + }, + End: ast.Location{ + Line: int(1299), + Column: int(37), + }, }, - File: p1, }, + }, + BranchTrue: &ast.Index{ + Target: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13715, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(43), + }, + End: ast.Location{ + Line: int(1299), + Column: int(44), + }, + }, + }, + }, + Index: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13715, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(45), + }, + End: ast.Location{ + Line: int(1299), + Column: int(46), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13715, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(43), + }, + End: ast.Location{ + Line: int(1299), + Column: int(47), + }, + }, + }, + }, + BranchFalse: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{}, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13715, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(53), + }, + End: ast.Location{ + Line: int(1299), + Column: int(55), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p13479, + Ctx: p13715, FreeVars: ast.Identifiers{ "has_attrs", "v", }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(28), - }, - End: ast.Location{ - Line: int(1287), - Column: int(37), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(25), }, - Fodder: ast.Fodder{}, - Ctx: p13479, - FreeVars: ast.Identifiers{ - "has_attrs", + End: ast.Location{ + Line: int(1299), + Column: int(55), }, }, - Id: "has_attrs", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(43), - }, - End: ast.Location{ - Line: int(1287), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13479, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(43), - }, - End: ast.Location{ - Line: int(1287), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13479, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(45), - }, - End: ast.Location{ - Line: int(1287), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13479, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(53), - }, - End: ast.Location{ - Line: int(1287), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13479, - FreeVars: ast.Identifiers{}, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "attrs", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1287), + Line: int(1299), Column: int(17), }, End: ast.Location{ - Line: int(1287), + Line: int(1299), Column: int(55), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(11), + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Var{ + Id: "has_attrs", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13728, + FreeVars: ast.Identifiers{ + "has_attrs", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(31), + }, + End: ast.Location{ + Line: int(1300), + Column: int(40), + }, + }, + }, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13728, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(46), + }, + End: ast.Location{ + Line: int(1300), + Column: int(47), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13728, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(48), + }, + End: ast.Location{ + Line: int(1300), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(46), + }, + End: ast.Location{ + Line: int(1300), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13728, + FreeVars: ast.Identifiers{ + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(57), + }, + End: ast.Location{ + Line: int(1300), + Column: int(58), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13728, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(59), + }, + End: ast.Location{ + Line: int(1300), + Column: int(60), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(57), + }, + End: ast.Location{ + Line: int(1300), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13728, + FreeVars: ast.Identifiers{ + "$std", + "has_attrs", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(28), + }, + End: ast.Location{ + Line: int(1300), + Column: int(62), + }, + }, + }, }, - End: ast.Location{ - Line: int(1291), - Column: int(95), + EqFodder: ast.Fodder{}, + Variable: "children", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(17), + }, + End: ast.Location{ + Line: int(1300), + Column: int(62), + }, }, - File: p1, }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(13), + }, + End: ast.Location{ + Line: int(1302), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13765, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(13), + }, + End: ast.Location{ + Line: int(1302), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13769, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(22), + }, + End: ast.Location{ + Line: int(1302), + Column: int(24), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: " %s=\"%s\"", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13788, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(27), + }, + End: ast.Location{ + Line: int(1302), + Column: int(37), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13792, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(41), + }, + End: ast.Location{ + Line: int(1302), + Column: int(42), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "attrs", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13792, + FreeVars: ast.Identifiers{ + "attrs", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(44), + }, + End: ast.Location{ + Line: int(1302), + Column: int(49), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13792, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(50), + }, + End: ast.Location{ + Line: int(1302), + Column: int(51), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13792, + FreeVars: ast.Identifiers{ + "attrs", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(44), + }, + End: ast.Location{ + Line: int(1302), + Column: int(52), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13788, + FreeVars: ast.Identifiers{ + "attrs", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(40), + }, + End: ast.Location{ + Line: int(1302), + Column: int(53), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "attrs", + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(27), + }, + End: ast.Location{ + Line: int(1302), + Column: int(53), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "attrs", + "k", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "attrs", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(63), + }, + End: ast.Location{ + Line: int(1302), + Column: int(66), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13769, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(63), + }, + End: ast.Location{ + Line: int(1302), + Column: int(79), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "attrs", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13813, + FreeVars: ast.Identifiers{ + "attrs", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(80), + }, + End: ast.Location{ + Line: int(1302), + Column: int(85), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13769, + FreeVars: ast.Identifiers{ + "attrs", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(63), + }, + End: ast.Location{ + Line: int(1302), + Column: int(86), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "attrs", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(26), + }, + End: ast.Location{ + Line: int(1302), + Column: int(87), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13765, + FreeVars: ast.Identifiers{ + "$std", + "attrs", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(13), + }, + End: ast.Location{ + Line: int(1302), + Column: int(88), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "attrs_str", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1301), + Column: int(17), + }, + End: ast.Location{ + Line: int(1302), + Column: int(88), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(11), + }, + End: ast.Location{ + Line: int(1303), + Column: int(14), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "deepJoin", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(11), + }, + End: ast.Location{ + Line: int(1303), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "<", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(25), + }, + End: ast.Location{ + Line: int(1303), + Column: int(28), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "tag", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13829, + FreeVars: ast.Identifiers{ + "tag", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(30), + }, + End: ast.Location{ + Line: int(1303), + Column: int(33), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "attrs_str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13829, + FreeVars: ast.Identifiers{ + "attrs_str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(35), + }, + End: ast.Location{ + Line: int(1303), + Column: int(44), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: ">", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(46), + }, + End: ast.Location{ + Line: int(1303), + Column: int(49), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13847, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(52), + }, + End: ast.Location{ + Line: int(1303), + Column: int(55), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13851, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(56), + }, + End: ast.Location{ + Line: int(1303), + Column: int(57), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13847, + FreeVars: ast.Identifiers{ + "aux", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(52), + }, + End: ast.Location{ + Line: int(1303), + Column: int(58), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "x", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "children", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13829, + FreeVars: ast.Identifiers{ + "children", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(68), + }, + End: ast.Location{ + Line: int(1303), + Column: int(76), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "children", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(51), + }, + End: ast.Location{ + Line: int(1303), + Column: int(77), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13829, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(90), + }, + End: ast.Location{ + Line: int(1303), + Column: int(93), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13864, + FreeVars: ast.Identifiers{ + "$std", + "attrs_str", + "aux", + "children", + "tag", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(24), + }, + End: ast.Location{ + Line: int(1303), + Column: int(94), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "$std", + "attrs_str", + "aux", + "children", + "std", + "tag", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1303), + Column: int(11), + }, + End: ast.Location{ + Line: int(1303), + Column: int(95), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "$std", + "attrs", + "aux", + "children", + "std", + "tag", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1301), + Column: int(11), + }, + End: ast.Location{ + Line: int(1303), + Column: int(95), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p13412, + Ctx: p13660, FreeVars: ast.Identifiers{ "$std", "attrs", @@ -172199,1835 +176883,202 @@ var _StdAst = &ast.DesugaredObject{ "tag", "v", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "children", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(28), - }, - End: ast.Location{ - Line: int(1288), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13494, - FreeVars: ast.Identifiers{ - "$std", - "has_attrs", - "v", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(31), - }, - End: ast.Location{ - Line: int(1288), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13494, - FreeVars: ast.Identifiers{ - "has_attrs", - }, - }, - Id: "has_attrs", - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(46), - }, - End: ast.Location{ - Line: int(1288), - Column: int(51), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(46), - }, - End: ast.Location{ - Line: int(1288), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13494, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(48), - }, - End: ast.Location{ - Line: int(1288), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13494, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(57), - }, - End: ast.Location{ - Line: int(1288), - Column: int(62), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(57), - }, - End: ast.Location{ - Line: int(1288), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13494, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(59), - }, - End: ast.Location{ - Line: int(1288), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13494, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1300), + Column: int(11), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1288), - Column: int(17), - }, - End: ast.Location{ - Line: int(1288), - Column: int(62), - }, - File: p1, + End: ast.Location{ + Line: int(1303), + Column: int(95), }, }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1289), - Column: int(11), - }, - End: ast.Location{ - Line: int(1291), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "aux", - "children", - "std", - "tag", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "attrs_str", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(13), - }, - End: ast.Location{ - Line: int(1290), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13529, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(13), - }, - End: ast.Location{ - Line: int(1290), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13529, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(13), - }, - End: ast.Location{ - Line: int(1290), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(22), - }, - End: ast.Location{ - Line: int(1290), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13539, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(26), - }, - End: ast.Location{ - Line: int(1290), - Column: int(87), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(27), - }, - End: ast.Location{ - Line: int(1290), - Column: int(53), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "k", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(27), - }, - End: ast.Location{ - Line: int(1290), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13563, - FreeVars: ast.Identifiers{}, - }, - Value: " %s=\"%s\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(40), - }, - End: ast.Location{ - Line: int(1290), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13563, - FreeVars: ast.Identifiers{ - "attrs", - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(41), - }, - End: ast.Location{ - Line: int(1290), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13568, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(44), - }, - End: ast.Location{ - Line: int(1290), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13568, - FreeVars: ast.Identifiers{ - "attrs", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(44), - }, - End: ast.Location{ - Line: int(1290), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13568, - FreeVars: ast.Identifiers{ - "attrs", - }, - }, - Id: "attrs", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(50), - }, - End: ast.Location{ - Line: int(1290), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13568, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(63), - }, - End: ast.Location{ - Line: int(1290), - Column: int(86), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13539, - FreeVars: ast.Identifiers{ - "attrs", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(63), - }, - End: ast.Location{ - Line: int(1290), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13539, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(63), - }, - End: ast.Location{ - Line: int(1290), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(80), - }, - End: ast.Location{ - Line: int(1290), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13585, - FreeVars: ast.Identifiers{ - "attrs", - }, - }, - Id: "attrs", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1289), - Column: int(17), - }, - End: ast.Location{ - Line: int(1290), - Column: int(88), - }, - File: p1, - }, - }, + }, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "has_attrs", + "std", + "tag", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(11), }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(11), - }, - End: ast.Location{ - Line: int(1291), - Column: int(95), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "$std", - "attrs_str", - "aux", - "children", - "std", - "tag", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(11), - }, - End: ast.Location{ - Line: int(1291), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13412, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(11), - }, - End: ast.Location{ - Line: int(1291), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "deepJoin", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(24), - }, - End: ast.Location{ - Line: int(1291), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13597, - FreeVars: ast.Identifiers{ - "$std", - "attrs_str", - "aux", - "children", - "tag", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(25), - }, - End: ast.Location{ - Line: int(1291), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13601, - FreeVars: ast.Identifiers{}, - }, - Value: "<", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(30), - }, - End: ast.Location{ - Line: int(1291), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13601, - FreeVars: ast.Identifiers{ - "tag", - }, - }, - Id: "tag", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(35), - }, - End: ast.Location{ - Line: int(1291), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13601, - FreeVars: ast.Identifiers{ - "attrs_str", - }, - }, - Id: "attrs_str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(46), - }, - End: ast.Location{ - Line: int(1291), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13601, - FreeVars: ast.Identifiers{}, - }, - Value: ">", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(51), - }, - End: ast.Location{ - Line: int(1291), - Column: int(77), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "children", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "x", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(52), - }, - End: ast.Location{ - Line: int(1291), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13622, - FreeVars: ast.Identifiers{ - "aux", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(52), - }, - End: ast.Location{ - Line: int(1291), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13622, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(56), - }, - End: ast.Location{ - Line: int(1291), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13628, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(68), - }, - End: ast.Location{ - Line: int(1291), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13601, - FreeVars: ast.Identifiers{ - "children", - }, - }, - Id: "children", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(79), - }, - End: ast.Location{ - Line: int(1291), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13601, - FreeVars: ast.Identifiers{}, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + End: ast.Location{ + Line: int(1303), + Column: int(95), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "std", + "tag", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(11), + }, + End: ast.Location{ + Line: int(1303), + Column: int(95), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1297), + Column: int(11), + }, + End: ast.Location{ + Line: int(1303), + Column: int(95), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13660, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "std", + "v", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1294), + Column: int(9), + }, + End: ast.Location{ + Line: int(1303), + Column: int(95), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1293), + Column: int(17), + }, + End: ast.Location{ + Line: int(1293), + Column: int(18), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p13881, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1293), + Column: int(13), + }, + End: ast.Location{ + Line: int(1303), + Column: int(95), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -174037,312 +177088,286 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(7), - }, - End: ast.Location{ - Line: int(1293), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13363, - FreeVars: ast.Identifiers{ - "aux", - "value", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(7), - }, - End: ast.Location{ - Line: int(1293), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(1), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p13363, + Ctx: p13620, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1305), + Column: int(7), + }, + End: ast.Location{ + Line: int(1305), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "value", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(11), - }, - End: ast.Location{ - Line: int(1293), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13643, + Ctx: p13889, FreeVars: ast.Identifiers{ "value", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1305), + Column: int(11), + }, + End: ast.Location{ + Line: int(1305), + Column: int(16), + }, + }, }, - Id: "value", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13620, + FreeVars: ast.Identifiers{ + "aux", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1305), + Column: int(7), + }, + End: ast.Location{ + Line: int(1305), + Column: int(17), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13620, + FreeVars: ast.Identifiers{ + "$std", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1293), + Column: int(7), + }, + End: ast.Location{ + Line: int(1305), + Column: int(17), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p13620, + FreeVars: ast.Identifiers{ + "$std", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1290), + Column: int(5), + }, + End: ast.Location{ + Line: int(1305), + Column: int(17), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(3), - }, - End: ast.Location{ - Line: int(1293), - Column: int(17), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "base64", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "base64_table", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "input", + Name: "value", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1298), - Column: int(10), + Line: int(1289), + Column: int(21), }, End: ast.Location{ - Line: int(1298), - Column: int(15), + Line: int(1289), + Column: int(26), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(5), - }, - End: ast.Location{ - Line: int(1342), - Column: int(24), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1289), + Column: int(3), + }, + End: ast.Location{ + Line: int(1305), + Column: int(17), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "base64", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p13651, - FreeVars: ast.Identifiers{ - "base64_table", - "input", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "bytes", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(7), - }, - End: ast.Location{ - Line: int(1303), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p13656, - FreeVars: ast.Identifiers{ - "input", - "std", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(10), - }, - End: ast.Location{ - Line: int(1300), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13656, - FreeVars: ast.Identifiers{ - "input", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(10), - }, - End: ast.Location{ - Line: int(1300), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13656, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(10), - }, - End: ast.Location{ - Line: int(1300), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1312), + Column: int(10), + }, + End: ast.Location{ + Line: int(1312), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -174352,131 +177377,130 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13909, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1312), + Column: int(10), + }, + End: ast.Location{ + Line: int(1312), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "input", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(23), - }, - End: ast.Location{ - Line: int(1300), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13667, + Ctx: p13913, FreeVars: ast.Identifiers{ "input", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1312), + Column: int(23), + }, + End: ast.Location{ + Line: int(1312), + Column: int(28), + }, + }, }, - Id: "input", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(9), - }, - End: ast.Location{ - Line: int(1301), - Column: int(53), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13656, + Ctx: p13909, FreeVars: ast.Identifiers{ "input", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(9), - }, - End: ast.Location{ - Line: int(1301), - Column: int(16), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1312), + Column: int(10), }, - Fodder: ast.Fodder{}, - Ctx: p13656, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1312), + Column: int(29), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(9), - }, - End: ast.Location{ - Line: int(1301), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(9), + }, + End: ast.Location{ + Line: int(1313), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -174486,547 +177510,288 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "map", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13909, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(9), + }, + End: ast.Location{ + Line: int(1313), + Column: int(16), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(17), + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - End: ast.Location{ - Line: int(1301), - Column: int(45), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(17), + }, + End: ast.Location{ + Line: int(1313), + Column: int(20), + }, }, - File: p1, }, + }, + Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p13679, + Ctx: p13928, FreeVars: ast.Identifiers{ "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(26), - }, - End: ast.Location{ - Line: int(1301), - Column: int(27), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(17), + }, + End: ast.Location{ + Line: int(1313), + Column: int(30), }, }, }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(29), - }, - End: ast.Location{ - Line: int(1301), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13683, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(29), - }, - End: ast.Location{ - Line: int(1301), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13683, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(29), - }, - End: ast.Location{ - Line: int(1301), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "codepoint", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(43), - }, - End: ast.Location{ - Line: int(1301), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13692, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "input", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(47), - }, - End: ast.Location{ - Line: int(1301), - Column: int(52), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13679, + Ctx: p13928, FreeVars: ast.Identifiers{ "input", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(32), + }, + End: ast.Location{ + Line: int(1313), + Column: int(37), + }, + }, }, - Id: "input", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13909, + FreeVars: ast.Identifiers{ + "input", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1303), + Line: int(1313), Column: int(9), }, End: ast.Location{ - Line: int(1303), - Column: int(14), + Line: int(1313), + Column: int(38), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Var{ + Id: "input", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p13656, + Ctx: p13909, FreeVars: ast.Identifiers{ "input", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1315), + Column: int(9), + }, + End: ast.Location{ + Line: int(1315), + Column: int(14), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13909, + FreeVars: ast.Identifiers{ + "input", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1312), + Column: int(7), + }, + End: ast.Location{ + Line: int(1315), + Column: int(14), + }, }, - Id: "input", }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "bytes", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1299), + Line: int(1311), Column: int(11), }, End: ast.Location{ - Line: int(1303), + Line: int(1315), Column: int(14), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(5), - }, - End: ast.Location{ - Line: int(1342), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p13651, - FreeVars: ast.Identifiers{ - "base64_table", - "bytes", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(11), - }, - End: ast.Location{ - Line: int(1336), - Column: int(33), - }, - File: p1, - }, - Fodder: nil, - Ctx: p13705, - FreeVars: ast.Identifiers{ - "aux", - "base64_table", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(15), - }, - End: ast.Location{ - Line: int(1305), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(20), - }, - End: ast.Location{ - Line: int(1305), - Column: int(21), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "r", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(23), - }, - End: ast.Location{ - Line: int(1305), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(7), - }, - End: ast.Location{ - Line: int(1336), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(10), - }, - End: ast.Location{ - Line: int(1306), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(10), - }, - End: ast.Location{ - Line: int(1306), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(15), - }, - End: ast.Location{ - Line: int(1306), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(15), - }, - End: ast.Location{ - Line: int(1306), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(15), - }, - End: ast.Location{ - Line: int(1306), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(15), + }, + End: ast.Location{ + Line: int(1318), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -175036,111 +177801,4484 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(15), + }, + End: ast.Location{ + Line: int(1318), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(26), - }, - End: ast.Location{ - Line: int(1306), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13725, + Ctx: p13953, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(26), + }, + End: ast.Location{ + Line: int(1318), + Column: int(29), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(15), + }, + End: ast.Location{ + Line: int(1318), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(10), + }, + End: ast.Location{ + Line: int(1318), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1307), - Column: int(9), - }, - End: ast.Location{ - Line: int(1307), + Line: int(1318), Column: int(10), }, - File: p1, + End: ast.Location{ + Line: int(1318), + Column: int(30), + }, }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p13710, + Ctx: p13949, FreeVars: ast.Identifiers{ "r", }, - }, - Id: "r", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1319), + Column: int(9), + }, + End: ast.Location{ + Line: int(1319), + Column: int(10), + }, + }, }, }, BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(12), + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(24), + }, + End: ast.Location{ + Line: int(1320), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(24), + }, + End: ast.Location{ + Line: int(1320), + Column: int(34), + }, + }, + }, }, - End: ast.Location{ - Line: int(1336), - Column: int(33), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13972, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(35), + }, + End: ast.Location{ + Line: int(1320), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(24), + }, + End: ast.Location{ + Line: int(1320), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(19), + }, + End: ast.Location{ + Line: int(1320), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(15), + }, + End: ast.Location{ + Line: int(1320), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(15), + }, + End: ast.Location{ + Line: int(1320), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(15), + }, + End: ast.Location{ + Line: int(1320), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "==", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p13986, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1326), + Column: int(11), + }, + End: ast.Location{ + Line: int(1326), + Column: int(15), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 2 LSB of i", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(11), + }, + End: ast.Location{ + Line: int(1325), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(40), + }, + End: ast.Location{ + Line: int(1325), + Column: int(41), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(34), + }, + End: ast.Location{ + Line: int(1325), + Column: int(35), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(25), + }, + End: ast.Location{ + Line: int(1325), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(29), + }, + End: ast.Location{ + Line: int(1325), + Column: int(30), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(25), + }, + End: ast.Location{ + Line: int(1325), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(25), + }, + End: ast.Location{ + Line: int(1325), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(24), + }, + End: ast.Location{ + Line: int(1325), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1325), + Column: int(11), + }, + End: ast.Location{ + Line: int(1325), + Column: int(42), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 6 MSB of i", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(11), + }, + End: ast.Location{ + Line: int(1323), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(42), + }, + End: ast.Location{ + Line: int(1323), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "252", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(34), + }, + End: ast.Location{ + Line: int(1323), + Column: int(37), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(25), + }, + End: ast.Location{ + Line: int(1323), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(29), + }, + End: ast.Location{ + Line: int(1323), + Column: int(30), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(25), + }, + End: ast.Location{ + Line: int(1323), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(25), + }, + End: ast.Location{ + Line: int(1323), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(24), + }, + End: ast.Location{ + Line: int(1323), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(11), + }, + End: ast.Location{ + Line: int(1323), + Column: int(44), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(11), + }, + End: ast.Location{ + Line: int(1325), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13986, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(11), + }, + End: ast.Location{ + Line: int(1326), + Column: int(15), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + EqFodder: ast.Fodder{}, + Variable: "str", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1321), + Column: int(15), + }, + End: ast.Location{ + Line: int(1326), + Column: int(15), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(9), + }, + End: ast.Location{ + Line: int(1327), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14032, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(13), + }, + End: ast.Location{ + Line: int(1327), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14032, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(22), + }, + End: ast.Location{ + Line: int(1327), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14032, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(18), + }, + End: ast.Location{ + Line: int(1327), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14032, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(18), + }, + End: ast.Location{ + Line: int(1327), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14032, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(29), + }, + End: ast.Location{ + Line: int(1327), + Column: int(32), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14032, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(25), + }, + End: ast.Location{ + Line: int(1327), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14032, + FreeVars: ast.Identifiers{ + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(25), + }, + End: ast.Location{ + Line: int(1327), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "i", + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(9), + }, + End: ast.Location{ + Line: int(1327), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "base64_table", + "i", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1321), + Column: int(9), + }, + End: ast.Location{ + Line: int(1327), + Column: int(33), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(24), + }, + End: ast.Location{ + Line: int(1328), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(24), + }, + End: ast.Location{ + Line: int(1328), + Column: int(34), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14058, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(35), + }, + End: ast.Location{ + Line: int(1328), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(24), + }, + End: ast.Location{ + Line: int(1328), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(19), + }, + End: ast.Location{ + Line: int(1328), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(15), + }, + End: ast.Location{ + Line: int(1328), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(15), + }, + End: ast.Location{ + Line: int(1328), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(15), + }, + End: ast.Location{ + Line: int(1328), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "=", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1336), + Column: int(11), + }, + End: ast.Location{ + Line: int(1336), + Column: int(14), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 4 LSB of i+1", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(11), + }, + End: ast.Location{ + Line: int(1335), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(45), + }, + End: ast.Location{ + Line: int(1335), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "15", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(38), + }, + End: ast.Location{ + Line: int(1335), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(25), + }, + End: ast.Location{ + Line: int(1335), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(33), + }, + End: ast.Location{ + Line: int(1335), + Column: int(34), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(29), + }, + End: ast.Location{ + Line: int(1335), + Column: int(30), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(29), + }, + End: ast.Location{ + Line: int(1335), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(25), + }, + End: ast.Location{ + Line: int(1335), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(25), + }, + End: ast.Location{ + Line: int(1335), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(24), + }, + End: ast.Location{ + Line: int(1335), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1335), + Column: int(11), + }, + End: ast.Location{ + Line: int(1335), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 2 LSB of i, 4 MSB of i+1", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(11), + }, + End: ast.Location{ + Line: int(1333), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(66), + }, + End: ast.Location{ + Line: int(1333), + Column: int(67), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "240", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(58), + }, + End: ast.Location{ + Line: int(1333), + Column: int(61), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(45), + }, + End: ast.Location{ + Line: int(1333), + Column: int(48), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(53), + }, + End: ast.Location{ + Line: int(1333), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(49), + }, + End: ast.Location{ + Line: int(1333), + Column: int(50), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(49), + }, + End: ast.Location{ + Line: int(1333), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(45), + }, + End: ast.Location{ + Line: int(1333), + Column: int(55), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(45), + }, + End: ast.Location{ + Line: int(1333), + Column: int(61), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(44), + }, + End: ast.Location{ + Line: int(1333), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(40), + }, + End: ast.Location{ + Line: int(1333), + Column: int(41), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(34), + }, + End: ast.Location{ + Line: int(1333), + Column: int(35), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(25), + }, + End: ast.Location{ + Line: int(1333), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(29), + }, + End: ast.Location{ + Line: int(1333), + Column: int(30), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(25), + }, + End: ast.Location{ + Line: int(1333), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(25), + }, + End: ast.Location{ + Line: int(1333), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(24), + }, + End: ast.Location{ + Line: int(1333), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(24), + }, + End: ast.Location{ + Line: int(1333), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(16), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1333), + Column: int(11), + }, + End: ast.Location{ + Line: int(1333), + Column: int(68), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 6 MSB of i", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(11), + }, + End: ast.Location{ + Line: int(1331), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(42), + }, + End: ast.Location{ + Line: int(1331), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "252", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(34), + }, + End: ast.Location{ + Line: int(1331), + Column: int(37), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(25), + }, + End: ast.Location{ + Line: int(1331), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(29), + }, + End: ast.Location{ + Line: int(1331), + Column: int(30), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(25), + }, + End: ast.Location{ + Line: int(1331), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(25), + }, + End: ast.Location{ + Line: int(1331), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(24), + }, + End: ast.Location{ + Line: int(1331), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(11), + }, + End: ast.Location{ + Line: int(1331), + Column: int(44), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(11), + }, + End: ast.Location{ + Line: int(1333), + Column: int(68), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(11), + }, + End: ast.Location{ + Line: int(1335), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14072, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(11), + }, + End: ast.Location{ + Line: int(1336), + Column: int(14), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + EqFodder: ast.Fodder{}, + Variable: "str", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1329), + Column: int(15), + }, + End: ast.Location{ + Line: int(1336), + Column: int(14), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(9), + }, + End: ast.Location{ + Line: int(1337), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14158, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(13), + }, + End: ast.Location{ + Line: int(1337), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14158, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(22), + }, + End: ast.Location{ + Line: int(1337), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14158, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(18), + }, + End: ast.Location{ + Line: int(1337), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14158, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(18), + }, + End: ast.Location{ + Line: int(1337), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14158, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(29), + }, + End: ast.Location{ + Line: int(1337), + Column: int(32), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14158, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(25), + }, + End: ast.Location{ + Line: int(1337), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14158, + FreeVars: ast.Identifiers{ + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(25), + }, + End: ast.Location{ + Line: int(1337), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "i", + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1337), + Column: int(9), + }, + End: ast.Location{ + Line: int(1337), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "base64_table", + "i", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1329), + Column: int(9), + }, + End: ast.Location{ + Line: int(1337), + Column: int(33), + }, + }, + }, + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 6 LSB of i+2", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(11), + }, + End: ast.Location{ + Line: int(1347), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "63", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(38), + }, + End: ast.Location{ + Line: int(1347), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(25), + }, + End: ast.Location{ + Line: int(1347), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(33), + }, + End: ast.Location{ + Line: int(1347), + Column: int(34), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(29), + }, + End: ast.Location{ + Line: int(1347), + Column: int(30), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(29), + }, + End: ast.Location{ + Line: int(1347), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(25), + }, + End: ast.Location{ + Line: int(1347), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(25), + }, + End: ast.Location{ + Line: int(1347), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(11), + }, + End: ast.Location{ + Line: int(1347), + Column: int(42), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 4 LSB of i+1, 2 MSB of i+2", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(11), + }, + End: ast.Location{ + Line: int(1345), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "6", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(71), + }, + End: ast.Location{ + Line: int(1345), + Column: int(72), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "192", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(63), + }, + End: ast.Location{ + Line: int(1345), + Column: int(66), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(50), + }, + End: ast.Location{ + Line: int(1345), + Column: int(53), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(58), + }, + End: ast.Location{ + Line: int(1345), + Column: int(59), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(54), + }, + End: ast.Location{ + Line: int(1345), + Column: int(55), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(54), + }, + End: ast.Location{ + Line: int(1345), + Column: int(59), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(50), + }, + End: ast.Location{ + Line: int(1345), + Column: int(60), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(50), + }, + End: ast.Location{ + Line: int(1345), + Column: int(66), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(49), + }, + End: ast.Location{ + Line: int(1345), + Column: int(72), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(45), + }, + End: ast.Location{ + Line: int(1345), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "15", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(38), + }, + End: ast.Location{ + Line: int(1345), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(25), + }, + End: ast.Location{ + Line: int(1345), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(33), + }, + End: ast.Location{ + Line: int(1345), + Column: int(34), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(29), + }, + End: ast.Location{ + Line: int(1345), + Column: int(30), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(29), + }, + End: ast.Location{ + Line: int(1345), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(25), + }, + End: ast.Location{ + Line: int(1345), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(25), + }, + End: ast.Location{ + Line: int(1345), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(24), + }, + End: ast.Location{ + Line: int(1345), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(24), + }, + End: ast.Location{ + Line: int(1345), + Column: int(72), + }, + }, + }, + Op: ast.BinaryOp(16), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1345), + Column: int(11), + }, + End: ast.Location{ + Line: int(1345), + Column: int(73), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 2 LSB of i, 4 MSB of i+1", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(11), + }, + End: ast.Location{ + Line: int(1343), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(66), + }, + End: ast.Location{ + Line: int(1343), + Column: int(67), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "240", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(58), + }, + End: ast.Location{ + Line: int(1343), + Column: int(61), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(45), + }, + End: ast.Location{ + Line: int(1343), + Column: int(48), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(53), + }, + End: ast.Location{ + Line: int(1343), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(49), + }, + End: ast.Location{ + Line: int(1343), + Column: int(50), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(49), + }, + End: ast.Location{ + Line: int(1343), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(45), + }, + End: ast.Location{ + Line: int(1343), + Column: int(55), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(45), + }, + End: ast.Location{ + Line: int(1343), + Column: int(61), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(44), + }, + End: ast.Location{ + Line: int(1343), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(40), + }, + End: ast.Location{ + Line: int(1343), + Column: int(41), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(34), + }, + End: ast.Location{ + Line: int(1343), + Column: int(35), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(25), + }, + End: ast.Location{ + Line: int(1343), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(29), + }, + End: ast.Location{ + Line: int(1343), + Column: int(30), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(25), + }, + End: ast.Location{ + Line: int(1343), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(25), + }, + End: ast.Location{ + Line: int(1343), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(24), + }, + End: ast.Location{ + Line: int(1343), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(24), + }, + End: ast.Location{ + Line: int(1343), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(16), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1343), + Column: int(11), + }, + End: ast.Location{ + Line: int(1343), + Column: int(68), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 6 MSB of i", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(11), + }, + End: ast.Location{ + Line: int(1341), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(42), + }, + End: ast.Location{ + Line: int(1341), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "252", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(34), + }, + End: ast.Location{ + Line: int(1341), + Column: int(37), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(25), + }, + End: ast.Location{ + Line: int(1341), + Column: int(28), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(29), + }, + End: ast.Location{ + Line: int(1341), + Column: int(30), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(25), + }, + End: ast.Location{ + Line: int(1341), + Column: int(31), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(25), + }, + End: ast.Location{ + Line: int(1341), + Column: int(37), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(24), + }, + End: ast.Location{ + Line: int(1341), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(11), + }, + End: ast.Location{ + Line: int(1341), + Column: int(44), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(11), + }, + End: ast.Location{ + Line: int(1343), + Column: int(68), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(11), + }, + End: ast.Location{ + Line: int(1345), + Column: int(73), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14181, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(11), + }, + End: ast.Location{ + Line: int(1347), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + EqFodder: ast.Fodder{}, + Variable: "str", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1339), + Column: int(15), + }, + End: ast.Location{ + Line: int(1347), + Column: int(42), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(9), + }, + End: ast.Location{ + Line: int(1348), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14298, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(13), + }, + End: ast.Location{ + Line: int(1348), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14298, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(22), + }, + End: ast.Location{ + Line: int(1348), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14298, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(18), + }, + End: ast.Location{ + Line: int(1348), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14298, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(18), + }, + End: ast.Location{ + Line: int(1348), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14298, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(29), + }, + End: ast.Location{ + Line: int(1348), + Column: int(32), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14298, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(25), + }, + End: ast.Location{ + Line: int(1348), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14298, + FreeVars: ast.Identifiers{ + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(25), + }, + End: ast.Location{ + Line: int(1348), + Column: int(32), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "i", + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(9), + }, + End: ast.Location{ + Line: int(1348), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "base64_table", + "i", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1339), + Column: int(9), + }, + End: ast.Location{ + Line: int(1348), + Column: int(33), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "base64_table", + "i", + "r", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(12), + }, + End: ast.Location{ + Line: int(1348), + Column: int(33), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p13710, + Ctx: p13949, FreeVars: ast.Identifiers{ "arr", "aux", @@ -175149,4329 +182287,149 @@ var _StdAst = &ast.DesugaredObject{ "r", "std", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(15), - }, - End: ast.Location{ - Line: int(1308), - Column: int(39), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1320), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(15), - }, - End: ast.Location{ - Line: int(1308), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(15), - }, - End: ast.Location{ - Line: int(1308), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(19), - }, - End: ast.Location{ - Line: int(1308), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(24), - }, - End: ast.Location{ - Line: int(1308), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(24), - }, - End: ast.Location{ - Line: int(1308), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(24), - }, - End: ast.Location{ - Line: int(1308), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(35), - }, - End: ast.Location{ - Line: int(1308), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13749, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1309), - Column: int(9), - }, - End: ast.Location{ - Line: int(1315), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "str", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(11), - }, - End: ast.Location{ - Line: int(1314), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(11), - }, - End: ast.Location{ - Line: int(1313), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(11), - }, - End: ast.Location{ - Line: int(1311), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(11), - }, - End: ast.Location{ - Line: int(1311), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 6 MSB of i", - }, - }, - }, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(24), - }, - End: ast.Location{ - Line: int(1311), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(25), - }, - End: ast.Location{ - Line: int(1311), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(25), - }, - End: ast.Location{ - Line: int(1311), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(25), - }, - End: ast.Location{ - Line: int(1311), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(29), - }, - End: ast.Location{ - Line: int(1311), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(34), - }, - End: ast.Location{ - Line: int(1311), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "252", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(42), - }, - End: ast.Location{ - Line: int(1311), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(11), - }, - End: ast.Location{ - Line: int(1313), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(11), - }, - End: ast.Location{ - Line: int(1313), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 2 LSB of i", - }, - }, - }, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(24), - }, - End: ast.Location{ - Line: int(1313), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(25), - }, - End: ast.Location{ - Line: int(1313), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(25), - }, - End: ast.Location{ - Line: int(1313), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(25), - }, - End: ast.Location{ - Line: int(1313), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(29), - }, - End: ast.Location{ - Line: int(1313), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(34), - }, - End: ast.Location{ - Line: int(1313), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(40), - }, - End: ast.Location{ - Line: int(1313), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13756, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1314), - Column: int(11), - }, - End: ast.Location{ - Line: int(1314), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p13756, - FreeVars: ast.Identifiers{}, - }, - Value: "==", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1309), - Column: int(15), - }, - End: ast.Location{ - Line: int(1314), - Column: int(15), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(9), - }, - End: ast.Location{ - Line: int(1315), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(9), - }, - End: ast.Location{ - Line: int(1315), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(13), - }, - End: ast.Location{ - Line: int(1315), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13805, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(18), - }, - End: ast.Location{ - Line: int(1315), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13805, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(18), - }, - End: ast.Location{ - Line: int(1315), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13805, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(22), - }, - End: ast.Location{ - Line: int(1315), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13805, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(25), - }, - End: ast.Location{ - Line: int(1315), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13805, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(25), - }, - End: ast.Location{ - Line: int(1315), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13805, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(29), - }, - End: ast.Location{ - Line: int(1315), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13805, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(12), - }, - End: ast.Location{ - Line: int(1336), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(15), - }, - End: ast.Location{ - Line: int(1316), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(15), - }, - End: ast.Location{ - Line: int(1316), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(15), - }, - End: ast.Location{ - Line: int(1316), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(19), - }, - End: ast.Location{ - Line: int(1316), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(24), - }, - End: ast.Location{ - Line: int(1316), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(24), - }, - End: ast.Location{ - Line: int(1316), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(24), - }, - End: ast.Location{ - Line: int(1316), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1316), - Column: int(35), - }, - End: ast.Location{ - Line: int(1316), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13837, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(9), - }, - End: ast.Location{ - Line: int(1325), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "str", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(11), - }, - End: ast.Location{ - Line: int(1324), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(11), - }, - End: ast.Location{ - Line: int(1323), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(11), - }, - End: ast.Location{ - Line: int(1321), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(11), - }, - End: ast.Location{ - Line: int(1319), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(11), - }, - End: ast.Location{ - Line: int(1319), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 6 MSB of i", - }, - }, - }, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(24), - }, - End: ast.Location{ - Line: int(1319), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(25), - }, - End: ast.Location{ - Line: int(1319), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(25), - }, - End: ast.Location{ - Line: int(1319), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(25), - }, - End: ast.Location{ - Line: int(1319), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(29), - }, - End: ast.Location{ - Line: int(1319), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(34), - }, - End: ast.Location{ - Line: int(1319), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "252", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(42), - }, - End: ast.Location{ - Line: int(1319), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(11), - }, - End: ast.Location{ - Line: int(1321), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(11), - }, - End: ast.Location{ - Line: int(1321), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 2 LSB of i, 4 MSB of i+1", - }, - }, - }, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(24), - }, - End: ast.Location{ - Line: int(1321), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(24), - }, - End: ast.Location{ - Line: int(1321), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(25), - }, - End: ast.Location{ - Line: int(1321), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(25), - }, - End: ast.Location{ - Line: int(1321), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(25), - }, - End: ast.Location{ - Line: int(1321), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(29), - }, - End: ast.Location{ - Line: int(1321), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(34), - }, - End: ast.Location{ - Line: int(1321), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(40), - }, - End: ast.Location{ - Line: int(1321), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(44), - }, - End: ast.Location{ - Line: int(1321), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(45), - }, - End: ast.Location{ - Line: int(1321), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(45), - }, - End: ast.Location{ - Line: int(1321), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(45), - }, - End: ast.Location{ - Line: int(1321), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(49), - }, - End: ast.Location{ - Line: int(1321), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(49), - }, - End: ast.Location{ - Line: int(1321), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(53), - }, - End: ast.Location{ - Line: int(1321), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(58), - }, - End: ast.Location{ - Line: int(1321), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "240", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(66), - }, - End: ast.Location{ - Line: int(1321), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(11), - }, - End: ast.Location{ - Line: int(1323), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(11), - }, - End: ast.Location{ - Line: int(1323), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 4 LSB of i+1", - }, - }, - }, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(24), - }, - End: ast.Location{ - Line: int(1323), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(25), - }, - End: ast.Location{ - Line: int(1323), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(25), - }, - End: ast.Location{ - Line: int(1323), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(25), - }, - End: ast.Location{ - Line: int(1323), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(29), - }, - End: ast.Location{ - Line: int(1323), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(29), - }, - End: ast.Location{ - Line: int(1323), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(33), - }, - End: ast.Location{ - Line: int(1323), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(38), - }, - End: ast.Location{ - Line: int(1323), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "15", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(45), - }, - End: ast.Location{ - Line: int(1323), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1324), - Column: int(11), - }, - End: ast.Location{ - Line: int(1324), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p13844, - FreeVars: ast.Identifiers{}, - }, - Value: "=", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(15), - }, - End: ast.Location{ - Line: int(1324), - Column: int(14), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(9), - }, - End: ast.Location{ - Line: int(1325), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(9), - }, - End: ast.Location{ - Line: int(1325), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(13), - }, - End: ast.Location{ - Line: int(1325), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13933, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(18), - }, - End: ast.Location{ - Line: int(1325), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13933, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(18), - }, - End: ast.Location{ - Line: int(1325), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13933, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(22), - }, - End: ast.Location{ - Line: int(1325), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13933, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(25), - }, - End: ast.Location{ - Line: int(1325), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13933, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(25), - }, - End: ast.Location{ - Line: int(1325), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13933, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(29), - }, - End: ast.Location{ - Line: int(1325), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13933, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(9), - }, - End: ast.Location{ - Line: int(1336), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "str", - EqFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(11), - }, - End: ast.Location{ - Line: int(1335), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(11), - }, - End: ast.Location{ - Line: int(1333), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(11), - }, - End: ast.Location{ - Line: int(1331), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(11), - }, - End: ast.Location{ - Line: int(1329), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(11), - }, - End: ast.Location{ - Line: int(1329), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 6 MSB of i", - }, - }, - }, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(24), - }, - End: ast.Location{ - Line: int(1329), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(25), - }, - End: ast.Location{ - Line: int(1329), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(25), - }, - End: ast.Location{ - Line: int(1329), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(25), - }, - End: ast.Location{ - Line: int(1329), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(29), - }, - End: ast.Location{ - Line: int(1329), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(34), - }, - End: ast.Location{ - Line: int(1329), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "252", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(42), - }, - End: ast.Location{ - Line: int(1329), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(11), - }, - End: ast.Location{ - Line: int(1331), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(11), - }, - End: ast.Location{ - Line: int(1331), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 2 LSB of i, 4 MSB of i+1", - }, - }, - }, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(24), - }, - End: ast.Location{ - Line: int(1331), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(24), - }, - End: ast.Location{ - Line: int(1331), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(25), - }, - End: ast.Location{ - Line: int(1331), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(25), - }, - End: ast.Location{ - Line: int(1331), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(25), - }, - End: ast.Location{ - Line: int(1331), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(29), - }, - End: ast.Location{ - Line: int(1331), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(34), - }, - End: ast.Location{ - Line: int(1331), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(40), - }, - End: ast.Location{ - Line: int(1331), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(44), - }, - End: ast.Location{ - Line: int(1331), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(45), - }, - End: ast.Location{ - Line: int(1331), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(45), - }, - End: ast.Location{ - Line: int(1331), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(45), - }, - End: ast.Location{ - Line: int(1331), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(49), - }, - End: ast.Location{ - Line: int(1331), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(49), - }, - End: ast.Location{ - Line: int(1331), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(53), - }, - End: ast.Location{ - Line: int(1331), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(58), - }, - End: ast.Location{ - Line: int(1331), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "240", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(66), - }, - End: ast.Location{ - Line: int(1331), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(11), - }, - End: ast.Location{ - Line: int(1333), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(11), - }, - End: ast.Location{ - Line: int(1333), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 4 LSB of i+1, 2 MSB of i+2", - }, - }, - }, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(24), - }, - End: ast.Location{ - Line: int(1333), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(24), - }, - End: ast.Location{ - Line: int(1333), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(25), - }, - End: ast.Location{ - Line: int(1333), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(25), - }, - End: ast.Location{ - Line: int(1333), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(25), - }, - End: ast.Location{ - Line: int(1333), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(29), - }, - End: ast.Location{ - Line: int(1333), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(29), - }, - End: ast.Location{ - Line: int(1333), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(33), - }, - End: ast.Location{ - Line: int(1333), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(38), - }, - End: ast.Location{ - Line: int(1333), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "15", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(45), - }, - End: ast.Location{ - Line: int(1333), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(49), - }, - End: ast.Location{ - Line: int(1333), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(50), - }, - End: ast.Location{ - Line: int(1333), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(50), - }, - End: ast.Location{ - Line: int(1333), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(50), - }, - End: ast.Location{ - Line: int(1333), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(54), - }, - End: ast.Location{ - Line: int(1333), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(54), - }, - End: ast.Location{ - Line: int(1333), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(58), - }, - End: ast.Location{ - Line: int(1333), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(63), - }, - End: ast.Location{ - Line: int(1333), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "192", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(71), - }, - End: ast.Location{ - Line: int(1333), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "6", - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(11), - }, - End: ast.Location{ - Line: int(1335), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(11), - }, - End: ast.Location{ - Line: int(1335), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 6 LSB of i+2", - }, - }, - }, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(25), - }, - End: ast.Location{ - Line: int(1335), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(25), - }, - End: ast.Location{ - Line: int(1335), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(25), - }, - End: ast.Location{ - Line: int(1335), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(29), - }, - End: ast.Location{ - Line: int(1335), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(29), - }, - End: ast.Location{ - Line: int(1335), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(33), - }, - End: ast.Location{ - Line: int(1335), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(38), - }, - End: ast.Location{ - Line: int(1335), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13952, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "63", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(15), - }, - End: ast.Location{ - Line: int(1335), - Column: int(42), - }, - File: p1, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(9), - }, - End: ast.Location{ - Line: int(1336), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(9), - }, - End: ast.Location{ - Line: int(1336), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p13710, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(13), - }, - End: ast.Location{ - Line: int(1336), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14074, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(18), - }, - End: ast.Location{ - Line: int(1336), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14074, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(18), - }, - End: ast.Location{ - Line: int(1336), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14074, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(22), - }, - End: ast.Location{ - Line: int(1336), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14074, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(25), - }, - End: ast.Location{ - Line: int(1336), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14074, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(25), - }, - End: ast.Location{ - Line: int(1336), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14074, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(29), - }, - End: ast.Location{ - Line: int(1336), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14074, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + End: ast.Location{ + Line: int(1348), + Column: int(33), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p13949, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "base64_table", + "i", + "r", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(7), + }, + End: ast.Location{ + Line: int(1348), + Column: int(33), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(15), + }, + End: ast.Location{ + Line: int(1317), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(20), + }, + End: ast.Location{ + Line: int(1317), + Column: int(21), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "r", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(23), + }, + End: ast.Location{ + Line: int(1317), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p14322, + FreeVars: ast.Identifiers{ + "aux", + "base64_table", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(11), + }, + End: ast.Location{ + Line: int(1348), + Column: int(33), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -179481,111 +182439,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(5), - }, - End: ast.Location{ - Line: int(1342), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p13651, - FreeVars: ast.Identifiers{ - "aux", - "bytes", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "sanity", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(20), - }, - End: ast.Location{ - Line: int(1338), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14092, - FreeVars: ast.Identifiers{ - "bytes", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(20), - }, - End: ast.Location{ - Line: int(1338), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14092, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(20), - }, - End: ast.Location{ - Line: int(1338), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(20), + }, + End: ast.Location{ + Line: int(1350), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "all", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -179595,693 +182489,1047 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "foldl", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14331, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(20), + }, + End: ast.Location{ + Line: int(1350), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Function{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "256", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14346, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(33), + }, + End: ast.Location{ + Line: int(1350), + Column: int(36), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14346, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(29), + }, + End: ast.Location{ + Line: int(1350), + Column: int(30), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14346, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(29), + }, + End: ast.Location{ + Line: int(1350), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "a", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "bytes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14353, + FreeVars: ast.Identifiers{ + "bytes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(46), + }, + End: ast.Location{ + Line: int(1350), + Column: int(51), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "bytes", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1338), - Column: int(30), + Line: int(1350), + Column: int(28), }, End: ast.Location{ - Line: int(1338), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14101, - FreeVars: ast.Identifiers{}, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "r", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(39), - }, - End: ast.Location{ - Line: int(1338), - Column: int(40), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(42), - }, - End: ast.Location{ - Line: int(1338), - Column: int(43), - }, - File: p1, + Line: int(1350), + Column: int(52), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(45), - }, - End: ast.Location{ - Line: int(1338), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14104, - FreeVars: ast.Identifiers{ - "a", - "r", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(45), - }, - End: ast.Location{ - Line: int(1338), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14104, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(51), - }, - End: ast.Location{ - Line: int(1338), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14104, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(51), - }, - End: ast.Location{ - Line: int(1338), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14104, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(55), - }, - End: ast.Location{ - Line: int(1338), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14104, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "256", - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(61), - }, - End: ast.Location{ - Line: int(1338), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14101, - FreeVars: ast.Identifiers{ - "bytes", - }, - }, - Id: "bytes", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1338), - Column: int(68), - }, - End: ast.Location{ - Line: int(1338), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14101, - FreeVars: ast.Identifiers{}, - }, - Value: true, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14331, + FreeVars: ast.Identifiers{ + "$std", + "bytes", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(20), + }, + End: ast.Location{ + Line: int(1350), + Column: int(53), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "sanity", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1338), + Line: int(1350), Column: int(11), }, End: ast.Location{ - Line: int(1338), - Column: int(73), + Line: int(1350), + Column: int(53), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1339), - Column: int(5), - }, - End: ast.Location{ - Line: int(1342), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p13651, - FreeVars: ast.Identifiers{ - "aux", - "bytes", - "sanity", - }, - }, Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1339), - Column: int(8), - }, - End: ast.Location{ - Line: int(1339), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13651, - FreeVars: ast.Identifiers{ - "sanity", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Var{ + Id: "sanity", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1339), - Column: int(9), - }, - End: ast.Location{ - Line: int(1339), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p13651, + Ctx: p14360, FreeVars: ast.Identifiers{ "sanity", }, - }, - Id: "sanity", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1340), - Column: int(7), - }, - End: ast.Location{ - Line: int(1340), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p13651, - FreeVars: ast.Identifiers{}, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1340), + Line: int(1351), + Column: int(9), + }, + End: ast.Location{ + Line: int(1351), + Column: int(15), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14360, + FreeVars: ast.Identifiers{ + "sanity", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1351), + Column: int(8), + }, + End: ast.Location{ + Line: int(1351), + Column: int(15), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.LiteralString{ + Value: "Can only base64 encode strings / arrays of single bytes.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14360, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1352), Column: int(13), }, End: ast.Location{ - Line: int(1340), + Line: int(1352), Column: int(71), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p13651, - FreeVars: ast.Identifiers{}, }, - Value: "Can only base64 encode strings / arrays of single bytes.", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p14360, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1342), + Line: int(1352), Column: int(7), }, End: ast.Location{ - Line: int(1342), - Column: int(24), + Line: int(1352), + Column: int(71), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p13651, - FreeVars: ast.Identifiers{ - "aux", - "bytes", }, }, + }, + BranchFalse: &ast.Apply{ Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1342), - Column: int(7), - }, - End: ast.Location{ - Line: int(1342), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p13651, + Ctx: p14360, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1354), + Column: int(7), + }, + End: ast.Location{ + Line: int(1354), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "bytes", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1342), - Column: int(11), - }, - End: ast.Location{ - Line: int(1342), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14134, + Ctx: p14372, FreeVars: ast.Identifiers{ "bytes", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1354), + Column: int(11), + }, + End: ast.Location{ + Line: int(1354), + Column: int(16), + }, + }, }, - Id: "bytes", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14372, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1342), + Line: int(1354), Column: int(18), }, End: ast.Location{ - Line: int(1342), + Line: int(1354), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14134, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14372, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1342), + Line: int(1354), Column: int(21), }, End: ast.Location{ - Line: int(1342), + Line: int(1354), Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14134, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14360, + FreeVars: ast.Identifiers{ + "aux", + "bytes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1354), + Column: int(7), + }, + End: ast.Location{ + Line: int(1354), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p14360, + FreeVars: ast.Identifiers{ + "aux", + "bytes", + "sanity", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1351), + Column: int(5), + }, + End: ast.Location{ + Line: int(1354), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p14360, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "bytes", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1350), + Column: int(5), + }, + End: ast.Location{ + Line: int(1354), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p14360, + FreeVars: ast.Identifiers{ + "$std", + "base64_table", + "bytes", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(5), + }, + End: ast.Location{ + Line: int(1354), + Column: int(24), }, }, }, }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(3), - }, - End: ast.Location{ - Line: int(1342), - Column: int(24), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Ctx: p14360, + FreeVars: ast.Identifiers{ + "$std", + "base64_table", + "input", + "std", }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "base64DecodeBytes", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1311), + Column: int(5), + }, + End: ast.Location{ + Line: int(1354), + Column: int(24), + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "base64_inv", - "std", }, }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "str", + Name: "input", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1345), - Column: int(21), + Line: int(1310), + Column: int(10), }, End: ast.Location{ - Line: int(1345), - Column: int(24), + Line: int(1310), + Column: int(15), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "base64_table", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(5), - }, - End: ast.Location{ - Line: int(1364), - Column: int(22), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1310), + Column: int(3), + }, + End: ast.Location{ + Line: int(1354), + Column: int(24), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "base64DecodeBytes", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p14144, - FreeVars: ast.Identifiers{ - "$std", - "base64_inv", - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(8), + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14393, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(31), + }, + End: ast.Location{ + Line: int(1358), + Column: int(32), + }, }, - End: ast.Location{ - Line: int(1346), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14144, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(8), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1346), - Column: int(27), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(8), + }, + End: ast.Location{ + Line: int(1358), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14393, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(8), + }, + End: ast.Location{ + Line: int(1358), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14409, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(19), + }, + End: ast.Location{ + Line: int(1358), + Column: int(22), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14393, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(8), + }, + End: ast.Location{ + Line: int(1358), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14393, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(26), + }, + End: ast.Location{ + Line: int(1358), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -180289,315 +183537,105 @@ var _StdAst = &ast.DesugaredObject{ "std", "str", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(8), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1358), + Column: int(27), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(8), - }, - End: ast.Location{ - Line: int(1346), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14144, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(8), - }, - End: ast.Location{ - Line: int(1346), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14144, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(8), - }, - End: ast.Location{ - Line: int(1346), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(19), - }, - End: ast.Location{ - Line: int(1346), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14165, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(26), - }, - End: ast.Location{ - Line: int(1346), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14144, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1346), - Column: int(31), - }, - End: ast.Location{ - Line: int(1346), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14144, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(7), - }, - End: ast.Location{ - Line: int(1347), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p14144, + Fodder: ast.Fodder{}, + Ctx: p14393, FreeVars: ast.Identifiers{ "$std", + "std", "str", }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(13), - }, - End: ast.Location{ - Line: int(1347), - Column: int(53), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(8), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", + End: ast.Location{ + Line: int(1358), + Column: int(32), }, }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Apply{ Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -180607,397 +183645,162 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "Not a base64 encoded string \"%s\"", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14393, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1347), + Line: int(1359), Column: int(13), }, End: ast.Location{ - Line: int(1347), + Line: int(1359), Column: int(47), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14144, - FreeVars: ast.Identifiers{}, }, - Value: "Not a base64 encoded string \"%s\"", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(50), - }, - End: ast.Location{ - Line: int(1347), - Column: int(53), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14144, + Ctx: p14393, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1359), + Column: int(50), + }, + End: ast.Location{ + Line: int(1359), + Column: int(53), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "str", }, - End: ast.Location{ - Line: int(1364), - Column: int(22), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1359), + Column: int(13), + }, + End: ast.Location{ + Line: int(1359), + Column: int(53), + }, }, - File: p1, }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p14144, + Ctx: p14393, FreeVars: ast.Identifiers{ - "base64_inv", - "std", + "$std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1359), + Column: int(7), + }, + End: ast.Location{ + Line: int(1359), + Column: int(53), + }, + }, }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(13), - }, - End: ast.Location{ - Line: int(1363), - Column: int(44), - }, - File: p1, - }, - Fodder: nil, - Ctx: p14189, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(17), - }, - End: ast.Location{ - Line: int(1349), - Column: int(20), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(22), - }, - End: ast.Location{ - Line: int(1349), - Column: int(23), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "r", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(25), - }, - End: ast.Location{ - Line: int(1349), - Column: int(26), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(9), - }, - End: ast.Location{ - Line: int(1363), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "r", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(12), - }, - End: ast.Location{ - Line: int(1350), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(12), - }, - End: ast.Location{ - Line: int(1350), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(17), - }, - End: ast.Location{ - Line: int(1350), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(17), - }, - End: ast.Location{ - Line: int(1350), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(17), - }, - End: ast.Location{ - Line: int(1350), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(17), + }, + End: ast.Location{ + Line: int(1362), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -181007,2131 +183810,2367 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(17), + }, + End: ast.Location{ + Line: int(1362), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(28), - }, - End: ast.Location{ - Line: int(1350), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14209, + Ctx: p14443, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(28), + }, + End: ast.Location{ + Line: int(1362), + Column: int(31), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(17), + }, + End: ast.Location{ + Line: int(1362), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(12), + }, + End: ast.Location{ + Line: int(1362), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1351), - Column: int(11), - }, - End: ast.Location{ - Line: int(1351), + Line: int(1362), Column: int(12), }, - File: p1, + End: ast.Location{ + Line: int(1362), + Column: int(32), + }, }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p14194, + Ctx: p14439, FreeVars: ast.Identifiers{ "r", }, - }, - Id: "r", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1354), + Line: int(1363), Column: int(11), }, End: ast.Location{ Line: int(1363), - Column: int(44), + Column: int(12), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// all 6 bits of i, 2 MSB of i+1", - }, - }, - }, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "r", - "str", }, }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "n1", - EqFodder: ast.Fodder{}, Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(22), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(76), + }, + End: ast.Location{ + Line: int(1366), + Column: int(77), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_inv", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "base64_inv", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(50), + }, + End: ast.Location{ + Line: int(1366), + Column: int(60), + }, + }, + }, + }, + Index: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(61), + }, + End: ast.Location{ + Line: int(1366), + Column: int(64), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(69), + }, + End: ast.Location{ + Line: int(1366), + Column: int(70), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(65), + }, + End: ast.Location{ + Line: int(1366), + Column: int(66), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(65), + }, + End: ast.Location{ + Line: int(1366), + Column: int(70), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(61), + }, + End: ast.Location{ + Line: int(1366), + Column: int(71), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(50), + }, + End: ast.Location{ + Line: int(1366), + Column: int(72), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(50), + }, + End: ast.Location{ + Line: int(1366), + Column: int(77), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(45), + }, + End: ast.Location{ + Line: int(1366), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_inv", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "base64_inv", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(23), + }, + End: ast.Location{ + Line: int(1366), + Column: int(33), + }, + }, + }, + }, + Index: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(34), + }, + End: ast.Location{ + Line: int(1366), + Column: int(37), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(38), + }, + End: ast.Location{ + Line: int(1366), + Column: int(39), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(34), + }, + End: ast.Location{ + Line: int(1366), + Column: int(40), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(23), + }, + End: ast.Location{ + Line: int(1366), + Column: int(41), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(23), + }, + End: ast.Location{ + Line: int(1366), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14459, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(23), + }, + End: ast.Location{ + Line: int(1366), + Column: int(78), + }, + }, + }, + Op: ast.BinaryOp(16), }, - End: ast.Location{ - Line: int(1354), - Column: int(79), - }, - File: p1, + CommaFodder: nil, }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14221, + Ctx: p14488, FreeVars: ast.Identifiers{ "base64_inv", "i", "str", }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(23), - }, - End: ast.Location{ - Line: int(1354), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(23), - }, - End: ast.Location{ - Line: int(1354), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(23), - }, - End: ast.Location{ - Line: int(1354), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(23), - }, - End: ast.Location{ - Line: int(1354), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(34), - }, - End: ast.Location{ - Line: int(1354), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(34), - }, - End: ast.Location{ - Line: int(1354), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(38), - }, - End: ast.Location{ - Line: int(1354), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(45), - }, - End: ast.Location{ - Line: int(1354), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(50), - }, - End: ast.Location{ - Line: int(1354), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(50), - }, - End: ast.Location{ - Line: int(1354), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(50), - }, - End: ast.Location{ - Line: int(1354), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(61), - }, - End: ast.Location{ - Line: int(1354), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(61), - }, - End: ast.Location{ - Line: int(1354), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(65), - }, - End: ast.Location{ - Line: int(1354), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(65), - }, - End: ast.Location{ - Line: int(1354), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(69), - }, - End: ast.Location{ - Line: int(1354), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(76), - }, - End: ast.Location{ - Line: int(1354), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14225, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(22), + }, + End: ast.Location{ + Line: int(1366), + Column: int(79), }, - CommaFodder: nil, }, }, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "n1", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1354), + Line: int(1366), Column: int(17), }, End: ast.Location{ - Line: int(1354), + Line: int(1366), Column: int(79), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1356), - Column: int(11), - }, - End: ast.Location{ - Line: int(1363), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 4 LSB of i+1, 4MSB of i+2", - }, - }, - }, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "n1", - "r", - "str", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "n2", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(13), + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "=", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(30), + }, + End: ast.Location{ + Line: int(1369), + Column: int(33), + }, + }, }, - End: ast.Location{ - Line: int(1358), - Column: int(86), - }, - File: p1, + Kind: ast.LiteralStringKind(1), }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(16), + }, + End: ast.Location{ + Line: int(1369), + Column: int(19), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(24), + }, + End: ast.Location{ + Line: int(1369), + Column: int(25), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(20), + }, + End: ast.Location{ + Line: int(1369), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(20), + }, + End: ast.Location{ + Line: int(1369), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(16), + }, + End: ast.Location{ + Line: int(1369), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(16), + }, + End: ast.Location{ + Line: int(1369), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(39), + }, + End: ast.Location{ + Line: int(1369), + Column: int(41), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(83), + }, + End: ast.Location{ + Line: int(1370), + Column: int(84), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_inv", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(57), + }, + End: ast.Location{ + Line: int(1370), + Column: int(67), + }, + }, + }, + }, + Index: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(68), + }, + End: ast.Location{ + Line: int(1370), + Column: int(71), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(76), + }, + End: ast.Location{ + Line: int(1370), + Column: int(77), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(72), + }, + End: ast.Location{ + Line: int(1370), + Column: int(73), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(72), + }, + End: ast.Location{ + Line: int(1370), + Column: int(77), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(68), + }, + End: ast.Location{ + Line: int(1370), + Column: int(78), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(57), + }, + End: ast.Location{ + Line: int(1370), + Column: int(79), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(57), + }, + End: ast.Location{ + Line: int(1370), + Column: int(84), + }, + }, + }, + Op: ast.BinaryOp(6), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(52), + }, + End: ast.Location{ + Line: int(1370), + Column: int(53), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "15", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(45), + }, + End: ast.Location{ + Line: int(1370), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_inv", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(20), + }, + End: ast.Location{ + Line: int(1370), + Column: int(30), + }, + }, + }, + }, + Index: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(31), + }, + End: ast.Location{ + Line: int(1370), + Column: int(34), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(39), + }, + End: ast.Location{ + Line: int(1370), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(35), + }, + End: ast.Location{ + Line: int(1370), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(35), + }, + End: ast.Location{ + Line: int(1370), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(31), + }, + End: ast.Location{ + Line: int(1370), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(20), + }, + End: ast.Location{ + Line: int(1370), + Column: int(42), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(20), + }, + End: ast.Location{ + Line: int(1370), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(19), + }, + End: ast.Location{ + Line: int(1370), + Column: int(53), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14512, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(19), + }, + End: ast.Location{ + Line: int(1370), + Column: int(85), + }, + }, + }, + Op: ast.BinaryOp(16), + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14495, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(18), + }, + End: ast.Location{ + Line: int(1370), + Column: int(86), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(12), - Comment: []string{}, }, }, - Ctx: p14263, + Ctx: p14495, FreeVars: ast.Identifiers{ "base64_inv", "i", "str", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(16), - }, - End: ast.Location{ - Line: int(1357), - Column: int(33), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1369), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{ - "i", - "str", + End: ast.Location{ + Line: int(1370), + Column: int(86), }, }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(16), - }, - End: ast.Location{ - Line: int(1357), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(16), - }, - End: ast.Location{ - Line: int(1357), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(20), - }, - End: ast.Location{ - Line: int(1357), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(20), - }, - End: ast.Location{ - Line: int(1357), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(24), - }, - End: ast.Location{ - Line: int(1357), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(30), - }, - End: ast.Location{ - Line: int(1357), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{}, - }, - Value: "=", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(39), - }, - End: ast.Location{ - Line: int(1357), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(18), - }, - End: ast.Location{ - Line: int(1358), - Column: int(86), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14263, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(19), - }, - End: ast.Location{ - Line: int(1358), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(19), - }, - End: ast.Location{ - Line: int(1358), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(20), - }, - End: ast.Location{ - Line: int(1358), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(20), - }, - End: ast.Location{ - Line: int(1358), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(20), - }, - End: ast.Location{ - Line: int(1358), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(31), - }, - End: ast.Location{ - Line: int(1358), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(31), - }, - End: ast.Location{ - Line: int(1358), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(35), - }, - End: ast.Location{ - Line: int(1358), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(35), - }, - End: ast.Location{ - Line: int(1358), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(39), - }, - End: ast.Location{ - Line: int(1358), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(45), - }, - End: ast.Location{ - Line: int(1358), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "15", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(52), - }, - End: ast.Location{ - Line: int(1358), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(57), - }, - End: ast.Location{ - Line: int(1358), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(57), - }, - End: ast.Location{ - Line: int(1358), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(57), - }, - End: ast.Location{ - Line: int(1358), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(68), - }, - End: ast.Location{ - Line: int(1358), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(68), - }, - End: ast.Location{ - Line: int(1358), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(72), - }, - End: ast.Location{ - Line: int(1358), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(72), - }, - End: ast.Location{ - Line: int(1358), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(76), - }, - End: ast.Location{ - Line: int(1358), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(83), - }, - End: ast.Location{ - Line: int(1358), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14283, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "n2", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1356), + Line: int(1368), Column: int(17), }, End: ast.Location{ - Line: int(1358), + Line: int(1370), Column: int(86), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1360), - Column: int(11), - }, - End: ast.Location{ - Line: int(1363), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - Comment: []string{ - "// 2 LSB of i+2, all 6 bits of i+3", - }, - }, - }, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "n1", - "n2", - "r", - "str", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "n3", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(13), - }, - End: ast.Location{ - Line: int(1362), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p14327, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(16), - }, - End: ast.Location{ - Line: int(1361), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14327, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Left: &ast.Index{ + Right: &ast.LiteralString{ + Value: "=", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14556, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1361), - Column: int(16), + Line: int(1373), + Column: int(30), }, End: ast.Location{ - Line: int(1361), - Column: int(26), + Line: int(1373), + Column: int(33), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14556, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1373), + Column: int(16), + }, + End: ast.Location{ + Line: int(1373), + Column: int(19), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14556, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1373), + Column: int(24), + }, + End: ast.Location{ + Line: int(1373), + Column: int(25), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14556, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1373), + Column: int(20), + }, + End: ast.Location{ + Line: int(1373), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14556, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1373), + Column: int(20), + }, + End: ast.Location{ + Line: int(1373), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14327, + Ctx: p14556, FreeVars: ast.Identifiers{ "i", "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(16), - }, - End: ast.Location{ - Line: int(1361), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14327, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(20), - }, - End: ast.Location{ - Line: int(1361), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14327, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(20), - }, - End: ast.Location{ - Line: int(1361), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14327, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(24), - }, - End: ast.Location{ - Line: int(1361), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14327, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1361), - Column: int(30), + Line: int(1373), + Column: int(16), }, End: ast.Location{ - Line: int(1361), - Column: int(33), + Line: int(1373), + Column: int(26), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14327, - FreeVars: ast.Identifiers{}, }, - Value: "=", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Array{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14556, + FreeVars: ast.Identifiers{ + "i", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1361), + Line: int(1373), + Column: int(16), + }, + End: ast.Location{ + Line: int(1373), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14556, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1373), Column: int(39), }, End: ast.Location{ - Line: int(1361), + Line: int(1373), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14327, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, }, BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(18), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "base64_inv", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "base64_inv", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(55), + }, + End: ast.Location{ + Line: int(1374), + Column: int(65), + }, + }, + }, + }, + Index: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(66), + }, + End: ast.Location{ + Line: int(1374), + Column: int(69), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(74), + }, + End: ast.Location{ + Line: int(1374), + Column: int(75), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(70), + }, + End: ast.Location{ + Line: int(1374), + Column: int(71), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(70), + }, + End: ast.Location{ + Line: int(1374), + Column: int(75), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(66), + }, + End: ast.Location{ + Line: int(1374), + Column: int(76), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(55), + }, + End: ast.Location{ + Line: int(1374), + Column: int(77), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "6", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(51), + }, + End: ast.Location{ + Line: int(1374), + Column: int(52), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(45), + }, + End: ast.Location{ + Line: int(1374), + Column: int(46), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "base64_inv", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "base64_inv", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(20), + }, + End: ast.Location{ + Line: int(1374), + Column: int(30), + }, + }, + }, + }, + Index: &ast.Index{ + Target: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(31), + }, + End: ast.Location{ + Line: int(1374), + Column: int(34), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(39), + }, + End: ast.Location{ + Line: int(1374), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(35), + }, + End: ast.Location{ + Line: int(1374), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(35), + }, + End: ast.Location{ + Line: int(1374), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(31), + }, + End: ast.Location{ + Line: int(1374), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(20), + }, + End: ast.Location{ + Line: int(1374), + Column: int(42), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(20), + }, + End: ast.Location{ + Line: int(1374), + Column: int(46), + }, + }, + }, + Op: ast.BinaryOp(14), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(19), + }, + End: ast.Location{ + Line: int(1374), + Column: int(52), + }, + }, + }, + Op: ast.BinaryOp(5), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14573, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(19), + }, + End: ast.Location{ + Line: int(1374), + Column: int(77), + }, + }, + }, + Op: ast.BinaryOp(16), }, - End: ast.Location{ - Line: int(1362), - Column: int(78), - }, - File: p1, + CommaFodder: nil, }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14327, + Ctx: p14556, FreeVars: ast.Identifiers{ "base64_inv", "i", "str", }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(19), - }, - End: ast.Location{ - Line: int(1362), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(19), - }, - End: ast.Location{ - Line: int(1362), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(20), - }, - End: ast.Location{ - Line: int(1362), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(20), - }, - End: ast.Location{ - Line: int(1362), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(20), - }, - End: ast.Location{ - Line: int(1362), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(31), - }, - End: ast.Location{ - Line: int(1362), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(31), - }, - End: ast.Location{ - Line: int(1362), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(35), - }, - End: ast.Location{ - Line: int(1362), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(35), - }, - End: ast.Location{ - Line: int(1362), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(39), - }, - End: ast.Location{ - Line: int(1362), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "2", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(45), - }, - End: ast.Location{ - Line: int(1362), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(51), - }, - End: ast.Location{ - Line: int(1362), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "6", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(16), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(55), - }, - End: ast.Location{ - Line: int(1362), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(55), - }, - End: ast.Location{ - Line: int(1362), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(66), - }, - End: ast.Location{ - Line: int(1362), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(66), - }, - End: ast.Location{ - Line: int(1362), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(70), - }, - End: ast.Location{ - Line: int(1362), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(70), - }, - End: ast.Location{ - Line: int(1362), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(74), - }, - End: ast.Location{ - Line: int(1362), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14347, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "3", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(18), + }, + End: ast.Location{ + Line: int(1374), + Column: int(78), }, - CommaFodder: nil, }, }, TrailingComma: false, - CloseFodder: ast.Fodder{}, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p14556, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1373), + Column: int(13), + }, + End: ast.Location{ + Line: int(1374), + Column: int(78), + }, + }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "n3", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1360), + Line: int(1372), Column: int(17), }, End: ast.Location{ - Line: int(1362), + Line: int(1374), Column: int(78), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(11), + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, }, - End: ast.Location{ - Line: int(1363), - Column: int(44), + Ctx: p14439, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(11), + }, + End: ast.Location{ + Line: int(1375), + Column: int(14), + }, }, - File: p1, }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(15), + }, + End: ast.Location{ + Line: int(1375), + Column: int(18), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "4", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(24), + }, + End: ast.Location{ + Line: int(1375), + Column: int(25), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(20), + }, + End: ast.Location{ + Line: int(1375), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(20), + }, + End: ast.Location{ + Line: int(1375), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "n3", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "n3", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(41), + }, + End: ast.Location{ + Line: int(1375), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "n2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "n2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(36), + }, + End: ast.Location{ + Line: int(1375), + Column: int(38), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "n1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "n1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(31), + }, + End: ast.Location{ + Line: int(1375), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(27), + }, + End: ast.Location{ + Line: int(1375), + Column: int(28), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "n1", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(27), + }, + End: ast.Location{ + Line: int(1375), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "n1", + "n2", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(27), + }, + End: ast.Location{ + Line: int(1375), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "n1", + "n2", + "n3", + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(27), + }, + End: ast.Location{ + Line: int(1375), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14194, + Ctx: p14439, FreeVars: ast.Identifiers{ "aux", "i", @@ -183141,314 +186180,271 @@ var _StdAst = &ast.DesugaredObject{ "r", "str", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(11), - }, - End: ast.Location{ - Line: int(1363), - Column: int(14), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1375), + Column: int(11), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p14194, - FreeVars: ast.Identifiers{ - "aux", + End: ast.Location{ + Line: int(1375), + Column: int(44), }, }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(15), - }, - End: ast.Location{ - Line: int(1363), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(20), - }, - End: ast.Location{ - Line: int(1363), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(20), - }, - End: ast.Location{ - Line: int(1363), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(24), - }, - End: ast.Location{ - Line: int(1363), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "4", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(27), - }, - End: ast.Location{ - Line: int(1363), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "n1", - "n2", - "n3", - "r", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(27), - }, - End: ast.Location{ - Line: int(1363), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "n1", - "n2", - "r", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(27), - }, - End: ast.Location{ - Line: int(1363), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "n1", - "r", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(27), - }, - End: ast.Location{ - Line: int(1363), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(31), - }, - End: ast.Location{ - Line: int(1363), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "n1", - }, - }, - Id: "n1", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(36), - }, - End: ast.Location{ - Line: int(1363), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "n2", - }, - }, - Id: "n2", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(41), - }, - End: ast.Location{ - Line: int(1363), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14388, - FreeVars: ast.Identifiers{ - "n3", - }, - }, - Id: "n3", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 2 LSB of i+2, all 6 bits of i+3", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "aux", + "base64_inv", + "i", + "n1", + "n2", + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1372), + Column: int(11), + }, + End: ast.Location{ + Line: int(1375), + Column: int(44), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// 4 LSB of i+1, 4MSB of i+2", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "aux", + "base64_inv", + "i", + "n1", + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1368), + Column: int(11), + }, + End: ast.Location{ + Line: int(1375), + Column: int(44), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + ast.FodderElement{ + Comment: []string{ + "// all 6 bits of i, 2 MSB of i+1", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "aux", + "base64_inv", + "i", + "r", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(11), + }, + End: ast.Location{ + Line: int(1375), + Column: int(44), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p14439, + FreeVars: ast.Identifiers{ + "aux", + "base64_inv", + "i", + "r", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(9), + }, + End: ast.Location{ + Line: int(1375), + Column: int(44), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(17), + }, + End: ast.Location{ + Line: int(1361), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(22), + }, + End: ast.Location{ + Line: int(1361), + Column: int(23), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "r", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(25), + }, + End: ast.Location{ + Line: int(1361), + Column: int(26), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p14650, + FreeVars: ast.Identifiers{ + "aux", + "base64_inv", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(13), + }, + End: ast.Location{ + Line: int(1375), + Column: int(44), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -183458,330 +186454,335 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1364), - Column: int(7), - }, - End: ast.Location{ - Line: int(1364), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14144, - FreeVars: ast.Identifiers{ - "aux", - "str", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1364), - Column: int(7), - }, - End: ast.Location{ - Line: int(1364), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p14144, + Ctx: p14393, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1376), + Column: int(7), + }, + End: ast.Location{ + Line: int(1376), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1364), - Column: int(11), - }, - End: ast.Location{ - Line: int(1364), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14416, + Ctx: p14658, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1376), + Column: int(11), + }, + End: ast.Location{ + Line: int(1376), + Column: int(14), + }, + }, }, - Id: "str", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14658, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1364), + Line: int(1376), Column: int(16), }, End: ast.Location{ - Line: int(1364), + Line: int(1376), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14416, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14658, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1364), + Line: int(1376), Column: int(19), }, End: ast.Location{ - Line: int(1364), + Line: int(1376), Column: int(21), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14416, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14393, + FreeVars: ast.Identifiers{ + "aux", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1376), + Column: int(7), + }, + End: ast.Location{ + Line: int(1376), + Column: int(22), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p14393, + FreeVars: ast.Identifiers{ + "base64_inv", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(7), + }, + End: ast.Location{ + Line: int(1376), + Column: int(22), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p14393, + FreeVars: ast.Identifiers{ + "$std", + "base64_inv", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(5), + }, + End: ast.Location{ + Line: int(1376), + Column: int(22), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(3), - }, - End: ast.Location{ - Line: int(1364), - Column: int(22), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "base64Decode", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "str", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1366), - Column: int(16), + Line: int(1357), + Column: int(21), }, End: ast.Location{ - Line: int(1366), - Column: int(19), + Line: int(1357), + Column: int(24), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "base64_inv", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1367), - Column: int(5), - }, - End: ast.Location{ - Line: int(1368), - Column: int(58), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1357), + Column: int(3), + }, + End: ast.Location{ + Line: int(1376), + Column: int(22), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "base64Decode", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p14426, - FreeVars: ast.Identifiers{ - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "bytes", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1367), - Column: int(19), - }, - End: ast.Location{ - Line: int(1367), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14430, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1367), - Column: int(19), - }, - End: ast.Location{ - Line: int(1367), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14430, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1367), - Column: int(19), - }, - End: ast.Location{ - Line: int(1367), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1379), + Column: int(19), + }, + End: ast.Location{ + Line: int(1379), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "base64DecodeBytes", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -183791,146 +186792,148 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "base64DecodeBytes", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14679, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1379), + Column: int(19), + }, + End: ast.Location{ + Line: int(1379), + Column: int(40), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1367), - Column: int(41), - }, - End: ast.Location{ - Line: int(1367), - Column: int(44), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14439, + Ctx: p14683, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1379), + Column: int(41), + }, + End: ast.Location{ + Line: int(1379), + Column: int(44), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14679, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1379), + Column: int(19), + }, + End: ast.Location{ + Line: int(1379), + Column: int(45), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "bytes", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1367), + Line: int(1379), Column: int(11), }, End: ast.Location{ - Line: int(1367), + Line: int(1379), Column: int(45), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(5), - }, - End: ast.Location{ - Line: int(1368), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14426, - FreeVars: ast.Identifiers{ - "bytes", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(5), - }, - End: ast.Location{ - Line: int(1368), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14426, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(5), - }, - End: ast.Location{ - Line: int(1368), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(5), + }, + End: ast.Location{ + Line: int(1380), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -183940,117 +186943,97 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14692, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(5), + }, + End: ast.Location{ + Line: int(1380), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14696, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1368), + Line: int(1380), Column: int(14), }, End: ast.Location{ - Line: int(1368), + Line: int(1380), Column: int(16), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14451, - FreeVars: ast.Identifiers{}, }, - Value: "", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(18), - }, - End: ast.Location{ - Line: int(1368), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14451, - FreeVars: ast.Identifiers{ - "bytes", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(18), - }, - End: ast.Location{ - Line: int(1368), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14451, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(18), - }, - End: ast.Location{ - Line: int(1368), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(18), + }, + End: ast.Location{ + Line: int(1380), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "map", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -184060,425 +187043,341 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "map", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14696, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(18), + }, + End: ast.Location{ + Line: int(1380), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(26), + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - End: ast.Location{ - Line: int(1368), - Column: int(49), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(26), + }, + End: ast.Location{ + Line: int(1380), + Column: int(29), + }, }, - File: p1, }, + }, + Index: &ast.LiteralString{ + Value: "char", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14461, + Ctx: p14708, FreeVars: ast.Identifiers{ "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(35), - }, - End: ast.Location{ - Line: int(1368), - Column: int(36), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(26), + }, + End: ast.Location{ + Line: int(1380), + Column: int(34), }, }, }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(38), - }, - End: ast.Location{ - Line: int(1368), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14465, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(38), - }, - End: ast.Location{ - Line: int(1368), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14465, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(38), - }, - End: ast.Location{ - Line: int(1368), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "char", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(47), - }, - End: ast.Location{ - Line: int(1368), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14474, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "bytes", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(51), - }, - End: ast.Location{ - Line: int(1368), - Column: int(56), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14461, + Ctx: p14708, FreeVars: ast.Identifiers{ "bytes", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(36), + }, + End: ast.Location{ + Line: int(1380), + Column: int(41), + }, + }, }, - Id: "bytes", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14696, + FreeVars: ast.Identifiers{ + "bytes", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(18), + }, + End: ast.Location{ + Line: int(1380), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14692, + FreeVars: ast.Identifiers{ + "bytes", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1380), + Column: int(5), + }, + End: ast.Location{ + Line: int(1380), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p14692, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1379), + Column: int(5), + }, + End: ast.Location{ + Line: int(1380), + Column: int(43), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(3), - }, - End: ast.Location{ - Line: int(1368), - Column: int(58), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "reverse", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arr", + Name: "str", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1370), - Column: int(11), + Line: int(1378), + Column: int(16), }, End: ast.Location{ - Line: int(1370), - Column: int(14), + Line: int(1378), + Column: int(19), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1371), - Column: int(5), - }, - End: ast.Location{ - Line: int(1372), - Column: int(49), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1378), + Column: int(3), + }, + End: ast.Location{ + Line: int(1380), + Column: int(43), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "reverse", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p14484, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "l", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1371), - Column: int(15), - }, - End: ast.Location{ - Line: int(1371), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14488, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1371), - Column: int(15), - }, - End: ast.Location{ - Line: int(1371), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14488, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1371), - Column: int(15), - }, - End: ast.Location{ - Line: int(1371), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1383), + Column: int(15), + }, + End: ast.Location{ + Line: int(1383), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -184488,147 +187387,148 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14727, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1383), + Column: int(15), + }, + End: ast.Location{ + Line: int(1383), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1371), - Column: int(26), - }, - End: ast.Location{ - Line: int(1371), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14497, + Ctx: p14731, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1383), + Column: int(26), + }, + End: ast.Location{ + Line: int(1383), + Column: int(29), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14727, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1383), + Column: int(15), + }, + End: ast.Location{ + Line: int(1383), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "l", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1371), + Line: int(1383), Column: int(11), }, End: ast.Location{ - Line: int(1371), + Line: int(1383), Column: int(30), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(5), - }, - End: ast.Location{ - Line: int(1372), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14484, - FreeVars: ast.Identifiers{ - "arr", - "l", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(5), - }, - End: ast.Location{ - Line: int(1372), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14484, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(5), - }, - End: ast.Location{ - Line: int(1372), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(5), + }, + End: ast.Location{ + Line: int(1384), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -184638,616 +187538,456 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14740, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(5), + }, + End: ast.Location{ + Line: int(1384), + Column: int(18), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "l", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(19), - }, - End: ast.Location{ - Line: int(1372), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14509, + Ctx: p14744, FreeVars: ast.Identifiers{ "l", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(19), + }, + End: ast.Location{ + Line: int(1384), + Column: int(20), + }, + }, }, - Id: "l", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(22), - }, - End: ast.Location{ - Line: int(1372), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14509, - FreeVars: ast.Identifiers{ - "arr", - "l", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(31), - }, - End: ast.Location{ - Line: int(1372), - Column: int(32), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(34), + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14749, + FreeVars: ast.Identifiers{ + "arr", }, - End: ast.Location{ - Line: int(1372), - Column: int(48), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(34), + }, + End: ast.Location{ + Line: int(1384), + Column: int(37), + }, }, - File: p1, }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14749, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(46), + }, + End: ast.Location{ + Line: int(1384), + Column: int(47), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14749, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(42), + }, + End: ast.Location{ + Line: int(1384), + Column: int(43), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "l", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14749, + FreeVars: ast.Identifiers{ + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(38), + }, + End: ast.Location{ + Line: int(1384), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14749, + FreeVars: ast.Identifiers{ + "i", + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(38), + }, + End: ast.Location{ + Line: int(1384), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14749, + FreeVars: ast.Identifiers{ + "i", + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(38), + }, + End: ast.Location{ + Line: int(1384), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14515, + Ctx: p14749, FreeVars: ast.Identifiers{ "arr", "i", "l", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(34), - }, - End: ast.Location{ - Line: int(1372), - Column: int(37), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(34), }, - Fodder: ast.Fodder{}, - Ctx: p14515, - FreeVars: ast.Identifiers{ - "arr", + End: ast.Location{ + Line: int(1384), + Column: int(48), }, }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(38), - }, - End: ast.Location{ - Line: int(1372), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14515, - FreeVars: ast.Identifiers{ - "i", - "l", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(38), - }, - End: ast.Location{ - Line: int(1372), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14515, - FreeVars: ast.Identifiers{ - "i", - "l", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(38), - }, - End: ast.Location{ - Line: int(1372), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14515, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Id: "l", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(42), - }, - End: ast.Location{ - Line: int(1372), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14515, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(46), - }, - End: ast.Location{ - Line: int(1372), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14515, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(31), + }, + End: ast.Location{ + Line: int(1384), + Column: int(32), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14744, + FreeVars: ast.Identifiers{ + "arr", + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(22), + }, + End: ast.Location{ + Line: int(1384), + Column: int(48), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14740, + FreeVars: ast.Identifiers{ + "arr", + "l", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(5), + }, + End: ast.Location{ + Line: int(1384), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p14740, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1383), + Column: int(5), + }, + End: ast.Location{ + Line: int(1384), + Column: int(49), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(3), - }, - End: ast.Location{ - Line: int(1372), - Column: int(49), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "sort", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "id", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1375), - Column: int(8), - }, - End: ast.Location{ - Line: int(1375), + Line: int(1382), Column: int(11), }, - File: p1, + End: ast.Location{ + Line: int(1382), + Column: int(14), + }, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(18), - }, - End: ast.Location{ - Line: int(1375), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(13), - }, - End: ast.Location{ - Line: int(1375), - Column: int(20), - }, - File: p1, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(5), - }, - End: ast.Location{ - Line: int(1408), - Column: int(67), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1382), + Column: int(3), + }, + End: ast.Location{ + Line: int(1384), + Column: int(49), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "sort", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "id", - "keyF", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "quickSort", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(11), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, - Fodder: nil, - Ctx: p14540, - FreeVars: ast.Identifiers{ - "id", - "quickSort", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(21), - }, - End: ast.Location{ - Line: int(1376), - Column: int(24), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(31), - }, - End: ast.Location{ - Line: int(1376), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", - }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(26), - }, - End: ast.Location{ - Line: int(1376), - Column: int(33), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1377), - Column: int(7), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "quickSort", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "l", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1377), - Column: int(17), - }, - End: ast.Location{ - Line: int(1377), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14551, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1377), - Column: int(17), - }, - End: ast.Location{ - Line: int(1377), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14551, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1377), - Column: int(17), - }, - End: ast.Location{ - Line: int(1377), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1389), + Column: int(17), + }, + End: ast.Location{ + Line: int(1389), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -185257,191 +187997,163 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14780, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1389), + Column: int(17), + }, + End: ast.Location{ + Line: int(1389), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1377), - Column: int(28), - }, - End: ast.Location{ - Line: int(1377), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14560, + Ctx: p14784, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1389), + Column: int(28), + }, + End: ast.Location{ + Line: int(1389), + Column: int(31), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14780, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1389), + Column: int(17), + }, + End: ast.Location{ + Line: int(1389), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "l", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1377), + Line: int(1389), Column: int(13), }, End: ast.Location{ - Line: int(1377), + Line: int(1389), Column: int(32), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(7), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "quickSort", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(10), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1390), + Column: int(29), + }, + End: ast.Location{ + Line: int(1390), + Column: int(30), + }, }, - End: ast.Location{ - Line: int(1378), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(10), - }, - End: ast.Location{ - Line: int(1378), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(10), - }, - End: ast.Location{ - Line: int(1378), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(10), - }, - End: ast.Location{ - Line: int(1378), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1390), + Column: int(10), + }, + End: ast.Location{ + Line: int(1390), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -185451,476 +188163,370 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1390), + Column: int(10), + }, + End: ast.Location{ + Line: int(1390), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(21), - }, - End: ast.Location{ - Line: int(1378), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14576, + Ctx: p14799, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1390), + Column: int(21), + }, + End: ast.Location{ + Line: int(1390), + Column: int(24), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1378), - Column: int(29), + Line: int(1390), + Column: int(10), }, End: ast.Location{ - Line: int(1378), - Column: int(30), + Line: int(1390), + Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1379), - Column: int(9), + Line: int(1390), + Column: int(10), }, End: ast.Location{ - Line: int(1379), - Column: int(12), + Line: int(1390), + Column: int(30), }, - File: p1, }, + }, + Op: ast.BinaryOp(10), + }, + BranchTrue: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p14544, + Ctx: p14790, FreeVars: ast.Identifiers{ "arr", }, - }, - Id: "arr", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1391), + Column: int(9), + }, + End: ast.Location{ + Line: int(1391), + Column: int(12), + }, + }, }, }, BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1381), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "quickSort", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "pos", - EqFodder: ast.Fodder{}, Body: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14809, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1381), + Line: int(1393), Column: int(21), }, End: ast.Location{ - Line: int(1381), + Line: int(1393), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14588, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "pos", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1381), + Line: int(1393), Column: int(15), }, End: ast.Location{ - Line: int(1381), + Line: int(1393), Column: int(22), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "pos", - "quickSort", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "pivot", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(23), - }, - End: ast.Location{ - Line: int(1382), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14594, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "pos", - }, - }, Target: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(23), - }, - End: ast.Location{ - Line: int(1382), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14594, + Ctx: p14814, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(23), + }, + End: ast.Location{ + Line: int(1394), + Column: int(27), + }, + }, }, - Id: "keyF", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(28), + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14819, + FreeVars: ast.Identifiers{ + "arr", }, - End: ast.Location{ - Line: int(1382), - Column: int(36), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(28), + }, + End: ast.Location{ + Line: int(1394), + Column: int(31), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "pos", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14819, + FreeVars: ast.Identifiers{ + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(32), + }, + End: ast.Location{ + Line: int(1394), + Column: int(35), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14600, + Ctx: p14819, FreeVars: ast.Identifiers{ "arr", "pos", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(28), - }, - End: ast.Location{ - Line: int(1382), - Column: int(31), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(28), }, - Fodder: ast.Fodder{}, - Ctx: p14600, - FreeVars: ast.Identifiers{ - "arr", + End: ast.Location{ + Line: int(1394), + Column: int(36), }, }, - Id: "arr", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(32), - }, - End: ast.Location{ - Line: int(1382), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14600, - FreeVars: ast.Identifiers{ - "pos", - }, - }, - Id: "pos", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14814, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(23), + }, + End: ast.Location{ + Line: int(1394), + Column: int(37), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "pivot", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1382), + Line: int(1394), Column: int(15), }, End: ast.Location{ - Line: int(1382), + Line: int(1394), Column: int(37), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "pivot", - "pos", - "quickSort", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "rest", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(22), - }, - End: ast.Location{ - Line: int(1383), - Column: int(94), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14611, - FreeVars: ast.Identifiers{ - "arr", - "l", - "pos", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(22), - }, - End: ast.Location{ - Line: int(1383), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14611, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(22), - }, - End: ast.Location{ - Line: int(1383), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(22), + }, + End: ast.Location{ + Line: int(1395), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -185930,545 +188536,513 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14832, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(22), + }, + End: ast.Location{ + Line: int(1395), + Column: int(35), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(36), - }, - End: ast.Location{ - Line: int(1383), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14620, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(36), - }, - End: ast.Location{ - Line: int(1383), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14620, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Id: "l", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), Right: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14837, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1383), + Line: int(1395), Column: int(40), }, End: ast.Location{ - Line: int(1383), + Line: int(1395), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14620, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", }, + Left: &ast.Var{ + Id: "l", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14837, + FreeVars: ast.Identifiers{ + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(36), + }, + End: ast.Location{ + Line: int(1395), + Column: int(37), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14837, + FreeVars: ast.Identifiers{ + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(36), + }, + End: ast.Location{ + Line: int(1395), + Column: int(41), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(43), - }, - End: ast.Location{ - Line: int(1383), - Column: int(93), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14620, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(52), - }, - End: ast.Location{ - Line: int(1383), - Column: int(53), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(55), + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "pos", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(62), + }, + End: ast.Location{ + Line: int(1395), + Column: int(65), + }, + }, }, - End: ast.Location{ - Line: int(1383), - Column: int(93), - }, - File: p1, }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(58), + }, + End: ast.Location{ + Line: int(1395), + Column: int(59), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "i", + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(58), + }, + End: ast.Location{ + Line: int(1395), + Column: int(65), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(71), + }, + End: ast.Location{ + Line: int(1395), + Column: int(74), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(75), + }, + End: ast.Location{ + Line: int(1395), + Column: int(76), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(71), + }, + End: ast.Location{ + Line: int(1395), + Column: int(77), + }, + }, + }, + }, + BranchFalse: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(83), + }, + End: ast.Location{ + Line: int(1395), + Column: int(86), + }, + }, + }, + }, + Index: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(91), + }, + End: ast.Location{ + Line: int(1395), + Column: int(92), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(87), + }, + End: ast.Location{ + Line: int(1395), + Column: int(88), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(87), + }, + End: ast.Location{ + Line: int(1395), + Column: int(92), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14845, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(83), + }, + End: ast.Location{ + Line: int(1395), + Column: int(93), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14629, + Ctx: p14845, FreeVars: ast.Identifiers{ "arr", "i", "pos", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(58), - }, - End: ast.Location{ - Line: int(1383), - Column: int(65), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(55), }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "i", - "pos", + End: ast.Location{ + Line: int(1395), + Column: int(93), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(58), - }, - End: ast.Location{ - Line: int(1383), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(62), - }, - End: ast.Location{ - Line: int(1383), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "pos", - }, - }, - Id: "pos", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(71), - }, - End: ast.Location{ - Line: int(1383), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(71), - }, - End: ast.Location{ - Line: int(1383), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(75), - }, - End: ast.Location{ - Line: int(1383), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(83), - }, - End: ast.Location{ - Line: int(1383), - Column: int(93), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(83), - }, - End: ast.Location{ - Line: int(1383), - Column: int(86), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(87), - }, - End: ast.Location{ - Line: int(1383), - Column: int(92), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(87), - }, - End: ast.Location{ - Line: int(1383), - Column: int(88), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(91), - }, - End: ast.Location{ - Line: int(1383), - Column: int(92), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14629, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(52), + }, + End: ast.Location{ + Line: int(1395), + Column: int(53), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14837, + FreeVars: ast.Identifiers{ + "arr", + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(43), + }, + End: ast.Location{ + Line: int(1395), + Column: int(93), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14832, + FreeVars: ast.Identifiers{ + "arr", + "l", + "pos", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(22), + }, + End: ast.Location{ + Line: int(1395), + Column: int(94), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "rest", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1383), + Line: int(1395), Column: int(15), }, End: ast.Location{ - Line: int(1383), + Line: int(1395), Column: int(94), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "pivot", - "pos", - "quickSort", - "rest", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "left", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(22), - }, - End: ast.Location{ - Line: int(1384), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14657, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "rest", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(22), - }, - End: ast.Location{ - Line: int(1384), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14657, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(22), - }, - End: ast.Location{ - Line: int(1384), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(22), + }, + End: ast.Location{ + Line: int(1396), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "filter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -186478,193 +189052,656 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "filter", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14876, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(22), + }, + End: ast.Location{ + Line: int(1396), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(33), - }, - End: ast.Location{ - Line: int(1384), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14666, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(42), - }, - End: ast.Location{ - Line: int(1384), - Column: int(43), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(45), + Right: &ast.Var{ + Id: "pivot", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14882, + FreeVars: ast.Identifiers{ + "pivot", }, - End: ast.Location{ - Line: int(1384), - Column: int(60), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(55), + }, + End: ast.Location{ + Line: int(1396), + Column: int(60), + }, }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14670, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "x", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(45), - }, - End: ast.Location{ - Line: int(1384), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14670, - FreeVars: ast.Identifiers{ - "keyF", - "x", - }, - }, Target: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(45), - }, - End: ast.Location{ - Line: int(1384), - Column: int(49), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14670, + Ctx: p14882, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(45), + }, + End: ast.Location{ + Line: int(1396), + Column: int(49), + }, + }, }, - Id: "keyF", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "x", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(50), - }, - End: ast.Location{ - Line: int(1384), - Column: int(51), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14678, + Ctx: p14889, FreeVars: ast.Identifiers{ "x", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(50), + }, + End: ast.Location{ + Line: int(1396), + Column: int(51), + }, + }, }, - Id: "x", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14882, + FreeVars: ast.Identifiers{ + "keyF", + "x", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1384), - Column: int(55), + Line: int(1396), + Column: int(45), }, End: ast.Location{ - Line: int(1384), - Column: int(60), + Line: int(1396), + Column: int(52), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14670, - FreeVars: ast.Identifiers{ - "pivot", }, }, - Id: "pivot", + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14882, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(45), + }, + End: ast.Location{ + Line: int(1396), + Column: int(60), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(42), + }, + End: ast.Location{ + Line: int(1396), + Column: int(43), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14894, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(33), + }, + End: ast.Location{ + Line: int(1396), + Column: int(60), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "rest", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14894, + FreeVars: ast.Identifiers{ + "rest", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(62), + }, + End: ast.Location{ + Line: int(1396), + Column: int(66), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14876, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + "rest", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(22), + }, + End: ast.Location{ + Line: int(1396), + Column: int(67), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "left", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(15), + }, + End: ast.Location{ + Line: int(1396), + Column: int(67), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(23), + }, + End: ast.Location{ + Line: int(1397), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "filter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14906, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(23), + }, + End: ast.Location{ + Line: int(1397), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Var{ + Id: "pivot", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14912, + FreeVars: ast.Identifiers{ + "pivot", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(57), + }, + End: ast.Location{ + Line: int(1397), + Column: int(62), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14912, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(46), + }, + End: ast.Location{ + Line: int(1397), + Column: int(50), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14919, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(51), + }, + End: ast.Location{ + Line: int(1397), + Column: int(52), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14912, + FreeVars: ast.Identifiers{ + "keyF", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(46), + }, + End: ast.Location{ + Line: int(1397), + Column: int(53), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14912, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(46), + }, + End: ast.Location{ + Line: int(1397), + Column: int(62), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(43), + }, + End: ast.Location{ + Line: int(1397), + Column: int(44), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14924, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(34), + }, + End: ast.Location{ + Line: int(1397), + Column: int(62), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "rest", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14924, + FreeVars: ast.Identifiers{ + "rest", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(64), + }, + End: ast.Location{ + Line: int(1397), + Column: int(68), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14906, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + "rest", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(23), + }, + End: ast.Location{ + Line: int(1397), + Column: int(69), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "right", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(15), + }, + End: ast.Location{ + Line: int(1397), + Column: int(69), + }, + }, + }, + }, + Body: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "quickSort", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "quickSort", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(46), + }, + End: ast.Location{ + Line: int(1398), + Column: int(55), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "right", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14935, + FreeVars: ast.Identifiers{ + "right", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(56), + }, + End: ast.Location{ + Line: int(1398), + Column: int(61), + }, }, }, }, @@ -186672,76 +189709,332 @@ var _StdAst = &ast.DesugaredObject{ }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14935, + FreeVars: ast.Identifiers{ + "keyF", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1384), - Column: int(62), + Line: int(1398), + Column: int(63), }, End: ast.Location{ - Line: int(1384), - Column: int(66), + Line: int(1398), + Column: int(67), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14666, - FreeVars: ast.Identifiers{ - "rest", }, }, - Id: "rest", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(15), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "keyF", + "quickSort", + "right", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(46), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, }, - End: ast.Location{ - Line: int(1384), - Column: int(67), - }, - File: p1, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14945, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(34), + }, + End: ast.Location{ + Line: int(1398), + Column: int(37), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "pos", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14945, + FreeVars: ast.Identifiers{ + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(38), + }, + End: ast.Location{ + Line: int(1398), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14945, + FreeVars: ast.Identifiers{ + "arr", + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(34), + }, + End: ast.Location{ + Line: int(1398), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "pos", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(33), + }, + End: ast.Location{ + Line: int(1398), + Column: int(43), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "quickSort", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "quickSort", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "left", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14957, + FreeVars: ast.Identifiers{ + "left", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(19), + }, + End: ast.Location{ + Line: int(1398), + Column: int(23), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14957, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(25), + }, + End: ast.Location{ + Line: int(1398), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "keyF", + "left", + "quickSort", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "left", + "pos", + "quickSort", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "left", + "pos", + "quickSort", + "right", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - Body: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p14544, + Ctx: p14790, FreeVars: ast.Identifiers{ "arr", "keyF", @@ -186752,1297 +190045,2258 @@ var _StdAst = &ast.DesugaredObject{ "rest", "std", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "right", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(23), - }, - End: ast.Location{ - Line: int(1385), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14689, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "rest", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(23), - }, - End: ast.Location{ - Line: int(1385), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14689, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(23), - }, - End: ast.Location{ - Line: int(1385), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "filter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(34), - }, - End: ast.Location{ - Line: int(1385), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14698, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(43), - }, - End: ast.Location{ - Line: int(1385), - Column: int(44), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(46), - }, - End: ast.Location{ - Line: int(1385), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14702, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "x", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(46), - }, - End: ast.Location{ - Line: int(1385), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14702, - FreeVars: ast.Identifiers{ - "keyF", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(46), - }, - End: ast.Location{ - Line: int(1385), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14702, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(51), - }, - End: ast.Location{ - Line: int(1385), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14710, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(57), - }, - End: ast.Location{ - Line: int(1385), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14702, - FreeVars: ast.Identifiers{ - "pivot", - }, - }, - Id: "pivot", - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(64), - }, - End: ast.Location{ - Line: int(1385), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14698, - FreeVars: ast.Identifiers{ - "rest", - }, - }, - Id: "rest", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(9), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1385), - Column: int(15), - }, - End: ast.Location{ - Line: int(1385), - Column: int(69), - }, - File: p1, + End: ast.Location{ + Line: int(1398), + Column: int(68), }, }, }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "pivot", + "pos", + "quickSort", + "rest", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "pivot", + "pos", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "pos", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1393), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1390), + Column: int(7), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1389), + Column: int(7), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1388), + Column: int(21), + }, + End: ast.Location{ + Line: int(1388), + Column: int(24), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "keyF", + CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.Var{ + Id: "id", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14790, + FreeVars: ast.Identifiers{ + "id", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1388), + Column: int(31), + }, + End: ast.Location{ + Line: int(1388), + Column: int(33), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1388), + Column: int(26), + }, + End: ast.Location{ + Line: int(1388), + Column: int(33), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p14982, + FreeVars: ast.Identifiers{ + "id", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1388), + Column: int(11), + }, + End: ast.Location{ + Line: int(1398), + Column: int(68), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "quickSort", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(18), }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pos", - "quickSort", - "right", + End: ast.Location{ + Line: int(1401), + Column: int(21), }, }, - Left: &ast.Binary{ + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14994, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(18), + }, + End: ast.Location{ + Line: int(1401), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14998, + FreeVars: ast.Identifiers{ + "a", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1386), - Column: int(9), + Line: int(1401), + Column: int(29), }, End: ast.Location{ - Line: int(1386), - Column: int(43), + Line: int(1401), + Column: int(30), }, - File: p1, }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p14994, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(18), + }, + End: ast.Location{ + Line: int(1401), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "la", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(13), + }, + End: ast.Location{ + Line: int(1401), + Column: int(31), + }, + }, + }, + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(38), + }, + End: ast.Location{ + Line: int(1401), + Column: int(41), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15006, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(38), + }, + End: ast.Location{ + Line: int(1401), + Column: int(48), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14544, + Ctx: p15010, FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pos", - "quickSort", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(49), + }, + End: ast.Location{ + Line: int(1401), + Column: int(50), + }, }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(30), - }, - File: p1, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15006, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(38), + }, + End: ast.Location{ + Line: int(1401), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "lb", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(33), + }, + End: ast.Location{ + Line: int(1401), + Column: int(51), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "la", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "la", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1403), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "quickSort", + End: ast.Location{ + Line: int(1403), + Column: int(19), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(9), - }, - End: ast.Location{ - Line: int(1386), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "quickSort", - }, - }, - Id: "quickSort", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(19), - }, - End: ast.Location{ - Line: int(1386), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14727, - FreeVars: ast.Identifiers{ - "left", - }, - }, - Id: "left", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(25), - }, - End: ast.Location{ - Line: int(1386), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14727, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(33), - }, - End: ast.Location{ - Line: int(1386), - Column: int(43), - }, - File: p1, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1403), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "arr", - "pos", + End: ast.Location{ + Line: int(1403), + Column: int(13), }, }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(34), - }, - End: ast.Location{ - Line: int(1386), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14735, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(34), - }, - End: ast.Location{ - Line: int(1386), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14735, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(38), - }, - End: ast.Location{ - Line: int(1386), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14735, - FreeVars: ast.Identifiers{ - "pos", - }, - }, - Id: "pos", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, }, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1386), - Column: int(46), - }, - End: ast.Location{ - Line: int(1386), - Column: int(68), - }, - File: p1, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "i", + "la", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1403), + Column: int(12), }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "keyF", - "quickSort", - "right", + End: ast.Location{ + Line: int(1403), + Column: int(19), }, }, - Target: &ast.Var{ + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ - Line: int(1386), - Column: int(46), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1386), - Column: int(55), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14544, - FreeVars: ast.Identifiers{ - "quickSort", }, }, - Id: "quickSort", }, - FodderLeft: ast.Fodder{}, + FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1386), - Column: int(56), + Line: int(1404), + Column: int(20), }, End: ast.Location{ - Line: int(1386), - Column: int(61), + Line: int(1404), + Column: int(21), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14747, - FreeVars: ast.Identifiers{ - "right", }, }, - Id: "right", }, - CommaFodder: ast.Fodder{}, + CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "j", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "j", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1386), - Column: int(63), + Line: int(1404), + Column: int(22), }, End: ast.Location{ - Line: int(1386), - Column: int(67), + Line: int(1404), + Column: int(23), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14747, - FreeVars: ast.Identifiers{ - "keyF", }, }, - Id: "keyF", }, CommaFodder: nil, }, }, Named: nil, }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1404), + Column: int(20), + }, + End: ast.Location{ + Line: int(1404), + Column: int(25), + }, + }, + }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(5), - }, - End: ast.Location{ - Line: int(1408), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "quickSort", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "merge", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(11), - }, - End: ast.Location{ - Line: int(1400), - Column: int(20), - }, - File: p1, - }, - Fodder: nil, - Ctx: p14756, - FreeVars: ast.Identifiers{ - "$std", - "keyF", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(17), - }, - End: ast.Location{ - Line: int(1388), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(20), - }, - End: ast.Location{ - Line: int(1388), - Column: int(21), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(7), - }, - End: ast.Location{ - Line: int(1400), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p14761, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "la", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(18), - }, - End: ast.Location{ - Line: int(1389), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14765, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(18), - }, - End: ast.Location{ - Line: int(1389), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14765, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(18), - }, - End: ast.Location{ - Line: int(1389), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ + Left: &ast.Var{ + Id: "prefix", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "prefix", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1389), - Column: int(29), + Line: int(1404), + Column: int(11), }, End: ast.Location{ - Line: int(1389), - Column: int(30), + Line: int(1404), + Column: int(17), }, - File: p1, }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "$std", + "b", + "j", + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1404), + Column: int(11), + }, + End: ast.Location{ + Line: int(1404), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "lb", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "lb", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(22), + }, + End: ast.Location{ + Line: int(1405), + Column: int(24), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(17), + }, + End: ast.Location{ + Line: int(1405), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p14774, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "j", + "lb", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(17), + }, + End: ast.Location{ + Line: int(1405), + Column: int(24), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1406), + Column: int(20), + }, + End: ast.Location{ + Line: int(1406), + Column: int(21), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1406), + Column: int(22), + }, + End: ast.Location{ + Line: int(1406), + Column: int(23), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1406), + Column: int(20), + }, + End: ast.Location{ + Line: int(1406), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "prefix", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1406), + Column: int(11), + }, + End: ast.Location{ + Line: int(1406), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "$std", + "a", + "i", + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1406), + Column: int(11), + }, + End: ast.Location{ + Line: int(1406), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(28), + }, + End: ast.Location{ + Line: int(1408), + Column: int(32), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15077, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(33), + }, + End: ast.Location{ + Line: int(1408), + Column: int(34), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15077, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(35), + }, + End: ast.Location{ + Line: int(1408), + Column: int(36), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15077, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(33), + }, + End: ast.Location{ + Line: int(1408), + Column: int(37), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(28), + }, + End: ast.Location{ + Line: int(1408), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(14), + }, + End: ast.Location{ + Line: int(1408), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15089, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(19), + }, + End: ast.Location{ + Line: int(1408), + Column: int(20), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15089, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(21), + }, + End: ast.Location{ + Line: int(1408), + Column: int(22), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15089, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(19), + }, + End: ast.Location{ + Line: int(1408), + Column: int(23), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(14), + }, + End: ast.Location{ + Line: int(1408), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(14), + }, + End: ast.Location{ + Line: int(1408), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(10), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(13), + }, + End: ast.Location{ + Line: int(1409), + Column: int(16), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15103, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(21), + }, + End: ast.Location{ + Line: int(1409), + Column: int(22), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15103, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(17), + }, + End: ast.Location{ + Line: int(1409), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15103, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(17), + }, + End: ast.Location{ + Line: int(1409), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15103, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(24), + }, + End: ast.Location{ + Line: int(1409), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15114, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(37), + }, + End: ast.Location{ + Line: int(1409), + Column: int(38), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15114, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(39), + }, + End: ast.Location{ + Line: int(1409), + Column: int(40), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15114, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(37), + }, + End: ast.Location{ + Line: int(1409), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15103, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(36), + }, + End: ast.Location{ + Line: int(1409), + Column: int(42), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "prefix", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15103, + FreeVars: ast.Identifiers{ + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(27), + }, + End: ast.Location{ + Line: int(1409), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15103, + FreeVars: ast.Identifiers{ + "a", + "i", + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(27), + }, + End: ast.Location{ + Line: int(1409), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "a", + "aux", + "i", + "j", + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1409), + Column: int(13), + }, + End: ast.Location{ + Line: int(1409), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(13), + }, + End: ast.Location{ + Line: int(1411), + Column: int(16), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15130, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(17), + }, + End: ast.Location{ + Line: int(1411), + Column: int(18), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15130, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(24), + }, + End: ast.Location{ + Line: int(1411), + Column: int(25), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15130, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(20), + }, + End: ast.Location{ + Line: int(1411), + Column: int(21), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15130, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(20), + }, + End: ast.Location{ + Line: int(1411), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15142, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(37), + }, + End: ast.Location{ + Line: int(1411), + Column: int(38), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15142, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(39), + }, + End: ast.Location{ + Line: int(1411), + Column: int(40), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15142, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(37), + }, + End: ast.Location{ + Line: int(1411), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15130, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(36), + }, + End: ast.Location{ + Line: int(1411), + Column: int(42), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "prefix", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15130, + FreeVars: ast.Identifiers{ + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(27), + }, + End: ast.Location{ + Line: int(1411), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15130, + FreeVars: ast.Identifiers{ + "b", + "j", + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(27), + }, + End: ast.Location{ + Line: int(1411), + Column: int(42), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "aux", + "b", + "i", + "j", + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1411), + Column: int(13), + }, + End: ast.Location{ + Line: int(1411), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15019, FreeVars: ast.Identifiers{ "a", + "aux", + "b", + "i", + "j", + "keyF", + "prefix", }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(13), - }, - End: ast.Location{ - Line: int(1389), - Column: int(31), - }, - File: p1, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "lb", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(38), - }, - End: ast.Location{ - Line: int(1389), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14777, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(38), - }, - End: ast.Location{ - Line: int(1389), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14777, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(38), - }, - End: ast.Location{ - Line: int(1389), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1389), - Column: int(49), + Line: int(1408), + Column: int(11), }, End: ast.Location{ - Line: int(1389), - Column: int(50), + Line: int(1411), + Column: int(43), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14786, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(33), - }, - End: ast.Location{ - Line: int(1389), - Column: int(51), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(7), - }, - End: ast.Location{ - Line: int(1400), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p14761, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "la", - "lb", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "aux", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(13), - }, - End: ast.Location{ - Line: int(1399), - Column: int(43), - }, - File: p1, - }, - Fodder: nil, - Ctx: p14793, - FreeVars: ast.Identifiers{ - "$std", - "a", - "aux", - "b", - "keyF", - "la", - "lb", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(17), - }, - End: ast.Location{ - Line: int(1390), - Column: int(18), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(20), - }, - End: ast.Location{ - Line: int(1390), - Column: int(21), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prefix", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(23), - }, - End: ast.Location{ - Line: int(1390), - Column: int(29), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1391), - Column: int(9), - }, - End: ast.Location{ - Line: int(1399), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{ + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p14798, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15019, + FreeVars: ast.Identifiers{ + "$std", + "a", + "aux", + "b", + "i", + "j", + "keyF", + "lb", + "prefix", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(14), + }, + End: ast.Location{ + Line: int(1411), + Column: int(43), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15019, FreeVars: ast.Identifiers{ "$std", "a", @@ -188055,1631 +192309,112 @@ var _StdAst = &ast.DesugaredObject{ "lb", "prefix", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1391), - Column: int(12), - }, - End: ast.Location{ - Line: int(1391), - Column: int(19), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1403), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "i", - "la", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1391), - Column: int(12), - }, - End: ast.Location{ - Line: int(1391), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1391), - Column: int(17), - }, - End: ast.Location{ - Line: int(1391), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "la", - }, - }, - Id: "la", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1392), - Column: int(11), - }, - End: ast.Location{ - Line: int(1392), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "$std", - "b", - "j", - "prefix", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1392), - Column: int(11), - }, - End: ast.Location{ - Line: int(1392), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "prefix", - }, - }, - Id: "prefix", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1392), - Column: int(20), - }, - End: ast.Location{ - Line: int(1392), - Column: int(25), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "b", - "j", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1392), - Column: int(20), - }, - End: ast.Location{ - Line: int(1392), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1392), - Column: int(22), - }, - End: ast.Location{ - Line: int(1392), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1393), - Column: int(14), - }, - End: ast.Location{ - Line: int(1399), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "$std", - "a", - "aux", - "b", - "i", - "j", - "keyF", - "lb", - "prefix", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1393), - Column: int(17), - }, - End: ast.Location{ - Line: int(1393), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "j", - "lb", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1393), - Column: int(17), - }, - End: ast.Location{ - Line: int(1393), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1393), - Column: int(22), - }, - End: ast.Location{ - Line: int(1393), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "lb", - }, - }, - Id: "lb", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(11), - }, - End: ast.Location{ - Line: int(1394), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "$std", - "a", - "i", - "prefix", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(11), - }, - End: ast.Location{ - Line: int(1394), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "prefix", - }, - }, - Id: "prefix", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(20), - }, - End: ast.Location{ - Line: int(1394), - Column: int(25), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "a", - "i", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(20), - }, - End: ast.Location{ - Line: int(1394), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(22), - }, - End: ast.Location{ - Line: int(1394), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(11), - }, - End: ast.Location{ - Line: int(1399), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - "j", - "keyF", - "prefix", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(14), - }, - End: ast.Location{ - Line: int(1396), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(14), - }, - End: ast.Location{ - Line: int(1396), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(14), - }, - End: ast.Location{ - Line: int(1396), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(19), - }, - End: ast.Location{ - Line: int(1396), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14865, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(19), - }, - End: ast.Location{ - Line: int(1396), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14865, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(21), - }, - End: ast.Location{ - Line: int(1396), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14865, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(28), - }, - End: ast.Location{ - Line: int(1396), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(28), - }, - End: ast.Location{ - Line: int(1396), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(33), - }, - End: ast.Location{ - Line: int(1396), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14877, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(33), - }, - End: ast.Location{ - Line: int(1396), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14877, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(35), - }, - End: ast.Location{ - Line: int(1396), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14877, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(13), - }, - End: ast.Location{ - Line: int(1397), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "a", - "aux", - "i", - "j", - "prefix", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(13), - }, - End: ast.Location{ - Line: int(1397), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(17), - }, - End: ast.Location{ - Line: int(1397), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14890, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(17), - }, - End: ast.Location{ - Line: int(1397), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14890, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(21), - }, - End: ast.Location{ - Line: int(1397), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14890, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(24), - }, - End: ast.Location{ - Line: int(1397), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14890, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(27), - }, - End: ast.Location{ - Line: int(1397), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14890, - FreeVars: ast.Identifiers{ - "a", - "i", - "prefix", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(27), - }, - End: ast.Location{ - Line: int(1397), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14890, - FreeVars: ast.Identifiers{ - "prefix", - }, - }, - Id: "prefix", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(36), - }, - End: ast.Location{ - Line: int(1397), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14890, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(37), - }, - End: ast.Location{ - Line: int(1397), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14905, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(37), - }, - End: ast.Location{ - Line: int(1397), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14905, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(39), - }, - End: ast.Location{ - Line: int(1397), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14905, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(13), - }, - End: ast.Location{ - Line: int(1399), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "aux", - "b", - "i", - "j", - "prefix", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(13), - }, - End: ast.Location{ - Line: int(1399), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p14798, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(17), - }, - End: ast.Location{ - Line: int(1399), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(20), - }, - End: ast.Location{ - Line: int(1399), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(20), - }, - End: ast.Location{ - Line: int(1399), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(24), - }, - End: ast.Location{ - Line: int(1399), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(27), - }, - End: ast.Location{ - Line: int(1399), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{ - "b", - "j", - "prefix", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(27), - }, - End: ast.Location{ - Line: int(1399), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{ - "prefix", - }, - }, - Id: "prefix", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(36), - }, - End: ast.Location{ - Line: int(1399), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(37), - }, - End: ast.Location{ - Line: int(1399), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14934, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(37), - }, - End: ast.Location{ - Line: int(1399), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14934, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1399), - Column: int(39), - }, - End: ast.Location{ - Line: int(1399), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14934, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + End: ast.Location{ + Line: int(1411), + Column: int(43), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1402), + Column: int(17), + }, + End: ast.Location{ + Line: int(1402), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1402), + Column: int(20), + }, + End: ast.Location{ + Line: int(1402), + Column: int(21), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "prefix", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1402), + Column: int(23), + }, + End: ast.Location{ + Line: int(1402), + Column: int(29), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p15161, + FreeVars: ast.Identifiers{ + "$std", + "a", + "aux", + "b", + "keyF", + "la", + "lb", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1402), + Column: int(13), + }, + End: ast.Location{ + Line: int(1411), + Column: int(43), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -189689,147 +192424,272 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1400), - Column: int(7), - }, - End: ast.Location{ - Line: int(1400), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14761, - FreeVars: ast.Identifiers{ - "aux", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1400), - Column: int(7), - }, - End: ast.Location{ - Line: int(1400), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p14761, + Ctx: p15166, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1412), + Column: int(7), + }, + End: ast.Location{ + Line: int(1412), + Column: int(10), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15170, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1400), + Line: int(1412), Column: int(11), }, End: ast.Location{ - Line: int(1400), + Line: int(1412), Column: int(12), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14947, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15170, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1400), + Line: int(1412), Column: int(14), }, End: ast.Location{ - Line: int(1400), + Line: int(1412), Column: int(15), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14947, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15170, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1400), + Line: int(1412), Column: int(17), }, End: ast.Location{ - Line: int(1400), + Line: int(1412), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p14947, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15166, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1412), + Column: int(7), + }, + End: ast.Location{ + Line: int(1412), + Column: int(20), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p15166, + FreeVars: ast.Identifiers{ + "$std", + "a", + "b", + "keyF", + "la", + "lb", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1402), + Column: int(7), + }, + End: ast.Location{ + Line: int(1412), + Column: int(20), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p15166, + FreeVars: ast.Identifiers{ + "$std", + "a", + "b", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1401), + Column: int(7), + }, + End: ast.Location{ + Line: int(1412), + Column: int(20), + }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1400), + Column: int(17), + }, + End: ast.Location{ + Line: int(1400), + Column: int(18), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1400), + Column: int(20), + }, + End: ast.Location{ + Line: int(1400), + Column: int(21), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p15179, + FreeVars: ast.Identifiers{ + "$std", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1400), + Column: int(11), + }, + End: ast.Location{ + Line: int(1412), + Column: int(20), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "merge", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -189839,114 +192699,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(5), - }, - End: ast.Location{ - Line: int(1408), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "merge", - "quickSort", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "l", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(15), - }, - End: ast.Location{ - Line: int(1402), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14955, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(15), - }, - End: ast.Location{ - Line: int(1402), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14955, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(15), - }, - End: ast.Location{ - Line: int(1402), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(15), + }, + End: ast.Location{ + Line: int(1414), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -189956,193 +192749,163 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15188, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(15), + }, + End: ast.Location{ + Line: int(1414), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(26), - }, - End: ast.Location{ - Line: int(1402), - Column: int(29), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14964, + Ctx: p15192, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(26), + }, + End: ast.Location{ + Line: int(1414), + Column: int(29), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15188, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(15), + }, + End: ast.Location{ + Line: int(1414), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "l", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1402), + Line: int(1414), Column: int(11), }, End: ast.Location{ - Line: int(1402), + Line: int(1414), Column: int(30), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(5), - }, - End: ast.Location{ - Line: int(1408), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "l", - "merge", - "quickSort", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(8), + Right: &ast.LiteralNumber{ + OriginalString: "30", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15198, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(27), + }, + End: ast.Location{ + Line: int(1415), + Column: int(29), + }, }, - End: ast.Location{ - Line: int(1403), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(8), - }, - End: ast.Location{ - Line: int(1403), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(8), - }, - End: ast.Location{ - Line: int(1403), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(8), - }, - End: ast.Location{ - Line: int(1403), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(8), + }, + End: ast.Location{ + Line: int(1415), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -190152,156 +192915,167 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(8), + }, + End: ast.Location{ + Line: int(1415), + Column: int(18), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(19), - }, - End: ast.Location{ - Line: int(1403), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14980, + Ctx: p15207, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(19), + }, + End: ast.Location{ + Line: int(1415), + Column: int(22), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(8), + }, + End: ast.Location{ + Line: int(1415), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(27), - }, - End: ast.Location{ - Line: int(1403), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14533, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "30", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(7), - }, - End: ast.Location{ - Line: int(1404), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14533, + Ctx: p15198, FreeVars: ast.Identifiers{ "arr", - "keyF", - "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(8), + }, + End: ast.Location{ + Line: int(1415), + Column: int(29), + }, }, }, + Op: ast.BinaryOp(10), + }, + BranchTrue: &ast.Apply{ Target: &ast.Var{ + Id: "quickSort", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(7), - }, - End: ast.Location{ - Line: int(1404), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p14533, + Ctx: p15198, FreeVars: ast.Identifiers{ "quickSort", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1416), + Column: int(7), + }, + End: ast.Location{ + Line: int(1416), + Column: int(16), + }, + }, }, - Id: "quickSort", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(17), - }, - End: ast.Location{ - Line: int(1404), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14990, + Ctx: p15217, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1416), + Column: int(17), + }, + End: ast.Location{ + Line: int(1416), + Column: int(20), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, @@ -190312,148 +193086,95 @@ var _StdAst = &ast.DesugaredObject{ Name: "keyF", EqFodder: ast.Fodder{}, Arg: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(27), - }, - End: ast.Location{ - Line: int(1404), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p14990, + Ctx: p15217, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1416), + Column: int(27), + }, + End: ast.Location{ + Line: int(1416), + Column: int(31), + }, + }, }, - Id: "keyF", }, CommaFodder: ast.Fodder{}, }, }, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "quickSort", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1406), + Line: int(1416), Column: int(7), }, End: ast.Location{ - Line: int(1408), - Column: int(67), + Line: int(1416), + Column: int(32), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "l", - "merge", - "std", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "mid", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(19), - }, - End: ast.Location{ - Line: int(1406), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15001, - FreeVars: ast.Identifiers{ - "l", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(19), - }, - End: ast.Location{ - Line: int(1406), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15001, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(19), - }, - End: ast.Location{ - Line: int(1406), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(19), + }, + End: ast.Location{ + Line: int(1418), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "floor", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -190463,138 +193184,975 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "floor", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15230, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(19), + }, + End: ast.Location{ + Line: int(1418), + Column: int(28), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(29), - }, - End: ast.Location{ - Line: int(1406), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15010, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(29), - }, - End: ast.Location{ - Line: int(1406), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15010, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Id: "l", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(1), Right: &ast.LiteralNumber{ + OriginalString: "2", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15235, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1406), + Line: int(1418), Column: int(33), }, End: ast.Location{ - Line: int(1406), + Line: int(1418), Column: int(34), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15010, - FreeVars: ast.Identifiers{}, }, - OriginalString: "2", }, + Left: &ast.Var{ + Id: "l", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15235, + FreeVars: ast.Identifiers{ + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(29), + }, + End: ast.Location{ + Line: int(1418), + Column: int(30), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15235, + FreeVars: ast.Identifiers{ + "l", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(29), + }, + End: ast.Location{ + Line: int(1418), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(1), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15230, + FreeVars: ast.Identifiers{ + "l", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(19), + }, + End: ast.Location{ + Line: int(1418), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "mid", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1406), + Line: int(1418), Column: int(13), }, End: ast.Location{ - Line: int(1406), + Line: int(1418), Column: int(35), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(7), + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15250, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(20), + }, + End: ast.Location{ + Line: int(1419), + Column: int(23), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "mid", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15250, + FreeVars: ast.Identifiers{ + "mid", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(25), + }, + End: ast.Location{ + Line: int(1419), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "mid", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(20), + }, + End: ast.Location{ + Line: int(1419), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - End: ast.Location{ - Line: int(1408), - Column: int(67), + EqFodder: ast.Fodder{}, + Variable: "left", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(13), + }, + End: ast.Location{ + Line: int(1419), + Column: int(29), + }, }, - File: p1, }, + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15265, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(39), + }, + End: ast.Location{ + Line: int(1419), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "mid", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15265, + FreeVars: ast.Identifiers{ + "mid", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(43), + }, + End: ast.Location{ + Line: int(1419), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "mid", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(39), + }, + End: ast.Location{ + Line: int(1419), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "right", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(31), + }, + End: ast.Location{ + Line: int(1419), + Column: int(48), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "merge", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "merge", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(7), + }, + End: ast.Location{ + Line: int(1420), + Column: int(12), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(13), + }, + End: ast.Location{ + Line: int(1420), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "sort", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15282, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(13), + }, + End: ast.Location{ + Line: int(1420), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "left", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15286, + FreeVars: ast.Identifiers{ + "left", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(22), + }, + End: ast.Location{ + Line: int(1420), + Column: int(26), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + }, + Named: []ast.NamedArgument{ + ast.NamedArgument{ + NameFodder: ast.Fodder{}, + Name: "keyF", + EqFodder: ast.Fodder{}, + Arg: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15286, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(33), + }, + End: ast.Location{ + Line: int(1420), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + }, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15282, + FreeVars: ast.Identifiers{ + "keyF", + "left", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(13), + }, + End: ast.Location{ + Line: int(1420), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(40), + }, + End: ast.Location{ + Line: int(1420), + Column: int(43), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "sort", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15282, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(40), + }, + End: ast.Location{ + Line: int(1420), + Column: int(48), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "right", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15300, + FreeVars: ast.Identifiers{ + "right", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(49), + }, + End: ast.Location{ + Line: int(1420), + Column: int(54), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + }, + Named: []ast.NamedArgument{ + ast.NamedArgument{ + NameFodder: ast.Fodder{}, + Name: "keyF", + EqFodder: ast.Fodder{}, + Arg: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15300, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(61), + }, + End: ast.Location{ + Line: int(1420), + Column: int(65), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + }, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15282, + FreeVars: ast.Identifiers{ + "keyF", + "right", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(40), + }, + End: ast.Location{ + Line: int(1420), + Column: int(66), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "keyF", + "left", + "merge", + "right", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(7), + }, + End: ast.Location{ + Line: int(1420), + Column: int(67), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p14533, + Ctx: p15198, FreeVars: ast.Identifiers{ "$std", "arr", @@ -190603,1168 +194161,377 @@ var _StdAst = &ast.DesugaredObject{ "mid", "std", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "left", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(20), - }, - End: ast.Location{ - Line: int(1407), - Column: int(29), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "mid", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(20), - }, - End: ast.Location{ - Line: int(1407), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15028, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(25), - }, - End: ast.Location{ - Line: int(1407), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15028, - FreeVars: ast.Identifiers{ - "mid", - }, - }, - Id: "mid", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(7), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(13), - }, - End: ast.Location{ - Line: int(1407), - Column: int(29), - }, - File: p1, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "right", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(39), - }, - End: ast.Location{ - Line: int(1407), - Column: int(48), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "mid", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(39), - }, - End: ast.Location{ - Line: int(1407), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15043, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(43), - }, - End: ast.Location{ - Line: int(1407), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15043, - FreeVars: ast.Identifiers{ - "mid", - }, - }, - Id: "mid", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1407), - Column: int(31), - }, - End: ast.Location{ - Line: int(1407), - Column: int(48), - }, - File: p1, + End: ast.Location{ + Line: int(1420), + Column: int(67), }, }, }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(7), - }, - End: ast.Location{ - Line: int(1408), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "merge", - "right", - "std", - }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(7), - }, - End: ast.Location{ - Line: int(1408), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p14533, - FreeVars: ast.Identifiers{ - "merge", - }, - }, - Id: "merge", + }, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "keyF", + "l", + "merge", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(7), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(13), - }, - End: ast.Location{ - Line: int(1408), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15056, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(13), - }, - End: ast.Location{ - Line: int(1408), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15056, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(13), - }, - End: ast.Location{ - Line: int(1408), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "sort", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(22), - }, - End: ast.Location{ - Line: int(1408), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15065, - FreeVars: ast.Identifiers{ - "left", - }, - }, - Id: "left", - }, - CommaFodder: ast.Fodder{}, - }, - }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - Arg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(33), - }, - End: ast.Location{ - Line: int(1408), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15065, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - CommaFodder: ast.Fodder{}, - }, - }, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(40), - }, - End: ast.Location{ - Line: int(1408), - Column: int(66), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15056, - FreeVars: ast.Identifiers{ - "keyF", - "right", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(40), - }, - End: ast.Location{ - Line: int(1408), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15056, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(40), - }, - End: ast.Location{ - Line: int(1408), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "sort", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(49), - }, - End: ast.Location{ - Line: int(1408), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15079, - FreeVars: ast.Identifiers{ - "right", - }, - }, - Id: "right", - }, - CommaFodder: ast.Fodder{}, - }, - }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - Arg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(61), - }, - End: ast.Location{ - Line: int(1408), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15079, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - CommaFodder: ast.Fodder{}, - }, - }, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, + End: ast.Location{ + Line: int(1420), + Column: int(67), }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "keyF", + "l", + "merge", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(5), + }, + End: ast.Location{ + Line: int(1420), + Column: int(67), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "keyF", + "merge", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(5), + }, + End: ast.Location{ + Line: int(1420), + Column: int(67), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + }, + }, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "keyF", + "quickSort", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1400), + Column: int(5), + }, + End: ast.Location{ + Line: int(1420), + Column: int(67), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p15198, + FreeVars: ast.Identifiers{ + "$std", + "arr", + "id", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1388), + Column: int(5), + }, + End: ast.Location{ + Line: int(1420), + Column: int(67), + }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(3), - }, - End: ast.Location{ - Line: int(1408), - Column: int(67), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "uniq", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1410), + Line: int(1387), Column: int(8), }, End: ast.Location{ - Line: int(1410), + Line: int(1387), Column: int(11), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "keyF", + CommaFodder: nil, EqFodder: ast.Fodder{}, DefaultArg: &ast.Var{ + Id: "id", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1410), - Column: int(18), - }, - End: ast.Location{ - Line: int(1410), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15089, + Ctx: p15198, FreeVars: ast.Identifiers{ "id", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(18), + }, + End: ast.Location{ + Line: int(1387), + Column: int(20), + }, + }, }, - Id: "id", }, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1410), + Line: int(1387), Column: int(13), }, End: ast.Location{ - Line: int(1410), + Line: int(1387), Column: int(20), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "id", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(5), - }, - End: ast.Location{ - Line: int(1418), - Column: int(26), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(3), + }, + End: ast.Location{ + Line: int(1420), + Column: int(67), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "uniq", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p15089, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "f", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(11), - }, - End: ast.Location{ - Line: int(1417), - Column: int(16), - }, - File: p1, - }, - Fodder: nil, - Ctx: p15096, - FreeVars: ast.Identifiers{ - "keyF", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(13), - }, - End: ast.Location{ - Line: int(1411), - Column: int(14), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(16), - }, - End: ast.Location{ - Line: int(1411), - Column: int(17), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(7), - }, - End: ast.Location{ - Line: int(1417), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(10), + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1424), + Column: int(27), + }, + End: ast.Location{ + Line: int(1424), + Column: int(28), + }, }, - End: ast.Location{ - Line: int(1412), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(10), - }, - End: ast.Location{ - Line: int(1412), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(10), - }, - End: ast.Location{ - Line: int(1412), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(10), - }, - End: ast.Location{ - Line: int(1412), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1424), + Column: int(10), + }, + End: ast.Location{ + Line: int(1424), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -191774,371 +194541,355 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1424), + Column: int(10), + }, + End: ast.Location{ + Line: int(1424), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(21), - }, - End: ast.Location{ - Line: int(1412), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15114, + Ctx: p15341, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1424), + Column: int(21), + }, + End: ast.Location{ + Line: int(1424), + Column: int(22), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1412), - Column: int(27), + Line: int(1424), + Column: int(10), }, End: ast.Location{ - Line: int(1412), - Column: int(28), + Line: int(1424), + Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Array{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1413), - Column: int(9), + Line: int(1424), + Column: int(10), }, End: ast.Location{ - Line: int(1413), - Column: int(12), + Line: int(1424), + Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "b", }, }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Array{ Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1413), - Column: int(10), - }, - End: ast.Location{ - Line: int(1413), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15122, + Ctx: p15348, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1425), + Column: int(10), + }, + End: ast.Location{ + Line: int(1425), + Column: int(11), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1414), - Column: int(12), + Line: int(1425), + Column: int(9), }, End: ast.Location{ - Line: int(1417), - Column: int(16), + Line: int(1425), + Column: int(12), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", }, }, + TrailingComma: false, + }, + BranchFalse: &ast.Conditional{ Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(15), - }, - End: ast.Location{ - Line: int(1414), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(15), - }, - End: ast.Location{ - Line: int(1414), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", - "keyF", - "std", - }, - }, + Right: &ast.Apply{ Target: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(15), - }, - End: ast.Location{ - Line: int(1414), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15101, + Ctx: p15332, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(45), + }, + End: ast.Location{ + Line: int(1426), + Column: int(49), + }, + }, }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15359, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(50), + }, + End: ast.Location{ + Line: int(1426), + Column: int(51), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "b", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(45), + }, + End: ast.Location{ + Line: int(1426), + Column: int(52), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Var{ Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(15), + }, + End: ast.Location{ + Line: int(1426), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(20), - }, - End: ast.Location{ - Line: int(1414), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15135, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15368, + FreeVars: ast.Identifiers{ + "a", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1414), + Line: int(1426), Column: int(20), }, End: ast.Location{ - Line: int(1414), + Line: int(1426), Column: int(21), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15135, - FreeVars: ast.Identifiers{ - "a", }, }, - Id: "a", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(22), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15368, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(38), + }, + End: ast.Location{ + Line: int(1426), + Column: int(39), + }, }, - End: ast.Location{ - Line: int(1414), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15135, - FreeVars: ast.Identifiers{ - "a", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(22), - }, - End: ast.Location{ - Line: int(1414), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15135, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(22), - }, - End: ast.Location{ - Line: int(1414), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15135, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(22), - }, - End: ast.Location{ - Line: int(1414), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(22), + }, + End: ast.Location{ + Line: int(1426), + Column: int(25), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -192148,321 +194899,463 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15368, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(22), + }, + End: ast.Location{ + Line: int(1426), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(33), - }, - End: ast.Location{ - Line: int(1414), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15150, + Ctx: p15380, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(33), + }, + End: ast.Location{ + Line: int(1426), + Column: int(34), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15368, + FreeVars: ast.Identifiers{ + "a", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1414), - Column: int(38), + Line: int(1426), + Column: int(22), }, End: ast.Location{ - Line: int(1414), - Column: int(39), + Line: int(1426), + Column: int(35), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15135, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15368, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(22), + }, + End: ast.Location{ + Line: int(1426), + Column: int(39), + }, + }, + }, + Op: ast.BinaryOp(4), }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(45), - }, - End: ast.Location{ - Line: int(1414), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "b", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(45), - }, - End: ast.Location{ - Line: int(1414), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15368, + FreeVars: ast.Identifiers{ + "a", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1414), - Column: int(50), + Line: int(1426), + Column: int(20), }, End: ast.Location{ - Line: int(1414), - Column: int(51), + Line: int(1426), + Column: int(40), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15159, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(15), + }, + End: ast.Location{ + Line: int(1426), + Column: int(41), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(9), - }, - End: ast.Location{ - Line: int(1415), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1417), - Column: int(9), - }, - End: ast.Location{ - Line: int(1417), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15101, + Ctx: p15332, FreeVars: ast.Identifiers{ "a", "b", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(15), + }, + End: ast.Location{ + Line: int(1426), + Column: int(52), + }, }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1417), - Column: int(9), - }, - End: ast.Location{ - Line: int(1417), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "a", + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1427), + Column: int(9), + }, + End: ast.Location{ + Line: int(1427), + Column: int(10), }, }, - Id: "a", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Binary{ Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1417), - Column: int(13), - }, - End: ast.Location{ - Line: int(1417), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15101, - FreeVars: ast.Identifiers{ - "b", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1417), - Column: int(14), - }, - End: ast.Location{ - Line: int(1417), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15174, + Ctx: p15394, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1429), + Column: int(14), + }, + End: ast.Location{ + Line: int(1429), + Column: int(15), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1429), + Column: int(13), + }, + End: ast.Location{ + Line: int(1429), + Column: int(16), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1429), + Column: int(9), + }, + End: ast.Location{ + Line: int(1429), + Column: int(10), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1429), + Column: int(9), + }, + End: ast.Location{ + Line: int(1429), + Column: int(16), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + "b", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1426), + Column: int(12), + }, + End: ast.Location{ + Line: int(1429), + Column: int(16), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p15332, + FreeVars: ast.Identifiers{ + "a", + "b", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1424), + Column: int(7), + }, + End: ast.Location{ + Line: int(1429), + Column: int(16), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1423), + Column: int(13), + }, + End: ast.Location{ + Line: int(1423), + Column: int(14), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1423), + Column: int(16), + }, + End: ast.Location{ + Line: int(1423), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p15407, + FreeVars: ast.Identifiers{ + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1423), + Column: int(11), + }, + End: ast.Location{ + Line: int(1429), + Column: int(16), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "f", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -192472,85 +195365,50 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(5), - }, - End: ast.Location{ - Line: int(1418), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15089, - FreeVars: ast.Identifiers{ - "arr", - "f", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(5), - }, - End: ast.Location{ - Line: int(1418), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15089, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(5), - }, - End: ast.Location{ - Line: int(1418), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1430), + Column: int(5), + }, + End: ast.Location{ + Line: int(1430), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "foldl", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -192560,307 +195418,335 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "foldl", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15415, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1430), + Column: int(5), + }, + End: ast.Location{ + Line: int(1430), + Column: int(14), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "f", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(15), - }, - End: ast.Location{ - Line: int(1418), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15186, + Ctx: p15419, FreeVars: ast.Identifiers{ "f", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1430), + Column: int(15), + }, + End: ast.Location{ + Line: int(1430), + Column: int(16), + }, + }, }, - Id: "f", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(18), - }, - End: ast.Location{ - Line: int(1418), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15186, + Ctx: p15419, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1430), + Column: int(18), + }, + End: ast.Location{ + Line: int(1430), + Column: int(21), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15419, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1418), + Line: int(1430), Column: int(23), }, End: ast.Location{ - Line: int(1418), + Line: int(1430), Column: int(25), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15186, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1410), - Column: int(3), - }, - End: ast.Location{ - Line: int(1418), - Column: int(26), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "set", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(7), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15415, + FreeVars: ast.Identifiers{ + "arr", + "f", + "std", }, - End: ast.Location{ - Line: int(1420), - Column: int(10), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(17), - }, - End: ast.Location{ - Line: int(1420), - Column: int(19), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1430), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p15196, - FreeVars: ast.Identifiers{ - "id", + End: ast.Location{ + Line: int(1430), + Column: int(26), }, }, - Id: "id", - }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(12), - }, - End: ast.Location{ - Line: int(1420), - Column: int(19), - }, - File: p1, }, + TrailingComma: false, + TailStrict: false, }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(5), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - End: ast.Location{ - Line: int(1421), - Column: int(40), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15196, + Ctx: p15415, FreeVars: ast.Identifiers{ "arr", "keyF", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(5), - }, - End: ast.Location{ - Line: int(1421), - Column: int(13), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1423), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p15196, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1430), + Column: int(26), }, }, - Target: &ast.Var{ + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1422), + Column: int(8), + }, + End: ast.Location{ + Line: int(1422), + Column: int(11), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "keyF", + CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.Var{ + Id: "id", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15415, + FreeVars: ast.Identifiers{ + "id", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1421), - Column: int(5), + Line: int(1422), + Column: int(18), }, End: ast.Location{ - Line: int(1421), - Column: int(8), + Line: int(1422), + Column: int(20), }, - File: p1, }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1422), + Column: int(13), + }, + End: ast.Location{ + Line: int(1422), + Column: int(20), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "id", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1422), + Column: int(3), + }, + End: ast.Location{ + Line: int(1430), + Column: int(26), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "set", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(5), + }, + End: ast.Location{ + Line: int(1433), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "uniq", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -192870,92 +195756,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "uniq", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15439, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(5), + }, + End: ast.Location{ + Line: int(1433), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(14), - }, - End: ast.Location{ - Line: int(1421), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15208, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(14), - }, - End: ast.Location{ - Line: int(1421), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15208, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(14), - }, - End: ast.Location{ - Line: int(1421), - Column: int(17), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(14), + }, + End: ast.Location{ + Line: int(1433), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "sort", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -192965,367 +195830,366 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "sort", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15447, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(14), + }, + End: ast.Location{ + Line: int(1433), + Column: int(22), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(23), - }, - End: ast.Location{ - Line: int(1421), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15217, + Ctx: p15451, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(23), + }, + End: ast.Location{ + Line: int(1433), + Column: int(26), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(28), - }, - End: ast.Location{ - Line: int(1421), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15217, + Ctx: p15451, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(28), + }, + End: ast.Location{ + Line: int(1433), + Column: int(32), + }, + }, }, - Id: "keyF", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15447, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(14), + }, + End: ast.Location{ + Line: int(1433), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1421), - Column: int(35), - }, - End: ast.Location{ - Line: int(1421), - Column: int(39), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15208, + Ctx: p15447, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(35), + }, + End: ast.Location{ + Line: int(1433), + Column: int(39), + }, + }, }, - Id: "keyF", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(3), - }, - End: ast.Location{ - Line: int(1421), - Column: int(40), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15439, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "std", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1433), + Column: int(5), + }, + End: ast.Location{ + Line: int(1433), + Column: int(40), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + TrailingComma: false, + TailStrict: false, }, - Value: "setMember", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1423), - Column: int(13), - }, - End: ast.Location{ - Line: int(1423), - Column: int(14), - }, - File: p1, - }, - }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1423), - Column: int(16), + Line: int(1432), + Column: int(7), }, End: ast.Location{ - Line: int(1423), - Column: int(19), + Line: int(1432), + Column: int(10), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "keyF", + CommaFodder: nil, EqFodder: ast.Fodder{}, DefaultArg: &ast.Var{ + Id: "id", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1423), - Column: int(26), - }, - End: ast.Location{ - Line: int(1423), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15228, + Ctx: p15439, FreeVars: ast.Identifiers{ "id", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1432), + Column: int(17), + }, + End: ast.Location{ + Line: int(1432), + Column: int(19), + }, + }, }, - Id: "id", }, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1423), - Column: int(21), + Line: int(1432), + Column: int(12), }, End: ast.Location{ - Line: int(1423), - Column: int(28), + Line: int(1432), + Column: int(19), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "id", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1432), + Column: int(3), + }, + End: ast.Location{ + Line: int(1433), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "setMember", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(5), + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15467, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(48), + }, + End: ast.Location{ + Line: int(1437), + Column: int(49), + }, }, - End: ast.Location{ - Line: int(1425), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15228, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(5), - }, - End: ast.Location{ - Line: int(1425), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15228, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(5), - }, - End: ast.Location{ - Line: int(1425), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15228, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(5), - }, - End: ast.Location{ - Line: int(1425), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), Comment: []string{ "// TODO(dcunnin): Binary chop for O(log n) complexity", }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(5), + }, + End: ast.Location{ + Line: int(1437), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -193335,93 +196199,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15467, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(5), + }, + End: ast.Location{ + Line: int(1437), + Column: int(15), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(16), - }, - End: ast.Location{ - Line: int(1425), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15243, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(16), - }, - End: ast.Location{ - Line: int(1425), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15243, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(16), - }, - End: ast.Location{ - Line: int(1425), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(16), + }, + End: ast.Location{ + Line: int(1437), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "setInter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -193431,627 +196273,413 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "setInter", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15482, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(16), + }, + End: ast.Location{ + Line: int(1437), + Column: int(28), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(29), - }, - End: ast.Location{ - Line: int(1425), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15252, - FreeVars: ast.Identifiers{ - "x", - }, - }, Elements: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "x", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(30), - }, - End: ast.Location{ - Line: int(1425), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15256, + Ctx: p15488, FreeVars: ast.Identifiers{ "x", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(30), + }, + End: ast.Location{ + Line: int(1437), + Column: int(31), + }, + }, }, - Id: "x", }, CommaFodder: nil, }, }, - TrailingComma: false, CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15490, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(29), + }, + End: ast.Location{ + Line: int(1437), + Column: int(32), + }, + }, + }, + TrailingComma: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(34), - }, - End: ast.Location{ - Line: int(1425), - Column: int(37), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15252, + Ctx: p15490, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(34), + }, + End: ast.Location{ + Line: int(1437), + Column: int(37), + }, + }, }, - Id: "arr", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(39), - }, - End: ast.Location{ - Line: int(1425), - Column: int(43), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15252, + Ctx: p15490, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(39), + }, + End: ast.Location{ + Line: int(1437), + Column: int(43), + }, + }, }, - Id: "keyF", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15482, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(16), + }, + End: ast.Location{ + Line: int(1437), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15467, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "std", + "x", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1425), - Column: int(48), + Line: int(1437), + Column: int(5), }, End: ast.Location{ - Line: int(1425), - Column: int(49), + Line: int(1437), + Column: int(45), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15228, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1423), - Column: int(3), - }, - End: ast.Location{ - Line: int(1425), - Column: int(49), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15467, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "std", + "x", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1437), + Column: int(5), + }, + End: ast.Location{ + Line: int(1437), + Column: int(49), + }, }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, + Op: ast.BinaryOp(7), }, - Value: "setUnion", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "id", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "a", + Name: "x", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1427), - Column: int(12), - }, - End: ast.Location{ - Line: int(1427), + Line: int(1435), Column: int(13), }, - File: p1, + End: ast.Location{ + Line: int(1435), + Column: int(14), + }, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "b", + Name: "arr", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1427), - Column: int(15), - }, - End: ast.Location{ - Line: int(1427), + Line: int(1435), Column: int(16), }, - File: p1, + End: ast.Location{ + Line: int(1435), + Column: int(19), + }, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "keyF", + CommaFodder: nil, EqFodder: ast.Fodder{}, DefaultArg: &ast.Var{ + Id: "id", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1427), - Column: int(23), - }, - End: ast.Location{ - Line: int(1427), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15268, + Ctx: p15467, FreeVars: ast.Identifiers{ "id", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1435), + Column: int(26), + }, + End: ast.Location{ + Line: int(1435), + Column: int(28), + }, + }, }, - Id: "id", }, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1427), - Column: int(18), + Line: int(1435), + Column: int(21), }, End: ast.Location{ - Line: int(1427), - Column: int(25), + Line: int(1435), + Column: int(28), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "id", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(5), - }, - End: ast.Location{ - Line: int(1443), - Column: int(24), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1435), + Column: int(3), + }, + End: ast.Location{ + Line: int(1437), + Column: int(49), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "setUnion", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// NOTE: order matters, values in `a` win", - }, - }, - }, - Ctx: p15268, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(11), - }, - End: ast.Location{ - Line: int(1442), - Column: int(44), - }, - File: p1, - }, - Fodder: nil, - Ctx: p15276, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "keyF", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(15), - }, - End: ast.Location{ - Line: int(1429), - Column: int(16), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(18), - }, - End: ast.Location{ - Line: int(1429), - Column: int(19), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(21), - }, - End: ast.Location{ - Line: int(1429), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(24), - }, - End: ast.Location{ - Line: int(1429), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(27), - }, - End: ast.Location{ - Line: int(1429), - Column: int(30), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(7), - }, - End: ast.Location{ - Line: int(1442), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(10), - }, - End: ast.Location{ - Line: int(1430), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(10), - }, - End: ast.Location{ - Line: int(1430), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(15), - }, - End: ast.Location{ - Line: int(1430), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(15), - }, - End: ast.Location{ - Line: int(1430), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(15), - }, - End: ast.Location{ - Line: int(1430), - Column: int(18), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1442), + Column: int(15), + }, + End: ast.Location{ + Line: int(1442), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -194061,126 +196689,309 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1442), + Column: int(15), + }, + End: ast.Location{ + Line: int(1442), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(26), - }, - End: ast.Location{ - Line: int(1430), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15296, + Ctx: p15519, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1442), + Column: int(26), + }, + End: ast.Location{ + Line: int(1442), + Column: int(27), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1431), - Column: int(9), - }, - End: ast.Location{ - Line: int(1431), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "b", - "j", - }, - }, - Left: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1431), - Column: int(9), - }, - End: ast.Location{ - Line: int(1431), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15281, + Fodder: ast.Fodder{}, + Ctx: p15515, FreeVars: ast.Identifiers{ - "acc", + "a", + "std", }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1431), + Line: int(1442), Column: int(15), }, End: ast.Location{ - Line: int(1431), - Column: int(20), + Line: int(1442), + Column: int(28), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1442), + Column: int(10), + }, + End: ast.Location{ + Line: int(1442), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "a", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1442), + Column: int(10), + }, + End: ast.Location{ + Line: int(1442), + Column: int(28), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1443), + Column: int(15), + }, + End: ast.Location{ + Line: int(1443), + Column: int(16), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1443), + Column: int(17), + }, + End: ast.Location{ + Line: int(1443), + Column: int(18), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -194188,331 +196999,112 @@ var _StdAst = &ast.DesugaredObject{ "b", "j", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1431), - Column: int(15), - }, - End: ast.Location{ - Line: int(1431), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1431), - Column: int(17), - }, - End: ast.Location{ - Line: int(1431), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(12), - }, - End: ast.Location{ - Line: int(1442), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1432), + Line: int(1443), Column: int(15), }, End: ast.Location{ - Line: int(1432), - Column: int(33), + Line: int(1443), + Column: int(20), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15281, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15515, FreeVars: ast.Identifiers{ - "b", - "j", - "std", + "acc", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(15), - }, - End: ast.Location{ - Line: int(1432), - Column: int(16), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1443), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "j", + End: ast.Location{ + Line: int(1443), + Column: int(12), }, }, - Id: "j", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "$std", + "acc", + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1443), + Column: int(9), + }, + End: ast.Location{ + Line: int(1443), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(20), - }, - End: ast.Location{ - Line: int(1432), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(20), - }, - End: ast.Location{ - Line: int(1432), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(20), - }, - End: ast.Location{ - Line: int(1432), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1444), + Column: int(20), + }, + End: ast.Location{ + Line: int(1444), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -194522,126 +197114,309 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1444), + Column: int(20), + }, + End: ast.Location{ + Line: int(1444), + Column: int(30), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(31), - }, - End: ast.Location{ - Line: int(1432), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15333, + Ctx: p15554, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1444), + Column: int(31), + }, + End: ast.Location{ + Line: int(1444), + Column: int(32), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(9), - }, - End: ast.Location{ - Line: int(1433), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "b", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1433), - Column: int(9), + Line: int(1444), + Column: int(20), }, End: ast.Location{ - Line: int(1433), - Column: int(12), + Line: int(1444), + Column: int(33), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "acc", }, }, - Id: "acc", + TrailingComma: false, + TailStrict: false, }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Left: &ast.Var{ + Id: "j", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "j", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1433), + Line: int(1444), Column: int(15), }, End: ast.Location{ - Line: int(1433), - Column: int(20), + Line: int(1444), + Column: int(16), }, - File: p1, }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "b", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1444), + Column: int(15), + }, + End: ast.Location{ + Line: int(1444), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1445), + Column: int(15), + }, + End: ast.Location{ + Line: int(1445), + Column: int(16), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1445), + Column: int(17), + }, + End: ast.Location{ + Line: int(1445), + Column: int(18), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -194649,576 +197424,1678 @@ var _StdAst = &ast.DesugaredObject{ "a", "i", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1445), + Column: int(15), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1445), + Column: int(20), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(15), - }, - End: ast.Location{ - Line: int(1433), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(17), - }, - End: ast.Location{ - Line: int(1433), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1445), + Column: int(9), + }, + End: ast.Location{ + Line: int(1445), + Column: int(12), + }, + }, + }, }, - }, - BranchFalse: &ast.Local{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "$std", + "a", + "acc", + "i", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1435), + Line: int(1445), Column: int(9), }, End: ast.Location{ - Line: int(1442), - Column: int(44), + Line: int(1445), + Column: int(20), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", }, }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "ak", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(20), - }, - End: ast.Location{ - Line: int(1435), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15360, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, Target: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(20), - }, - End: ast.Location{ - Line: int(1435), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15360, + Ctx: p15583, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1447), + Column: int(20), + }, + End: ast.Location{ + Line: int(1447), + Column: int(24), + }, + }, }, - Id: "keyF", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(25), + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15588, + FreeVars: ast.Identifiers{ + "a", }, - End: ast.Location{ - Line: int(1435), - Column: int(29), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1447), + Column: int(25), + }, + End: ast.Location{ + Line: int(1447), + Column: int(26), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15588, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1447), + Column: int(27), + }, + End: ast.Location{ + Line: int(1447), + Column: int(28), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p15366, + Ctx: p15588, FreeVars: ast.Identifiers{ "a", "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(25), - }, - End: ast.Location{ - Line: int(1435), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1447), + Column: int(25), }, - Fodder: ast.Fodder{}, - Ctx: p15366, - FreeVars: ast.Identifiers{ - "a", + End: ast.Location{ + Line: int(1447), + Column: int(29), }, }, - Id: "a", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(27), - }, - End: ast.Location{ - Line: int(1435), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15366, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15583, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1447), + Column: int(20), + }, + End: ast.Location{ + Line: int(1447), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "ak", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1435), + Line: int(1447), Column: int(15), }, End: ast.Location{ - Line: int(1435), + Line: int(1447), Column: int(30), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1436), - Column: int(9), - }, - End: ast.Location{ - Line: int(1442), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "acc", - "ak", - "aux", - "b", - "i", - "j", - "keyF", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "bk", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1436), - Column: int(20), - }, - End: ast.Location{ - Line: int(1436), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15377, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, Target: &ast.Var{ + Id: "keyF", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1436), - Column: int(20), - }, - End: ast.Location{ - Line: int(1436), - Column: int(24), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15377, + Ctx: p15598, FreeVars: ast.Identifiers{ "keyF", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1448), + Column: int(20), + }, + End: ast.Location{ + Line: int(1448), + Column: int(24), + }, + }, }, - Id: "keyF", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1436), - Column: int(25), + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15603, + FreeVars: ast.Identifiers{ + "b", }, - End: ast.Location{ - Line: int(1436), - Column: int(29), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1448), + Column: int(25), + }, + End: ast.Location{ + Line: int(1448), + Column: int(26), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15603, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1448), + Column: int(27), + }, + End: ast.Location{ + Line: int(1448), + Column: int(28), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p15383, + Ctx: p15603, FreeVars: ast.Identifiers{ "b", "j", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1436), - Column: int(25), - }, - End: ast.Location{ - Line: int(1436), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1448), + Column: int(25), }, - Fodder: ast.Fodder{}, - Ctx: p15383, - FreeVars: ast.Identifiers{ - "b", + End: ast.Location{ + Line: int(1448), + Column: int(29), }, }, - Id: "b", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1436), - Column: int(27), - }, - End: ast.Location{ - Line: int(1436), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15383, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15598, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1448), + Column: int(20), + }, + End: ast.Location{ + Line: int(1448), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "bk", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1436), + Line: int(1448), Column: int(15), }, End: ast.Location{ - Line: int(1436), + Line: int(1448), Column: int(30), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(9), + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "bk", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "bk", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1449), + Column: int(18), + }, + End: ast.Location{ + Line: int(1449), + Column: int(20), + }, + }, }, - End: ast.Location{ - Line: int(1442), - Column: int(44), - }, - File: p1, }, - Fodder: ast.Fodder{ + Left: &ast.Var{ + Id: "ak", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "ak", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1449), + Column: int(12), + }, + End: ast.Location{ + Line: int(1449), + Column: int(14), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "ak", + "bk", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1449), + Column: int(12), + }, + End: ast.Location{ + Line: int(1449), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(11), + }, + End: ast.Location{ + Line: int(1450), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(15), + }, + End: ast.Location{ + Line: int(1450), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(18), + }, + End: ast.Location{ + Line: int(1450), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(25), + }, + End: ast.Location{ + Line: int(1450), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(21), + }, + End: ast.Location{ + Line: int(1450), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(21), + }, + End: ast.Location{ + Line: int(1450), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(32), + }, + End: ast.Location{ + Line: int(1450), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(28), + }, + End: ast.Location{ + Line: int(1450), + Column: int(29), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(28), + }, + End: ast.Location{ + Line: int(1450), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15641, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(42), + }, + End: ast.Location{ + Line: int(1450), + Column: int(43), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15641, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(44), + }, + End: ast.Location{ + Line: int(1450), + Column: int(45), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15641, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(42), + }, + End: ast.Location{ + Line: int(1450), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(41), + }, + End: ast.Location{ + Line: int(1450), + Column: int(47), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(35), + }, + End: ast.Location{ + Line: int(1450), + Column: int(38), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15622, + FreeVars: ast.Identifiers{ + "a", + "acc", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(35), + }, + End: ast.Location{ + Line: int(1450), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1450), + Column: int(11), + }, + End: ast.Location{ + Line: int(1450), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "bk", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "bk", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1451), + Column: int(22), + }, + End: ast.Location{ + Line: int(1451), + Column: int(24), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "ak", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "ak", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1451), + Column: int(17), + }, + End: ast.Location{ + Line: int(1451), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "ak", + "bk", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1451), + Column: int(17), + }, + End: ast.Location{ + Line: int(1451), + Column: int(24), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(11), + }, + End: ast.Location{ + Line: int(1452), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(15), + }, + End: ast.Location{ + Line: int(1452), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(18), + }, + End: ast.Location{ + Line: int(1452), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(25), + }, + End: ast.Location{ + Line: int(1452), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(21), + }, + End: ast.Location{ + Line: int(1452), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(21), + }, + End: ast.Location{ + Line: int(1452), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(28), + }, + End: ast.Location{ + Line: int(1452), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15680, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(38), + }, + End: ast.Location{ + Line: int(1452), + Column: int(39), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15680, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(40), + }, + End: ast.Location{ + Line: int(1452), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15680, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(38), + }, + End: ast.Location{ + Line: int(1452), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(37), + }, + End: ast.Location{ + Line: int(1452), + Column: int(43), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(31), + }, + End: ast.Location{ + Line: int(1452), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15664, + FreeVars: ast.Identifiers{ + "a", + "acc", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(31), + }, + End: ast.Location{ + Line: int(1452), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1452), + Column: int(11), + }, + End: ast.Location{ + Line: int(1452), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(11), + }, + End: ast.Location{ + Line: int(1454), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(15), + }, + End: ast.Location{ + Line: int(1454), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(18), + }, + End: ast.Location{ + Line: int(1454), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(21), + }, + End: ast.Location{ + Line: int(1454), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(28), + }, + End: ast.Location{ + Line: int(1454), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(24), + }, + End: ast.Location{ + Line: int(1454), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(24), + }, + End: ast.Location{ + Line: int(1454), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15712, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(38), + }, + End: ast.Location{ + Line: int(1454), + Column: int(39), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15712, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(40), + }, + End: ast.Location{ + Line: int(1454), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15712, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(38), + }, + End: ast.Location{ + Line: int(1454), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(37), + }, + End: ast.Location{ + Line: int(1454), + Column: int(43), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(31), + }, + End: ast.Location{ + Line: int(1454), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15696, + FreeVars: ast.Identifiers{ + "acc", + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(31), + }, + End: ast.Location{ + Line: int(1454), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1454), + Column: int(11), + }, + End: ast.Location{ + Line: int(1454), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p15281, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "a", + "acc", + "ak", + "aux", + "b", + "bk", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1451), + Column: int(14), + }, + End: ast.Location{ + Line: int(1454), + Column: int(44), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15515, FreeVars: ast.Identifiers{ "a", "acc", @@ -195229,4526 +199106,99 @@ var _StdAst = &ast.DesugaredObject{ "i", "j", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(12), - }, - End: ast.Location{ - Line: int(1437), - Column: int(20), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1449), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "ak", - "bk", + End: ast.Location{ + Line: int(1454), + Column: int(44), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(12), - }, - End: ast.Location{ - Line: int(1437), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "ak", - }, - }, - Id: "ak", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(18), - }, - End: ast.Location{ - Line: int(1437), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "bk", - }, - }, - Id: "bk", - }, }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(11), - }, - End: ast.Location{ - Line: int(1438), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(11), - }, - End: ast.Location{ - Line: int(1438), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(15), - }, - End: ast.Location{ - Line: int(1438), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(18), - }, - End: ast.Location{ - Line: int(1438), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(21), - }, - End: ast.Location{ - Line: int(1438), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(21), - }, - End: ast.Location{ - Line: int(1438), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(25), - }, - End: ast.Location{ - Line: int(1438), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(28), - }, - End: ast.Location{ - Line: int(1438), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(28), - }, - End: ast.Location{ - Line: int(1438), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(32), - }, - End: ast.Location{ - Line: int(1438), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(35), - }, - End: ast.Location{ - Line: int(1438), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(35), - }, - End: ast.Location{ - Line: int(1438), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(41), - }, - End: ast.Location{ - Line: int(1438), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15405, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(42), - }, - End: ast.Location{ - Line: int(1438), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15427, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(42), - }, - End: ast.Location{ - Line: int(1438), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15427, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1438), - Column: int(44), - }, - End: ast.Location{ - Line: int(1438), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15427, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(14), - }, - End: ast.Location{ - Line: int(1442), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "acc", - "ak", - "aux", - "b", - "bk", - "i", - "j", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(17), - }, - End: ast.Location{ - Line: int(1439), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "ak", - "bk", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(17), - }, - End: ast.Location{ - Line: int(1439), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "ak", - }, - }, - Id: "ak", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(22), - }, - End: ast.Location{ - Line: int(1439), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "bk", - }, - }, - Id: "bk", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(11), - }, - End: ast.Location{ - Line: int(1440), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(11), - }, - End: ast.Location{ - Line: int(1440), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(15), - }, - End: ast.Location{ - Line: int(1440), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(18), - }, - End: ast.Location{ - Line: int(1440), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(21), - }, - End: ast.Location{ - Line: int(1440), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(21), - }, - End: ast.Location{ - Line: int(1440), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(25), - }, - End: ast.Location{ - Line: int(1440), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(28), - }, - End: ast.Location{ - Line: int(1440), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(31), - }, - End: ast.Location{ - Line: int(1440), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(31), - }, - End: ast.Location{ - Line: int(1440), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(37), - }, - End: ast.Location{ - Line: int(1440), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15449, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(38), - }, - End: ast.Location{ - Line: int(1440), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15468, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(38), - }, - End: ast.Location{ - Line: int(1440), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15468, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1440), - Column: int(40), - }, - End: ast.Location{ - Line: int(1440), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15468, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(11), - }, - End: ast.Location{ - Line: int(1442), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(11), - }, - End: ast.Location{ - Line: int(1442), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15281, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(15), - }, - End: ast.Location{ - Line: int(1442), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(18), - }, - End: ast.Location{ - Line: int(1442), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(21), - }, - End: ast.Location{ - Line: int(1442), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(24), - }, - End: ast.Location{ - Line: int(1442), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(24), - }, - End: ast.Location{ - Line: int(1442), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(28), - }, - End: ast.Location{ - Line: int(1442), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(31), - }, - End: ast.Location{ - Line: int(1442), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "acc", - "b", - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(31), - }, - End: ast.Location{ - Line: int(1442), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(37), - }, - End: ast.Location{ - Line: int(1442), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(38), - }, - End: ast.Location{ - Line: int(1442), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15501, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(38), - }, - End: ast.Location{ - Line: int(1442), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15501, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(40), - }, - End: ast.Location{ - Line: int(1442), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15501, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - }, - }, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(5), - }, - End: ast.Location{ - Line: int(1443), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15268, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(5), - }, - End: ast.Location{ - Line: int(1443), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p15268, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(9), - }, - End: ast.Location{ - Line: int(1443), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15514, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(12), - }, - End: ast.Location{ - Line: int(1443), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15514, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(15), - }, - End: ast.Location{ - Line: int(1443), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15514, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(18), - }, - End: ast.Location{ - Line: int(1443), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15514, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(21), - }, - End: ast.Location{ - Line: int(1443), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15514, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1427), - Column: int(3), - }, - End: ast.Location{ - Line: int(1443), - Column: int(24), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "setInter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(12), - }, - End: ast.Location{ - Line: int(1445), - Column: int(13), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(15), - }, - End: ast.Location{ - Line: int(1445), - Column: int(16), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(23), - }, - End: ast.Location{ - Line: int(1445), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15526, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", - }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(18), - }, - End: ast.Location{ - Line: int(1445), - Column: int(25), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1446), - Column: int(5), - }, - End: ast.Location{ - Line: int(1456), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p15526, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "aux", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1446), - Column: int(11), - }, - End: ast.Location{ - Line: int(1455), - Column: int(35), - }, - File: p1, - }, - Fodder: nil, - Ctx: p15533, - FreeVars: ast.Identifiers{ - "aux", - "keyF", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1446), - Column: int(15), - }, - End: ast.Location{ - Line: int(1446), - Column: int(16), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1446), - Column: int(18), - }, - End: ast.Location{ - Line: int(1446), - Column: int(19), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1446), - Column: int(21), - }, - End: ast.Location{ - Line: int(1446), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1446), - Column: int(24), - }, - End: ast.Location{ - Line: int(1446), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1446), - Column: int(27), - }, - End: ast.Location{ - Line: int(1446), - Column: int(30), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(7), - }, - End: ast.Location{ - Line: int(1455), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(10), - }, - End: ast.Location{ - Line: int(1447), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(10), - }, - End: ast.Location{ - Line: int(1447), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(10), - }, - End: ast.Location{ - Line: int(1447), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(15), - }, - End: ast.Location{ - Line: int(1447), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, + Ctx: p15515, FreeVars: ast.Identifiers{ "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(15), - }, - End: ast.Location{ - Line: int(1447), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(15), - }, - End: ast.Location{ - Line: int(1447), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(26), - }, - End: ast.Location{ - Line: int(1447), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15555, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(32), - }, - End: ast.Location{ - Line: int(1447), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(32), - }, - End: ast.Location{ - Line: int(1447), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(37), - }, - End: ast.Location{ - Line: int(1447), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ + "acc", + "ak", + "aux", "b", - "std", + "i", + "j", + "keyF", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(37), - }, - End: ast.Location{ - Line: int(1447), - Column: int(47), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1448), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1454), + Column: int(44), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(37), - }, - End: ast.Location{ - Line: int(1447), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(48), - }, - End: ast.Location{ - Line: int(1447), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15570, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(9), - }, - End: ast.Location{ - Line: int(1448), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, }, }, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(9), - }, - End: ast.Location{ - Line: int(1455), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, - }, - Cond: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(12), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - End: ast.Location{ - Line: int(1450), - Column: int(36), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15538, + Ctx: p15515, FreeVars: ast.Identifiers{ "a", + "acc", + "aux", "b", "i", "j", "keyF", }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(12), - }, - End: ast.Location{ - Line: int(1450), - Column: int(22), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1447), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", + End: ast.Location{ + Line: int(1454), + Column: int(44), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(12), - }, - End: ast.Location{ - Line: int(1450), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(17), - }, - End: ast.Location{ - Line: int(1450), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15587, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(17), - }, - End: ast.Location{ - Line: int(1450), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15587, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(19), - }, - End: ast.Location{ - Line: int(1450), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15587, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(26), - }, - End: ast.Location{ - Line: int(1450), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(26), - }, - End: ast.Location{ - Line: int(1450), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(31), - }, - End: ast.Location{ - Line: int(1450), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15599, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(31), - }, - End: ast.Location{ - Line: int(1450), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15599, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(33), - }, - End: ast.Location{ - Line: int(1450), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15599, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(11), - }, - End: ast.Location{ - Line: int(1451), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(11), - }, - End: ast.Location{ - Line: int(1451), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(15), - }, - End: ast.Location{ - Line: int(1451), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(18), - }, - End: ast.Location{ - Line: int(1451), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(21), - }, - End: ast.Location{ - Line: int(1451), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(21), - }, - End: ast.Location{ - Line: int(1451), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(25), - }, - End: ast.Location{ - Line: int(1451), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(28), - }, - End: ast.Location{ - Line: int(1451), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(28), - }, - End: ast.Location{ - Line: int(1451), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(32), - }, - End: ast.Location{ - Line: int(1451), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(35), - }, - End: ast.Location{ - Line: int(1451), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(35), - }, - End: ast.Location{ - Line: int(1451), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(41), - }, - End: ast.Location{ - Line: int(1451), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15612, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(42), - }, - End: ast.Location{ - Line: int(1451), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15634, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(42), - }, - End: ast.Location{ - Line: int(1451), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15634, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(44), - }, - End: ast.Location{ - Line: int(1451), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15634, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, ElseFodder: ast.Fodder{ ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(14), - }, - End: ast.Location{ - Line: int(1455), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(17), - }, - End: ast.Location{ - Line: int(1452), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(17), - }, - End: ast.Location{ - Line: int(1452), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(17), - }, - End: ast.Location{ - Line: int(1452), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(22), - }, - End: ast.Location{ - Line: int(1452), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15651, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(22), - }, - End: ast.Location{ - Line: int(1452), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15651, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(24), - }, - End: ast.Location{ - Line: int(1452), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15651, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(30), - }, - End: ast.Location{ - Line: int(1452), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(30), - }, - End: ast.Location{ - Line: int(1452), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(35), - }, - End: ast.Location{ - Line: int(1452), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15663, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(35), - }, - End: ast.Location{ - Line: int(1452), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15663, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(37), - }, - End: ast.Location{ - Line: int(1452), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15663, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(11), - }, - End: ast.Location{ - Line: int(1453), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(11), - }, - End: ast.Location{ - Line: int(1453), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(15), - }, - End: ast.Location{ - Line: int(1453), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15676, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(18), - }, - End: ast.Location{ - Line: int(1453), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15676, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(21), - }, - End: ast.Location{ - Line: int(1453), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15676, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(21), - }, - End: ast.Location{ - Line: int(1453), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15676, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(25), - }, - End: ast.Location{ - Line: int(1453), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15676, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(28), - }, - End: ast.Location{ - Line: int(1453), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15676, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1453), - Column: int(31), - }, - End: ast.Location{ - Line: int(1453), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15676, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(11), - }, - End: ast.Location{ - Line: int(1455), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(11), - }, - End: ast.Location{ - Line: int(1455), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15538, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(15), - }, - End: ast.Location{ - Line: int(1455), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15697, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(18), - }, - End: ast.Location{ - Line: int(1455), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15697, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(21), - }, - End: ast.Location{ - Line: int(1455), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15697, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(24), - }, - End: ast.Location{ - Line: int(1455), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15697, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(24), - }, - End: ast.Location{ - Line: int(1455), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15697, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(28), - }, - End: ast.Location{ - Line: int(1455), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15697, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(31), - }, - End: ast.Location{ - Line: int(1455), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15697, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1456), - Column: int(5), - }, - End: ast.Location{ - Line: int(1456), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15526, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1456), - Column: int(5), - }, - End: ast.Location{ - Line: int(1456), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p15526, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1456), - Column: int(9), - }, - End: ast.Location{ - Line: int(1456), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15717, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1456), - Column: int(12), - }, - End: ast.Location{ - Line: int(1456), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15717, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1456), - Column: int(15), - }, - End: ast.Location{ - Line: int(1456), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15717, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1456), - Column: int(18), - }, - End: ast.Location{ - Line: int(1456), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15717, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1456), - Column: int(21), - }, - End: ast.Location{ - Line: int(1456), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15717, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(3), - }, - End: ast.Location{ - Line: int(1456), - Column: int(24), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "setDiff", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "id", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(11), - }, - End: ast.Location{ - Line: int(1458), - Column: int(12), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(14), - }, - End: ast.Location{ - Line: int(1458), - Column: int(15), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(22), - }, - End: ast.Location{ - Line: int(1458), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15729, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", - }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(17), - }, - End: ast.Location{ - Line: int(1458), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(5), - }, - End: ast.Location{ - Line: int(1471), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p15729, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "aux", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(11), - }, - End: ast.Location{ - Line: int(1470), - Column: int(35), - }, - File: p1, - }, - Fodder: nil, - Ctx: p15736, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "keyF", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(15), - }, - End: ast.Location{ - Line: int(1459), - Column: int(16), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(18), - }, - End: ast.Location{ - Line: int(1459), - Column: int(19), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(21), - }, - End: ast.Location{ - Line: int(1459), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(24), - }, - End: ast.Location{ - Line: int(1459), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(27), - }, - End: ast.Location{ - Line: int(1459), - Column: int(30), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(7), - }, - End: ast.Location{ - Line: int(1470), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - }, - Cond: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(10), - }, - End: ast.Location{ - Line: int(1460), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(10), - }, - End: ast.Location{ - Line: int(1460), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(15), - }, - End: ast.Location{ - Line: int(1460), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(15), - }, - End: ast.Location{ - Line: int(1460), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(15), - }, - End: ast.Location{ - Line: int(1460), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(26), - }, - End: ast.Location{ - Line: int(1460), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15756, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1461), - Column: int(9), - }, - End: ast.Location{ - Line: int(1461), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(12), - }, - End: ast.Location{ - Line: int(1470), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, + Ctx: p15515, FreeVars: ast.Identifiers{ "$std", "a", @@ -199760,120 +199210,614 @@ var _StdAst = &ast.DesugaredObject{ "keyF", "std", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1444), + Column: int(12), + }, + End: ast.Location{ + Line: int(1454), + Column: int(44), + }, + }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(15), - }, - End: ast.Location{ - Line: int(1462), - Column: int(33), - }, - File: p1, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p15515, + FreeVars: ast.Identifiers{ + "$std", + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1442), + Column: int(7), + }, + End: ast.Location{ + Line: int(1454), + Column: int(44), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1441), + Column: int(15), + }, + End: ast.Location{ + Line: int(1441), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1441), + Column: int(18), + }, + End: ast.Location{ + Line: int(1441), + Column: int(19), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1441), + Column: int(21), + }, + End: ast.Location{ + Line: int(1441), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1441), + Column: int(24), + }, + End: ast.Location{ + Line: int(1441), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "acc", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1441), + Column: int(27), + }, + End: ast.Location{ + Line: int(1441), + Column: int(30), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p15737, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1441), + Column: int(11), + }, + End: ast.Location{ + Line: int(1454), + Column: int(44), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "aux", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p15742, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1455), + Column: int(5), + }, + End: ast.Location{ + Line: int(1455), + Column: int(8), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15746, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1455), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", + End: ast.Location{ + Line: int(1455), + Column: int(10), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(15), - }, - End: ast.Location{ - Line: int(1462), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15746, + FreeVars: ast.Identifiers{ + "b", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1455), + Column: int(12), + }, + End: ast.Location{ + Line: int(1455), + Column: int(13), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15746, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1455), + Column: int(15), + }, + End: ast.Location{ + Line: int(1455), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15746, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1455), + Column: int(18), + }, + End: ast.Location{ + Line: int(1455), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15746, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1455), + Column: int(21), + }, + End: ast.Location{ + Line: int(1455), + Column: int(23), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15742, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1455), + Column: int(5), + }, + End: ast.Location{ + Line: int(1455), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// NOTE: order matters, values in `a` win", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p15742, + FreeVars: ast.Identifiers{ + "$std", + "a", + "b", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1441), + Column: int(5), + }, + End: ast.Location{ + Line: int(1455), + Column: int(24), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1439), + Column: int(12), + }, + End: ast.Location{ + Line: int(1439), + Column: int(13), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1439), + Column: int(15), + }, + End: ast.Location{ + Line: int(1439), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "keyF", + CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.Var{ + Id: "id", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15742, + FreeVars: ast.Identifiers{ + "id", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1439), + Column: int(23), + }, + End: ast.Location{ + Line: int(1439), + Column: int(25), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1439), + Column: int(18), + }, + End: ast.Location{ + Line: int(1439), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "id", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1439), + Column: int(3), + }, + End: ast.Location{ + Line: int(1455), + Column: int(24), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "setInter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(20), - }, - End: ast.Location{ - Line: int(1462), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(20), - }, - End: ast.Location{ - Line: int(1462), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(20), - }, - End: ast.Location{ - Line: int(1462), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(37), + }, + End: ast.Location{ + Line: int(1459), + Column: int(40), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -199883,27 +199827,449 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(37), + }, + End: ast.Location{ + Line: int(1459), + Column: int(47), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15778, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(48), + }, + End: ast.Location{ + Line: int(1459), + Column: int(49), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(37), + }, + End: ast.Location{ + Line: int(1459), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(32), + }, + End: ast.Location{ + Line: int(1459), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "b", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(32), + }, + End: ast.Location{ + Line: int(1459), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + Left: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(15), + }, + End: ast.Location{ + Line: int(1459), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(15), + }, + End: ast.Location{ + Line: int(1459), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15793, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(26), + }, + End: ast.Location{ + Line: int(1459), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(15), + }, + End: ast.Location{ + Line: int(1459), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(10), + }, + End: ast.Location{ + Line: int(1459), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(10), + }, + End: ast.Location{ + Line: int(1459), + Column: int(28), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(10), + }, + End: ast.Location{ + Line: int(1459), + Column: int(50), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1460), + Column: int(9), + }, + End: ast.Location{ + Line: int(1460), + Column: int(12), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(26), + }, + End: ast.Location{ + Line: int(1462), + Column: int(30), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15811, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(31), + }, + End: ast.Location{ + Line: int(1462), + Column: int(32), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15811, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(33), + }, + End: ast.Location{ + Line: int(1462), + Column: int(34), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15811, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1462), @@ -199911,268 +200277,1073 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(1462), - Column: int(32), + Column: int(35), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15777, - FreeVars: ast.Identifiers{ - "b", }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(26), + }, + End: ast.Location{ + Line: int(1462), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(12), + }, + End: ast.Location{ + Line: int(1462), + Column: int(16), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15823, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(17), + }, + End: ast.Location{ + Line: int(1462), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15823, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(19), + }, + End: ast.Location{ + Line: int(1462), + Column: int(20), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15823, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(17), + }, + End: ast.Location{ + Line: int(1462), + Column: int(21), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(12), + }, + End: ast.Location{ + Line: int(1462), + Column: int(22), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(12), + }, + End: ast.Location{ + Line: int(1462), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(11), + }, + End: ast.Location{ + Line: int(1463), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(15), + }, + End: ast.Location{ + Line: int(1463), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(18), + }, + End: ast.Location{ + Line: int(1463), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(25), + }, + End: ast.Location{ + Line: int(1463), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(21), + }, + End: ast.Location{ + Line: int(1463), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(21), + }, + End: ast.Location{ + Line: int(1463), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(32), + }, + End: ast.Location{ + Line: int(1463), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(28), + }, + End: ast.Location{ + Line: int(1463), + Column: int(29), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(28), + }, + End: ast.Location{ + Line: int(1463), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15855, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(42), + }, + End: ast.Location{ + Line: int(1463), + Column: int(43), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15855, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(44), + }, + End: ast.Location{ + Line: int(1463), + Column: int(45), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15855, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(42), + }, + End: ast.Location{ + Line: int(1463), + Column: int(46), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(41), + }, + End: ast.Location{ + Line: int(1463), + Column: int(47), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(35), + }, + End: ast.Location{ + Line: int(1463), + Column: int(38), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15836, + FreeVars: ast.Identifiers{ + "a", + "acc", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1463), + Column: int(35), + }, + End: ast.Location{ + Line: int(1463), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1463), - Column: int(9), + Column: int(11), }, End: ast.Location{ Line: int(1463), - Column: int(20), + Column: int(48), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "i", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(9), - }, - End: ast.Location{ - Line: int(1463), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(30), + }, + End: ast.Location{ + Line: int(1464), + Column: int(34), + }, + }, }, }, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(15), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15873, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(35), + }, + End: ast.Location{ + Line: int(1464), + Column: int(36), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15873, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(37), + }, + End: ast.Location{ + Line: int(1464), + Column: int(38), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15873, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(35), + }, + End: ast.Location{ + Line: int(1464), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, }, - End: ast.Location{ - Line: int(1463), - Column: int(20), - }, - File: p1, + Named: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "a", - "i", - }, - }, - Target: &ast.Index{ + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1464), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1464), + Column: int(40), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, + TrailingComma: false, + TailStrict: false, }, - FodderLeft: nil, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(17), + }, + End: ast.Location{ + Line: int(1464), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15885, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(22), + }, + End: ast.Location{ + Line: int(1464), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15885, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(24), + }, + End: ast.Location{ + Line: int(1464), + Column: int(25), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15885, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(22), + }, + End: ast.Location{ + Line: int(1464), + Column: int(26), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(17), + }, + End: ast.Location{ + Line: int(1464), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(17), + }, + End: ast.Location{ + Line: int(1464), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1465), + Column: int(11), + }, + End: ast.Location{ + Line: int(1465), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(15), - }, - End: ast.Location{ - Line: int(1463), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15741, + Ctx: p15898, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1465), + Column: int(15), + }, + End: ast.Location{ + Line: int(1465), + Column: int(16), + }, + }, }, - Id: "a", }, - CommaFodder: nil, + CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15898, + FreeVars: ast.Identifiers{ + "b", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1463), - Column: int(17), - }, - End: ast.Location{ - Line: int(1463), + Line: int(1465), Column: int(18), }, - File: p1, + End: ast.Location{ + Line: int(1465), + Column: int(19), + }, }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15898, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1465), + Column: int(25), + }, + End: ast.Location{ + Line: int(1465), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15898, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1465), + Column: int(21), + }, + End: ast.Location{ + Line: int(1465), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p15741, + Ctx: p15898, FreeVars: ast.Identifiers{ "i", }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1465), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1465), + Column: int(26), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, + Op: ast.BinaryOp(3), }, - CommaFodder: nil, + CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ + Expr: &ast.Var{ + Id: "j", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15898, + FreeVars: ast.Identifiers{ + "j", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1465), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1465), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15898, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1465), + Column: int(31), + }, + End: ast.Location{ + Line: int(1465), + Column: int(34), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, }, CommaFodder: nil, @@ -200180,43 +201351,280 @@ var _StdAst = &ast.DesugaredObject{ }, Named: nil, }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1465), + Column: int(11), + }, + End: ast.Location{ + Line: int(1465), + Column: int(35), + }, + }, + }, TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, + TailStrict: true, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(11), + }, + End: ast.Location{ + Line: int(1467), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15918, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(15), + }, + End: ast.Location{ + Line: int(1467), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15918, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(18), + }, + End: ast.Location{ + Line: int(1467), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15918, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(21), + }, + End: ast.Location{ + Line: int(1467), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15918, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(28), + }, + End: ast.Location{ + Line: int(1467), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15918, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(24), + }, + End: ast.Location{ + Line: int(1467), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15918, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(24), + }, + End: ast.Location{ + Line: int(1467), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15918, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(31), + }, + End: ast.Location{ + Line: int(1467), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1467), + Column: int(11), + }, + End: ast.Location{ + Line: int(1467), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, }, - }, - BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(9), - }, - End: ast.Location{ - Line: int(1470), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15741, + Fodder: ast.Fodder{}, + Ctx: p15774, FreeVars: ast.Identifiers{ "a", "acc", @@ -200226,589 +201634,2676 @@ var _StdAst = &ast.DesugaredObject{ "j", "keyF", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(12), - }, - End: ast.Location{ - Line: int(1465), - Column: int(36), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1464), + Column: int(14), }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", + End: ast.Location{ + Line: int(1467), + Column: int(35), }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(12), - }, - End: ast.Location{ - Line: int(1465), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(12), - }, - End: ast.Location{ - Line: int(1465), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(17), - }, - End: ast.Location{ - Line: int(1465), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15810, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(17), - }, - End: ast.Location{ - Line: int(1465), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15810, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(19), - }, - End: ast.Location{ - Line: int(1465), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15810, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(26), - }, - End: ast.Location{ - Line: int(1465), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(26), - }, - End: ast.Location{ - Line: int(1465), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(31), - }, - End: ast.Location{ - Line: int(1465), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15822, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(31), - }, - End: ast.Location{ - Line: int(1465), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15822, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(33), - }, - End: ast.Location{ - Line: int(1465), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15822, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(11), - }, - End: ast.Location{ - Line: int(1466), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, + }, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1462), + Column: int(9), + }, + End: ast.Location{ + Line: int(1467), + Column: int(35), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p15774, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1459), + Column: int(7), + }, + End: ast.Location{ + Line: int(1467), + Column: int(35), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1458), + Column: int(15), + }, + End: ast.Location{ + Line: int(1458), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1458), + Column: int(18), + }, + End: ast.Location{ + Line: int(1458), + Column: int(19), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1458), + Column: int(21), + }, + End: ast.Location{ + Line: int(1458), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1458), + Column: int(24), + }, + End: ast.Location{ + Line: int(1458), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "acc", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1458), + Column: int(27), + }, + End: ast.Location{ + Line: int(1458), + Column: int(30), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p15941, + FreeVars: ast.Identifiers{ + "aux", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1458), + Column: int(11), + }, + End: ast.Location{ + Line: int(1467), + Column: int(35), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "aux", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p15946, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1468), + Column: int(5), + }, + End: ast.Location{ + Line: int(1468), + Column: int(8), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15950, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1468), + Column: int(9), + }, + End: ast.Location{ + Line: int(1468), + Column: int(10), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15950, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1468), + Column: int(12), + }, + End: ast.Location{ + Line: int(1468), + Column: int(13), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15950, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1468), + Column: int(15), + }, + End: ast.Location{ + Line: int(1468), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15950, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1468), + Column: int(18), + }, + End: ast.Location{ + Line: int(1468), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15950, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1468), + Column: int(21), + }, + End: ast.Location{ + Line: int(1468), + Column: int(23), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15946, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1468), + Column: int(5), + }, + End: ast.Location{ + Line: int(1468), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p15946, + FreeVars: ast.Identifiers{ + "a", + "b", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1458), + Column: int(5), + }, + End: ast.Location{ + Line: int(1468), + Column: int(24), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1457), + Column: int(12), + }, + End: ast.Location{ + Line: int(1457), + Column: int(13), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1457), + Column: int(15), + }, + End: ast.Location{ + Line: int(1457), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "keyF", + CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.Var{ + Id: "id", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15946, + FreeVars: ast.Identifiers{ + "id", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1457), + Column: int(23), + }, + End: ast.Location{ + Line: int(1457), + Column: int(25), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1457), + Column: int(18), + }, + End: ast.Location{ + Line: int(1457), + Column: int(25), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "id", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1457), + Column: int(3), + }, + End: ast.Location{ + Line: int(1468), + Column: int(24), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "setDiff", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1466), - Column: int(11), + Line: int(1472), + Column: int(15), }, End: ast.Location{ - Line: int(1466), - Column: int(14), + Line: int(1472), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1472), + Column: int(15), + }, + End: ast.Location{ + Line: int(1472), + Column: int(25), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15980, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1472), + Column: int(26), + }, + End: ast.Location{ + Line: int(1472), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1472), + Column: int(15), + }, + End: ast.Location{ + Line: int(1472), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1472), + Column: int(10), + }, + End: ast.Location{ + Line: int(1472), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1472), + Column: int(10), + }, + End: ast.Location{ + Line: int(1472), + Column: int(28), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1473), + Column: int(9), + }, + End: ast.Location{ + Line: int(1473), + Column: int(12), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1474), + Column: int(20), + }, + End: ast.Location{ + Line: int(1474), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1474), + Column: int(20), + }, + End: ast.Location{ + Line: int(1474), + Column: int(30), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "aux", }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(15), - }, - End: ast.Location{ - Line: int(1466), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(18), - }, - End: ast.Location{ - Line: int(1466), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, + Ctx: p15999, FreeVars: ast.Identifiers{ "b", }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1466), - Column: int(21), + Line: int(1474), + Column: int(31), }, End: ast.Location{ - Line: int(1466), - Column: int(26), + Line: int(1474), + Column: int(32), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{ - "i", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(21), - }, - End: ast.Location{ - Line: int(1466), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(25), - }, - End: ast.Location{ - Line: int(1466), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(28), - }, - End: ast.Location{ - Line: int(1466), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(28), - }, - End: ast.Location{ - Line: int(1466), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(32), - }, - End: ast.Location{ - Line: int(1466), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1466), - Column: int(35), - }, - End: ast.Location{ - Line: int(1466), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15835, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: true, FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "b", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1467), - Column: int(14), + Line: int(1474), + Column: int(20), }, End: ast.Location{ - Line: int(1470), - Column: int(35), + Line: int(1474), + Column: int(33), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p15741, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1474), + Column: int(15), + }, + End: ast.Location{ + Line: int(1474), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "b", + "j", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1474), + Column: int(15), + }, + End: ast.Location{ + Line: int(1474), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1475), + Column: int(15), + }, + End: ast.Location{ + Line: int(1475), + Column: int(16), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1475), + Column: int(17), + }, + End: ast.Location{ + Line: int(1475), + Column: int(18), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1475), + Column: int(15), + }, + End: ast.Location{ + Line: int(1475), + Column: int(20), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1475), + Column: int(9), + }, + End: ast.Location{ + Line: int(1475), + Column: int(12), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "$std", + "a", + "acc", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1475), + Column: int(9), + }, + End: ast.Location{ + Line: int(1475), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(26), + }, + End: ast.Location{ + Line: int(1477), + Column: int(30), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16032, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(31), + }, + End: ast.Location{ + Line: int(1477), + Column: int(32), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16032, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(33), + }, + End: ast.Location{ + Line: int(1477), + Column: int(34), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16032, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(31), + }, + End: ast.Location{ + Line: int(1477), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(26), + }, + End: ast.Location{ + Line: int(1477), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(12), + }, + End: ast.Location{ + Line: int(1477), + Column: int(16), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16044, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(17), + }, + End: ast.Location{ + Line: int(1477), + Column: int(18), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16044, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(19), + }, + End: ast.Location{ + Line: int(1477), + Column: int(20), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16044, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(17), + }, + End: ast.Location{ + Line: int(1477), + Column: int(21), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(12), + }, + End: ast.Location{ + Line: int(1477), + Column: int(22), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(12), + }, + End: ast.Location{ + Line: int(1477), + Column: int(36), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(11), + }, + End: ast.Location{ + Line: int(1478), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(15), + }, + End: ast.Location{ + Line: int(1478), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(18), + }, + End: ast.Location{ + Line: int(1478), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(25), + }, + End: ast.Location{ + Line: int(1478), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(21), + }, + End: ast.Location{ + Line: int(1478), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(21), + }, + End: ast.Location{ + Line: int(1478), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(32), + }, + End: ast.Location{ + Line: int(1478), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(28), + }, + End: ast.Location{ + Line: int(1478), + Column: int(29), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(28), + }, + End: ast.Location{ + Line: int(1478), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16057, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(35), + }, + End: ast.Location{ + Line: int(1478), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1478), + Column: int(11), + }, + End: ast.Location{ + Line: int(1478), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(30), + }, + End: ast.Location{ + Line: int(1479), + Column: int(34), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16082, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(35), + }, + End: ast.Location{ + Line: int(1479), + Column: int(36), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16082, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(37), + }, + End: ast.Location{ + Line: int(1479), + Column: int(38), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16082, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(35), + }, + End: ast.Location{ + Line: int(1479), + Column: int(39), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(30), + }, + End: ast.Location{ + Line: int(1479), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Apply{ + Target: &ast.Var{ + Id: "keyF", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(17), + }, + End: ast.Location{ + Line: int(1479), + Column: int(21), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16094, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(22), + }, + End: ast.Location{ + Line: int(1479), + Column: int(23), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16094, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(24), + }, + End: ast.Location{ + Line: int(1479), + Column: int(25), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16094, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(22), + }, + End: ast.Location{ + Line: int(1479), + Column: int(26), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(17), + }, + End: ast.Location{ + Line: int(1479), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(17), + }, + End: ast.Location{ + Line: int(1479), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(11), + }, + End: ast.Location{ + Line: int(1480), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(15), + }, + End: ast.Location{ + Line: int(1480), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(18), + }, + End: ast.Location{ + Line: int(1480), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(25), + }, + End: ast.Location{ + Line: int(1480), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(21), + }, + End: ast.Location{ + Line: int(1480), + Column: int(22), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(21), + }, + End: ast.Location{ + Line: int(1480), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(28), + }, + End: ast.Location{ + Line: int(1480), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16123, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(38), + }, + End: ast.Location{ + Line: int(1480), + Column: int(39), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16123, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(40), + }, + End: ast.Location{ + Line: int(1480), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16123, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(38), + }, + End: ast.Location{ + Line: int(1480), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(37), + }, + End: ast.Location{ + Line: int(1480), + Column: int(43), + }, + }, + }, + TrailingComma: false, + }, + Left: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(31), + }, + End: ast.Location{ + Line: int(1480), + Column: int(34), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16107, + FreeVars: ast.Identifiers{ + "a", + "acc", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(31), + }, + End: ast.Location{ + Line: int(1480), + Column: int(43), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1480), + Column: int(11), + }, + End: ast.Location{ + Line: int(1480), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(11), + }, + End: ast.Location{ + Line: int(1482), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16139, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(15), + }, + End: ast.Location{ + Line: int(1482), + Column: int(16), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16139, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(18), + }, + End: ast.Location{ + Line: int(1482), + Column: int(19), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16139, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(21), + }, + End: ast.Location{ + Line: int(1482), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16139, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(28), + }, + End: ast.Location{ + Line: int(1482), + Column: int(29), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "j", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16139, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(24), + }, + End: ast.Location{ + Line: int(1482), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16139, + FreeVars: ast.Identifiers{ + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(24), + }, + End: ast.Location{ + Line: int(1482), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "acc", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16139, + FreeVars: ast.Identifiers{ + "acc", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(31), + }, + End: ast.Location{ + Line: int(1482), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1482), + Column: int(11), + }, + End: ast.Location{ + Line: int(1482), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, FreeVars: ast.Identifiers{ "a", "acc", @@ -200818,894 +204313,270 @@ var _StdAst = &ast.DesugaredObject{ "j", "keyF", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(17), - }, - End: ast.Location{ - Line: int(1467), - Column: int(40), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1479), + Column: int(14), }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", + End: ast.Location{ + Line: int(1482), + Column: int(35), }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(17), - }, - End: ast.Location{ - Line: int(1467), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(17), - }, - End: ast.Location{ - Line: int(1467), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(22), - }, - End: ast.Location{ - Line: int(1467), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15862, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(22), - }, - End: ast.Location{ - Line: int(1467), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15862, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(24), - }, - End: ast.Location{ - Line: int(1467), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15862, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(30), - }, - End: ast.Location{ - Line: int(1467), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(30), - }, - End: ast.Location{ - Line: int(1467), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(35), - }, - End: ast.Location{ - Line: int(1467), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15874, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(35), - }, - End: ast.Location{ - Line: int(1467), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15874, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(37), - }, - End: ast.Location{ - Line: int(1467), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15874, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(11), - }, - End: ast.Location{ - Line: int(1468), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(11), - }, - End: ast.Location{ - Line: int(1468), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(15), - }, - End: ast.Location{ - Line: int(1468), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(18), - }, - End: ast.Location{ - Line: int(1468), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(21), - }, - End: ast.Location{ - Line: int(1468), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(21), - }, - End: ast.Location{ - Line: int(1468), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(25), - }, - End: ast.Location{ - Line: int(1468), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(28), - }, - End: ast.Location{ - Line: int(1468), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(31), - }, - End: ast.Location{ - Line: int(1468), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(31), - }, - End: ast.Location{ - Line: int(1468), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(37), - }, - End: ast.Location{ - Line: int(1468), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15887, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(38), - }, - End: ast.Location{ - Line: int(1468), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15906, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(38), - }, - End: ast.Location{ - Line: int(1468), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15906, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(40), - }, - End: ast.Location{ - Line: int(1468), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15906, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - ElseFodder: ast.Fodder{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(11), - }, - End: ast.Location{ - Line: int(1470), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1477), + Column: int(9), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(11), - }, - End: ast.Location{ - Line: int(1470), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p15741, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", + End: ast.Location{ + Line: int(1482), + Column: int(35), }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(15), - }, - End: ast.Location{ - Line: int(1470), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15920, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(18), - }, - End: ast.Location{ - Line: int(1470), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15920, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(21), - }, - End: ast.Location{ - Line: int(1470), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15920, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(24), - }, - End: ast.Location{ - Line: int(1470), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15920, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(24), - }, - End: ast.Location{ - Line: int(1470), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15920, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(28), - }, - End: ast.Location{ - Line: int(1470), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15920, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(31), - }, - End: ast.Location{ - Line: int(1470), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15920, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "$std", + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1474), + Column: int(12), + }, + End: ast.Location{ + Line: int(1482), + Column: int(35), }, }, }, }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p15976, + FreeVars: ast.Identifiers{ + "$std", + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1472), + Column: int(7), + }, + End: ast.Location{ + Line: int(1482), + Column: int(35), + }, + }, + }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1471), + Column: int(15), + }, + End: ast.Location{ + Line: int(1471), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1471), + Column: int(18), + }, + End: ast.Location{ + Line: int(1471), + Column: int(19), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1471), + Column: int(21), + }, + End: ast.Location{ + Line: int(1471), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "j", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1471), + Column: int(24), + }, + End: ast.Location{ + Line: int(1471), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "acc", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1471), + Column: int(27), + }, + End: ast.Location{ + Line: int(1471), + Column: int(30), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p16164, + FreeVars: ast.Identifiers{ + "$std", + "aux", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1471), + Column: int(11), + }, + End: ast.Location{ + Line: int(1482), + Column: int(35), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -201715,395 +204586,403 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(5), - }, - End: ast.Location{ - Line: int(1471), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15729, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(5), - }, - End: ast.Location{ - Line: int(1471), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p15729, + Ctx: p16169, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1483), + Column: int(5), + }, + End: ast.Location{ + Line: int(1483), + Column: int(8), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(9), - }, - End: ast.Location{ - Line: int(1471), - Column: int(10), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15940, + Ctx: p16173, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1483), + Column: int(9), + }, + End: ast.Location{ + Line: int(1483), + Column: int(10), + }, + }, }, - Id: "a", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(12), - }, - End: ast.Location{ - Line: int(1471), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15940, + Ctx: p16173, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1483), + Column: int(12), + }, + End: ast.Location{ + Line: int(1483), + Column: int(13), + }, + }, }, - Id: "b", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16173, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1471), + Line: int(1483), Column: int(15), }, End: ast.Location{ - Line: int(1471), + Line: int(1483), Column: int(16), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15940, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16173, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1471), + Line: int(1483), Column: int(18), }, End: ast.Location{ - Line: int(1471), + Line: int(1483), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15940, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16173, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1471), + Line: int(1483), Column: int(21), }, End: ast.Location{ - Line: int(1471), + Line: int(1483), Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15940, - FreeVars: ast.Identifiers{}, }, - Elements: nil, TrailingComma: false, - CloseFodder: ast.Fodder{}, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: true, FodderRight: ast.Fodder{}, TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16169, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1483), + Column: int(5), + }, + End: ast.Location{ + Line: int(1483), + Column: int(24), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p16169, + FreeVars: ast.Identifiers{ + "$std", + "a", + "b", + "keyF", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1471), + Column: int(5), + }, + End: ast.Location{ + Line: int(1483), + Column: int(24), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(3), - }, - End: ast.Location{ - Line: int(1471), - Column: int(24), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mergePatch", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "target", + Name: "a", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1473), - Column: int(14), + Line: int(1470), + Column: int(11), }, End: ast.Location{ - Line: int(1473), - Column: int(20), + Line: int(1470), + Column: int(12), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "patch", + Name: "b", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1473), - Column: int(22), + Line: int(1470), + Column: int(14), }, End: ast.Location{ - Line: int(1473), - Column: int(27), + Line: int(1470), + Column: int(15), }, - File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "keyF", + CommaFodder: nil, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.Var{ + Id: "id", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16169, + FreeVars: ast.Identifiers{ + "id", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1470), + Column: int(22), + }, + End: ast.Location{ + Line: int(1470), + Column: int(24), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1470), + Column: int(17), + }, + End: ast.Location{ + Line: int(1470), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "id", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(5), - }, - End: ast.Location{ - Line: int(1495), - Column: int(12), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1470), + Column: int(3), + }, + End: ast.Location{ + Line: int(1483), + Column: int(24), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "mergePatch", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - "target", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(8), - }, - End: ast.Location{ - Line: int(1474), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(8), - }, - End: ast.Location{ - Line: int(1474), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(8), - }, - End: ast.Location{ - Line: int(1474), - Column: int(11), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1486), + Column: int(8), + }, + End: ast.Location{ + Line: int(1486), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -202113,187 +204992,128 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1486), + Column: int(8), + }, + End: ast.Location{ + Line: int(1486), + Column: int(20), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "patch", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(21), - }, - End: ast.Location{ - Line: int(1474), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15964, + Ctx: p16199, FreeVars: ast.Identifiers{ "patch", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1486), + Column: int(21), + }, + End: ast.Location{ + Line: int(1486), + Column: int(26), + }, + }, }, - Id: "patch", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1475), - Column: int(7), - }, - End: ast.Location{ - Line: int(1493), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15953, + Fodder: ast.Fodder{}, + Ctx: p16195, FreeVars: ast.Identifiers{ - "$std", "patch", "std", - "target", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1486), + Column: int(8), + }, + End: ast.Location{ + Line: int(1486), + Column: int(27), + }, }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "target_object", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1476), - Column: int(9), - }, - End: ast.Location{ - Line: int(1476), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p15972, - FreeVars: ast.Identifiers{ - "std", - "target", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1476), - Column: int(12), - }, - End: ast.Location{ - Line: int(1476), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15972, - FreeVars: ast.Identifiers{ - "std", - "target", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1476), - Column: int(12), - }, - End: ast.Location{ - Line: int(1476), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15972, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1476), - Column: int(12), - }, - End: ast.Location{ - Line: int(1476), - Column: int(15), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1488), + Column: int(12), + }, + End: ast.Location{ + Line: int(1488), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -202303,525 +205123,976 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16210, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1488), + Column: int(12), + }, + End: ast.Location{ + Line: int(1488), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "target", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1476), - Column: int(25), - }, - End: ast.Location{ - Line: int(1476), - Column: int(31), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p15983, + Ctx: p16214, FreeVars: ast.Identifiers{ "target", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1488), + Column: int(25), + }, + End: ast.Location{ + Line: int(1488), + Column: int(31), + }, + }, }, - Id: "target", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16210, + FreeVars: ast.Identifiers{ + "std", + "target", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1476), - Column: int(38), + Line: int(1488), + Column: int(12), }, End: ast.Location{ - Line: int(1476), - Column: int(44), + Line: int(1488), + Column: int(32), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Var{ + Id: "target", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p15972, + Ctx: p16210, FreeVars: ast.Identifiers{ "target", }, - }, - Id: "target", - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1476), - Column: int(50), + Line: int(1488), + Column: int(38), }, End: ast.Location{ - Line: int(1476), - Column: int(52), + Line: int(1488), + Column: int(44), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p15972, - FreeVars: ast.Identifiers{}, }, + }, + BranchFalse: &ast.DesugaredObject{ Asserts: ast.Nodes{}, Fields: ast.DesugaredObjectFields{}, Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16210, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1488), + Column: int(50), + }, + End: ast.Location{ + Line: int(1488), + Column: int(52), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p16210, + FreeVars: ast.Identifiers{ + "std", + "target", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1488), + Column: int(9), + }, + End: ast.Location{ + Line: int(1488), + Column: int(52), + }, + }, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "target_object", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1475), + Line: int(1487), Column: int(13), }, End: ast.Location{ - Line: int(1476), + Line: int(1488), Column: int(52), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(7), - }, - End: ast.Location{ - Line: int(1493), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - "target_object", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "target_fields", - EqFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(9), + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(12), + }, + End: ast.Location{ + Line: int(1491), + Column: int(15), + }, + }, + }, }, - End: ast.Location{ - Line: int(1479), - Column: int(84), + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16230, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(12), + }, + End: ast.Location{ + Line: int(1491), + Column: int(24), + }, + }, }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "target_object", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16234, + FreeVars: ast.Identifiers{ + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(25), + }, + End: ast.Location{ + Line: int(1491), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16230, + FreeVars: ast.Identifiers{ + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(12), + }, + End: ast.Location{ + Line: int(1491), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(45), + }, + End: ast.Location{ + Line: int(1491), + Column: int(48), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16230, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(45), + }, + End: ast.Location{ + Line: int(1491), + Column: int(61), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "target_object", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16245, + FreeVars: ast.Identifiers{ + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(62), + }, + End: ast.Location{ + Line: int(1491), + Column: int(75), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16230, + FreeVars: ast.Identifiers{ + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(45), + }, + End: ast.Location{ + Line: int(1491), + Column: int(76), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16230, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(82), + }, + End: ast.Location{ + Line: int(1491), + Column: int(84), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p15994, + Ctx: p16230, FreeVars: ast.Identifiers{ "std", "target_object", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(12), - }, - End: ast.Location{ - Line: int(1479), - Column: int(39), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1491), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p15994, - FreeVars: ast.Identifiers{ - "std", - "target_object", + End: ast.Location{ + Line: int(1491), + Column: int(84), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(12), - }, - End: ast.Location{ - Line: int(1479), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15994, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(12), - }, - End: ast.Location{ - Line: int(1479), - Column: int(15), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(25), - }, - End: ast.Location{ - Line: int(1479), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16005, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(45), - }, - End: ast.Location{ - Line: int(1479), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15994, - FreeVars: ast.Identifiers{ - "std", - "target_object", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(45), - }, - End: ast.Location{ - Line: int(1479), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15994, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(45), - }, - End: ast.Location{ - Line: int(1479), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(62), - }, - End: ast.Location{ - Line: int(1479), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16016, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(82), - }, - End: ast.Location{ - Line: int(1479), - Column: int(84), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15994, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: ast.Fodder{}, }, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "target_fields", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1478), + Line: int(1490), Column: int(13), }, End: ast.Location{ - Line: int(1479), + Line: int(1491), Column: int(84), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(7), - }, - End: ast.Location{ - Line: int(1493), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - "target_fields", - "target_object", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "null_fields", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(27), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1481), - Column: int(83), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16264, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(78), + }, + End: ast.Location{ + Line: int(1493), + Column: int(82), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "patch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16264, + FreeVars: ast.Identifiers{ + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(66), + }, + End: ast.Location{ + Line: int(1493), + Column: int(71), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16264, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(72), + }, + End: ast.Location{ + Line: int(1493), + Column: int(73), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16264, + FreeVars: ast.Identifiers{ + "k", + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(66), + }, + End: ast.Location{ + Line: int(1493), + Column: int(74), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16264, + FreeVars: ast.Identifiers{ + "k", + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(66), + }, + End: ast.Location{ + Line: int(1493), + Column: int(82), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16275, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(28), + }, + End: ast.Location{ + Line: int(1493), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + "patch", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "patch", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(39), + }, + End: ast.Location{ + Line: int(1493), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16264, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(39), + }, + End: ast.Location{ + Line: int(1493), + Column: int(55), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "patch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16290, + FreeVars: ast.Identifiers{ + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(56), + }, + End: ast.Location{ + Line: int(1493), + Column: int(61), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16264, + FreeVars: ast.Identifiers{ + "patch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(39), + }, + End: ast.Location{ + Line: int(1493), + Column: int(62), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -202829,593 +206100,78 @@ var _StdAst = &ast.DesugaredObject{ "patch", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(27), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1493), + Column: int(83), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(66), - }, - End: ast.Location{ - Line: int(1481), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16037, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(66), - }, - End: ast.Location{ - Line: int(1481), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16037, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(66), - }, - End: ast.Location{ - Line: int(1481), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16037, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(72), - }, - End: ast.Location{ - Line: int(1481), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16037, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(78), - }, - End: ast.Location{ - Line: int(1481), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16037, - FreeVars: ast.Identifiers{}, - }, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(28), - }, - End: ast.Location{ - Line: int(1481), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16050, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: nil, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(39), - }, - End: ast.Location{ - Line: int(1481), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16037, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(39), - }, - End: ast.Location{ - Line: int(1481), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16037, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(39), - }, - End: ast.Location{ - Line: int(1481), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1481), - Column: int(56), - }, - End: ast.Location{ - Line: int(1481), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16062, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "null_fields", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1481), + Line: int(1493), Column: int(13), }, End: ast.Location{ - Line: int(1481), + Line: int(1493), Column: int(83), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(7), - }, - End: ast.Location{ - Line: int(1493), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "$std", - "null_fields", - "patch", - "std", - "target_fields", - "target_object", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "both_fields", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(27), - }, - End: ast.Location{ - Line: int(1482), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16069, - FreeVars: ast.Identifiers{ - "patch", - "std", - "target_fields", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(27), - }, - End: ast.Location{ - Line: int(1482), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16069, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(27), - }, - End: ast.Location{ - Line: int(1482), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(27), + }, + End: ast.Location{ + Line: int(1494), + Column: int(30), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "setUnion", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -203425,116 +206181,96 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "setUnion", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16301, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(27), + }, + End: ast.Location{ + Line: int(1494), + Column: int(39), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "target_fields", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(40), - }, - End: ast.Location{ - Line: int(1482), - Column: int(53), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16078, + Ctx: p16305, FreeVars: ast.Identifiers{ "target_fields", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(40), + }, + End: ast.Location{ + Line: int(1494), + Column: int(53), + }, + }, }, - Id: "target_fields", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(55), - }, - End: ast.Location{ - Line: int(1482), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16078, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(55), - }, - End: ast.Location{ - Line: int(1482), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16078, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(55), - }, - End: ast.Location{ - Line: int(1482), - Column: int(58), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(55), + }, + End: ast.Location{ + Line: int(1494), + Column: int(58), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -203544,110 +206280,196 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16305, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(55), + }, + End: ast.Location{ + Line: int(1494), + Column: int(71), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "patch", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(72), - }, - End: ast.Location{ - Line: int(1482), - Column: int(77), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16089, + Ctx: p16315, FreeVars: ast.Identifiers{ "patch", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(72), + }, + End: ast.Location{ + Line: int(1494), + Column: int(77), + }, + }, }, - Id: "patch", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16305, + FreeVars: ast.Identifiers{ + "patch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(55), + }, + End: ast.Location{ + Line: int(1494), + Column: int(78), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16301, + FreeVars: ast.Identifiers{ + "patch", + "std", + "target_fields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(27), + }, + End: ast.Location{ + Line: int(1494), + Column: int(79), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "both_fields", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1482), + Line: int(1494), Column: int(13), }, End: ast.Location{ - Line: int(1482), + Line: int(1494), Column: int(79), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1484), - Column: int(7), - }, - End: ast.Location{ - Line: int(1493), - Column: int(8), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "both_fields", - "null_fields", - "patch", - "std", - "target_object", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "$objectFlatMerge", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -203657,81 +206479,1359 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "$objectFlatMerge", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1484), - Column: int(7), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1493), - Column: int(8), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1497), + Column: int(10), + }, + End: ast.Location{ + Line: int(1497), + Column: int(11), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1498), + Column: int(15), + }, + End: ast.Location{ + Line: int(1498), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectHas", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1498), + Column: int(15), + }, + End: ast.Location{ + Line: int(1498), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "patch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16351, + FreeVars: ast.Identifiers{ + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1498), + Column: int(29), + }, + End: ast.Location{ + Line: int(1498), + Column: int(34), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16351, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1498), + Column: int(36), + }, + End: ast.Location{ + Line: int(1498), + Column: int(37), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1498), + Column: int(15), + }, + End: ast.Location{ + Line: int(1498), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1498), + Column: int(14), + }, + End: ast.Location{ + Line: int(1498), + Column: int(38), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Index{ + Target: &ast.Var{ + Id: "target_object", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1499), + Column: int(13), + }, + End: ast.Location{ + Line: int(1499), + Column: int(26), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1499), + Column: int(27), + }, + End: ast.Location{ + Line: int(1499), + Column: int(28), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1499), + Column: int(13), + }, + End: ast.Location{ + Line: int(1499), + Column: int(29), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1500), + Column: int(20), + }, + End: ast.Location{ + Line: int(1500), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectHas", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1500), + Column: int(20), + }, + End: ast.Location{ + Line: int(1500), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "target_object", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16374, + FreeVars: ast.Identifiers{ + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1500), + Column: int(34), + }, + End: ast.Location{ + Line: int(1500), + Column: int(47), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16374, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1500), + Column: int(49), + }, + End: ast.Location{ + Line: int(1500), + Column: int(50), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1500), + Column: int(20), + }, + End: ast.Location{ + Line: int(1500), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1500), + Column: int(19), + }, + End: ast.Location{ + Line: int(1500), + Column: int(51), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1501), + Column: int(13), + }, + End: ast.Location{ + Line: int(1501), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mergePatch", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1501), + Column: int(13), + }, + End: ast.Location{ + Line: int(1501), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16389, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1501), + Column: int(28), + }, + End: ast.Location{ + Line: int(1501), + Column: int(32), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "patch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16389, + FreeVars: ast.Identifiers{ + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1501), + Column: int(34), + }, + End: ast.Location{ + Line: int(1501), + Column: int(39), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16389, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1501), + Column: int(40), + }, + End: ast.Location{ + Line: int(1501), + Column: int(41), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16389, + FreeVars: ast.Identifiers{ + "k", + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1501), + Column: int(34), + }, + End: ast.Location{ + Line: int(1501), + Column: int(42), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1501), + Column: int(13), + }, + End: ast.Location{ + Line: int(1501), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(13), + }, + End: ast.Location{ + Line: int(1503), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mergePatch", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(13), + }, + End: ast.Location{ + Line: int(1503), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "target_object", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16407, + FreeVars: ast.Identifiers{ + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(28), + }, + End: ast.Location{ + Line: int(1503), + Column: int(41), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16407, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(42), + }, + End: ast.Location{ + Line: int(1503), + Column: int(43), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16407, + FreeVars: ast.Identifiers{ + "k", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(28), + }, + End: ast.Location{ + Line: int(1503), + Column: int(44), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "patch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16407, + FreeVars: ast.Identifiers{ + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(46), + }, + End: ast.Location{ + Line: int(1503), + Column: int(51), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16407, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(52), + }, + End: ast.Location{ + Line: int(1503), + Column: int(53), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16407, + FreeVars: ast.Identifiers{ + "k", + "patch", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(46), + }, + End: ast.Location{ + Line: int(1503), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1503), + Column: int(13), + }, + End: ast.Location{ + Line: int(1503), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1500), + Column: int(16), + }, + End: ast.Location{ + Line: int(1503), + Column: int(55), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p16347, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1498), + Column: int(11), + }, + End: ast.Location{ + Line: int(1503), + Column: int(55), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1497), + Column: int(9), + }, + End: ast.Location{ + Line: int(1503), + Column: int(55), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(6), + }, + }, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1496), + Column: int(7), + }, + End: ast.Location{ + Line: int(1505), + Column: int(8), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1504), + Column: int(18), + }, + End: ast.Location{ + Line: int(1504), + Column: int(21), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "setDiff", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1504), + Column: int(18), + }, + End: ast.Location{ + Line: int(1504), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "both_fields", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16437, + FreeVars: ast.Identifiers{ + "both_fields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1504), + Column: int(30), + }, + End: ast.Location{ + Line: int(1504), + Column: int(41), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "null_fields", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16437, + FreeVars: ast.Identifiers{ + "null_fields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1504), + Column: int(43), + }, + End: ast.Location{ + Line: int(1504), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "both_fields", + "null_fields", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1504), + Column: int(18), + }, + End: ast.Location{ + Line: int(1504), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -203742,1607 +207842,633 @@ var _StdAst = &ast.DesugaredObject{ "std", "target_object", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1496), + Column: int(7), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1505), + Column: int(8), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "patch", - "std", - "target_object", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1484), - Column: int(7), - }, - End: ast.Location{ - Line: int(1493), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1485), - Column: int(10), - }, - End: ast.Location{ - Line: int(1485), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(11), - }, - End: ast.Location{ - Line: int(1491), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(14), - }, - End: ast.Location{ - Line: int(1486), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(15), - }, - End: ast.Location{ - Line: int(1486), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(15), - }, - End: ast.Location{ - Line: int(1486), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(15), - }, - End: ast.Location{ - Line: int(1486), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectHas", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(29), - }, - End: ast.Location{ - Line: int(1486), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16134, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(36), - }, - End: ast.Location{ - Line: int(1486), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16134, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1487), - Column: int(13), - }, - End: ast.Location{ - Line: int(1487), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "target_object", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1487), - Column: int(13), - }, - End: ast.Location{ - Line: int(1487), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1487), - Column: int(27), - }, - End: ast.Location{ - Line: int(1487), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(16), - }, - End: ast.Location{ - Line: int(1491), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(19), - }, - End: ast.Location{ - Line: int(1488), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "std", - "target_object", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(20), - }, - End: ast.Location{ - Line: int(1488), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "std", - "target_object", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(20), - }, - End: ast.Location{ - Line: int(1488), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(20), - }, - End: ast.Location{ - Line: int(1488), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectHas", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(34), - }, - End: ast.Location{ - Line: int(1488), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16159, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(49), - }, - End: ast.Location{ - Line: int(1488), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16159, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1489), - Column: int(13), - }, - End: ast.Location{ - Line: int(1489), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1489), - Column: int(13), - }, - End: ast.Location{ - Line: int(1489), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1489), - Column: int(13), - }, - End: ast.Location{ - Line: int(1489), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mergePatch", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1489), - Column: int(28), - }, - End: ast.Location{ - Line: int(1489), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1489), - Column: int(34), - }, - End: ast.Location{ - Line: int(1489), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1489), - Column: int(34), - }, - End: ast.Location{ - Line: int(1489), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1489), - Column: int(40), - }, - End: ast.Location{ - Line: int(1489), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(13), - }, - End: ast.Location{ - Line: int(1491), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(13), - }, - End: ast.Location{ - Line: int(1491), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16121, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(13), - }, - End: ast.Location{ - Line: int(1491), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mergePatch", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(28), - }, - End: ast.Location{ - Line: int(1491), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16191, - FreeVars: ast.Identifiers{ - "k", - "target_object", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(28), - }, - End: ast.Location{ - Line: int(1491), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16191, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(42), - }, - End: ast.Location{ - Line: int(1491), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16191, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(46), - }, - End: ast.Location{ - Line: int(1491), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16191, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(46), - }, - End: ast.Location{ - Line: int(1491), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16191, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(52), - }, - End: ast.Location{ - Line: int(1491), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16191, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1485), - Column: int(9), - }, - End: ast.Location{ - Line: int(1491), - Column: int(55), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1492), - Column: int(18), - }, - End: ast.Location{ - Line: int(1492), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "both_fields", - "null_fields", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1492), - Column: int(18), - }, - End: ast.Location{ - Line: int(1492), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p15953, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1492), - Column: int(18), - }, - End: ast.Location{ - Line: int(1492), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "setDiff", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1492), - Column: int(30), - }, - End: ast.Location{ - Line: int(1492), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16212, - FreeVars: ast.Identifiers{ - "both_fields", - }, - }, - Id: "both_fields", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1492), - Column: int(43), - }, - End: ast.Location{ - Line: int(1492), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16212, - FreeVars: ast.Identifiers{ - "null_fields", - }, - }, - Id: "null_fields", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "both_fields", + "null_fields", + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1496), + Column: int(7), + }, + End: ast.Location{ + Line: int(1505), + Column: int(8), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "$std", + "null_fields", + "patch", + "std", + "target_fields", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1494), + Column: int(7), + }, + End: ast.Location{ + Line: int(1505), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(6), + }, + }, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "$std", + "patch", + "std", + "target_fields", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1493), + Column: int(7), + }, + End: ast.Location{ + Line: int(1505), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(6), + }, + }, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "$std", + "patch", + "std", + "target_object", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1490), + Column: int(7), + }, + End: ast.Location{ + Line: int(1505), + Column: int(8), }, }, }, }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Var{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1495), - Column: int(7), - }, - End: ast.Location{ - Line: int(1495), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p15953, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "$std", + "patch", + "std", + "target", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1487), + Column: int(7), + }, + End: ast.Location{ + Line: int(1505), + Column: int(8), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "patch", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p16195, FreeVars: ast.Identifiers{ "patch", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1507), + Column: int(7), + }, + End: ast.Location{ + Line: int(1507), + Column: int(12), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p16195, + FreeVars: ast.Identifiers{ + "$std", + "patch", + "std", + "target", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1486), + Column: int(5), + }, + End: ast.Location{ + Line: int(1507), + Column: int(12), + }, }, - Id: "patch", }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1473), - Column: int(3), - }, - End: ast.Location{ - Line: int(1495), - Column: int(12), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "get", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "o", + Name: "target", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1497), - Column: int(7), + Line: int(1485), + Column: int(14), }, End: ast.Location{ - Line: int(1497), - Column: int(8), + Line: int(1485), + Column: int(20), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "f", + Name: "patch", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1497), - Column: int(10), + Line: int(1485), + Column: int(22), }, End: ast.Location{ - Line: int(1497), - Column: int(11), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "default", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1497), - Column: int(23), - }, - End: ast.Location{ - Line: int(1497), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1497), - Column: int(13), - }, - End: ast.Location{ - Line: int(1497), + Line: int(1485), Column: int(27), }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "inc_hidden", - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1497), - Column: int(42), - }, - End: ast.Location{ - Line: int(1497), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{}, - }, - Value: true, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1497), - Column: int(29), - }, - End: ast.Location{ - Line: int(1497), - Column: int(46), - }, - File: p1, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1485), + Column: int(3), + }, + End: ast.Location{ + Line: int(1507), + Column: int(12), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "get", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(5), + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(8), + }, + End: ast.Location{ + Line: int(1510), + Column: int(11), + }, + }, + }, }, - End: ast.Location{ - Line: int(1498), - Column: int(64), + Index: &ast.LiteralString{ + Value: "objectHasEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16468, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(8), + }, + End: ast.Location{ + Line: int(1510), + Column: int(23), + }, + }, }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16472, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(24), + }, + End: ast.Location{ + Line: int(1510), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16472, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(27), + }, + End: ast.Location{ + Line: int(1510), + Column: int(28), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "inc_hidden", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16472, + FreeVars: ast.Identifiers{ + "inc_hidden", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(30), + }, + End: ast.Location{ + Line: int(1510), + Column: int(40), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16468, + FreeVars: ast.Identifiers{ + "f", + "inc_hidden", + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(8), + }, + End: ast.Location{ + Line: int(1510), + Column: int(41), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Index{ + Target: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16468, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(47), + }, + End: ast.Location{ + Line: int(1510), + Column: int(48), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16468, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(49), + }, + End: ast.Location{ + Line: int(1510), + Column: int(50), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16468, + FreeVars: ast.Identifiers{ + "f", + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(47), + }, + End: ast.Location{ + Line: int(1510), + Column: int(51), + }, + }, + }, + }, + BranchFalse: &ast.Var{ + Id: "default", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16468, + FreeVars: ast.Identifiers{ + "default", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(57), + }, + End: ast.Location{ + Line: int(1510), + Column: int(64), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p16225, + Ctx: p16468, FreeVars: ast.Identifiers{ "default", "f", @@ -205350,1332 +208476,158 @@ var _StdAst = &ast.DesugaredObject{ "o", "std", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(8), - }, - End: ast.Location{ - Line: int(1498), - Column: int(41), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1510), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{ - "f", - "inc_hidden", - "o", - "std", + End: ast.Location{ + Line: int(1510), + Column: int(64), }, }, - Target: &ast.Index{ + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "o", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1509), + Column: int(7), + }, + End: ast.Location{ + Line: int(1509), + Column: int(8), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "f", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1509), + Column: int(10), + }, + End: ast.Location{ + Line: int(1509), + Column: int(11), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "default", + CommaFodder: ast.Fodder{}, + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralNull{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16468, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1498), - Column: int(8), - }, - End: ast.Location{ - Line: int(1498), + Line: int(1509), Column: int(23), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(8), - }, - End: ast.Location{ - Line: int(1498), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectHasEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(24), - }, - End: ast.Location{ - Line: int(1498), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16239, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(27), - }, - End: ast.Location{ - Line: int(1498), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16239, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(30), - }, - End: ast.Location{ - Line: int(1498), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16239, - FreeVars: ast.Identifiers{ - "inc_hidden", - }, - }, - Id: "inc_hidden", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(47), - }, - End: ast.Location{ - Line: int(1498), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{ - "f", - "o", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(47), - }, End: ast.Location{ - Line: int(1498), - Column: int(48), + Line: int(1509), + Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{ - "o", }, }, - Id: "o", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(49), - }, - End: ast.Location{ - Line: int(1498), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(57), - }, - End: ast.Location{ - Line: int(1498), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16225, - FreeVars: ast.Identifiers{ - "default", - }, - }, - Id: "default", - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1497), - Column: int(3), - }, - End: ast.Location{ - Line: int(1498), - Column: int(64), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1500), - Column: int(16), - }, - End: ast.Location{ - Line: int(1500), - Column: int(17), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(5), - }, - End: ast.Location{ - Line: int(1501), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16258, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(5), - }, - End: ast.Location{ - Line: int(1501), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16258, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(5), - }, - End: ast.Location{ - Line: int(1501), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFieldsEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(24), - }, - End: ast.Location{ - Line: int(1501), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16268, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(27), - }, - End: ast.Location{ - Line: int(1501), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16268, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(3), - }, - End: ast.Location{ - Line: int(1501), - Column: int(33), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFieldsAll", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(19), - }, - End: ast.Location{ - Line: int(1503), - Column: int(20), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(5), - }, - End: ast.Location{ - Line: int(1504), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16276, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(5), - }, - End: ast.Location{ - Line: int(1504), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16276, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(5), - }, - End: ast.Location{ - Line: int(1504), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFieldsEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(24), - }, - End: ast.Location{ - Line: int(1504), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16286, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(27), - }, - End: ast.Location{ - Line: int(1504), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16286, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(3), - }, - End: ast.Location{ - Line: int(1504), - Column: int(32), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectHas", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1506), + Line: int(1509), Column: int(13), }, End: ast.Location{ - Line: int(1506), - Column: int(14), + Line: int(1509), + Column: int(27), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "f", - EqFodder: nil, - DefaultArg: nil, + Name: "inc_hidden", CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1506), - Column: int(16), - }, - End: ast.Location{ - Line: int(1506), - Column: int(17), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1507), - Column: int(5), - }, - End: ast.Location{ - Line: int(1507), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16294, - FreeVars: ast.Identifiers{ - "f", - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1507), - Column: int(5), - }, - End: ast.Location{ - Line: int(1507), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16294, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + EqFodder: ast.Fodder{}, + DefaultArg: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1507), - Column: int(5), - }, - End: ast.Location{ - Line: int(1507), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p16468, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1509), + Column: int(42), + }, + End: ast.Location{ + Line: int(1509), + Column: int(46), + }, + }, }, - Value: "objectHasEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", + Value: true, }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1507), - Column: int(21), - }, - End: ast.Location{ - Line: int(1507), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16304, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1509), + Column: int(29), }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1507), - Column: int(24), - }, - End: ast.Location{ - Line: int(1507), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16304, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1507), - Column: int(27), - }, - End: ast.Location{ - Line: int(1507), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16304, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - CommaFodder: nil, + End: ast.Location{ + Line: int(1509), + Column: int(46), }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1506), - Column: int(3), - }, - End: ast.Location{ - Line: int(1507), - Column: int(33), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectHasAll", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, + Ctx: p23, FreeVars: ast.Identifiers{ "std", }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(16), - }, - End: ast.Location{ - Line: int(1509), - Column: int(17), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "f", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(19), - }, - End: ast.Location{ - Line: int(1509), - Column: int(20), - }, - File: p1, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(5), - }, - End: ast.Location{ - Line: int(1510), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16314, - FreeVars: ast.Identifiers{ - "f", - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(5), - }, - End: ast.Location{ - Line: int(1510), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16314, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(5), - }, - End: ast.Location{ - Line: int(1510), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectHasEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(21), - }, - End: ast.Location{ - Line: int(1510), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16324, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(24), - }, - End: ast.Location{ - Line: int(1510), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16324, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(27), - }, - End: ast.Location{ - Line: int(1510), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16324, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1509), @@ -206683,39 +208635,23 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(1510), - Column: int(32), + Column: int(64), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "objectValues", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -206725,24 +208661,178 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1513), + Column: int(5), + }, + End: ast.Location{ + Line: int(1513), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFieldsEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16501, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1513), + Column: int(5), + }, + End: ast.Location{ + Line: int(1513), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16505, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1513), + Column: int(24), + }, + End: ast.Location{ + Line: int(1513), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16505, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1513), + Column: int(27), + }, + End: ast.Location{ + Line: int(1513), + Column: int(32), + }, + }, + }, + Value: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16501, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1513), + Column: int(5), + }, + End: ast.Location{ + Line: int(1513), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "o", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1512), @@ -206752,392 +208842,32 @@ var _StdAst = &ast.DesugaredObject{ Line: int(1512), Column: int(17), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(5), - }, - End: ast.Location{ - Line: int(1513), - Column: int(40), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "o", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(6), - }, - End: ast.Location{ - Line: int(1513), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16348, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(6), - }, - End: ast.Location{ - Line: int(1513), - Column: int(7), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16348, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(8), - }, - End: ast.Location{ - Line: int(1513), - Column: int(9), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16348, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(20), - }, - End: ast.Location{ - Line: int(1513), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16355, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(20), - }, - End: ast.Location{ - Line: int(1513), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16355, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(20), - }, - End: ast.Location{ - Line: int(1513), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(37), - }, - End: ast.Location{ - Line: int(1513), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16364, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1512), @@ -207145,39 +208875,23 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(1513), - Column: int(40), + Column: int(33), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "objectFieldsAll", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "objectValuesAll", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -207187,24 +208901,178 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1516), + Column: int(5), + }, + End: ast.Location{ + Line: int(1516), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFieldsEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16519, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1516), + Column: int(5), + }, + End: ast.Location{ + Line: int(1516), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16523, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1516), + Column: int(24), + }, + End: ast.Location{ + Line: int(1516), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16523, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1516), + Column: int(27), + }, + End: ast.Location{ + Line: int(1516), + Column: int(31), + }, + }, + }, + Value: true, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16519, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1516), + Column: int(5), + }, + End: ast.Location{ + Line: int(1516), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "o", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1515), @@ -207214,392 +209082,32 @@ var _StdAst = &ast.DesugaredObject{ Line: int(1515), Column: int(20), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(5), - }, - End: ast.Location{ - Line: int(1516), - Column: int(43), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "o", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(6), - }, - End: ast.Location{ - Line: int(1516), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16385, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(6), - }, - End: ast.Location{ - Line: int(1516), - Column: int(7), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16385, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(8), - }, - End: ast.Location{ - Line: int(1516), - Column: int(9), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16385, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(20), - }, - End: ast.Location{ - Line: int(1516), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16392, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(20), - }, - End: ast.Location{ - Line: int(1516), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16392, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(20), - }, - End: ast.Location{ - Line: int(1516), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFieldsAll", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(40), - }, - End: ast.Location{ - Line: int(1516), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16401, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1515), @@ -207607,39 +209115,23 @@ var _StdAst = &ast.DesugaredObject{ }, End: ast.Location{ Line: int(1516), - Column: int(43), + Column: int(32), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), Name: &ast.LiteralString{ + Value: "objectHas", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, - }, - Value: "equals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -207649,42 +209141,204 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", }, }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1519), + Column: int(5), + }, + End: ast.Location{ + Line: int(1519), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectHasEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16537, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1519), + Column: int(5), + }, + End: ast.Location{ + Line: int(1519), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16541, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1519), + Column: int(21), + }, + End: ast.Location{ + Line: int(1519), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16541, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1519), + Column: int(24), + }, + End: ast.Location{ + Line: int(1519), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16541, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1519), + Column: int(27), + }, + End: ast.Location{ + Line: int(1519), + Column: int(32), + }, + }, + }, + Value: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16537, + FreeVars: ast.Identifiers{ + "f", + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1519), + Column: int(5), + }, + End: ast.Location{ + Line: int(1519), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, + Name: "o", CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1518), - Column: int(10), - }, - End: ast.Location{ - Line: int(1518), - Column: int(11), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1518), @@ -207694,113 +209348,1338 @@ var _StdAst = &ast.DesugaredObject{ Line: int(1518), Column: int(14), }, - File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "f", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1518), + Column: int(16), + }, + End: ast.Location{ + Line: int(1518), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1518), + Column: int(3), + }, + End: ast.Location{ + Line: int(1519), + Column: int(33), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "objectHasAll", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1522), + Column: int(5), + }, + End: ast.Location{ + Line: int(1522), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectHasEx", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16557, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1522), + Column: int(5), + }, + End: ast.Location{ + Line: int(1522), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16561, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1522), + Column: int(21), + }, + End: ast.Location{ + Line: int(1522), + Column: int(22), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16561, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1522), + Column: int(24), + }, + End: ast.Location{ + Line: int(1522), + Column: int(25), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16561, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1522), + Column: int(27), + }, + End: ast.Location{ + Line: int(1522), + Column: int(31), + }, + }, + }, + Value: true, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16557, + FreeVars: ast.Identifiers{ + "f", + "o", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1519), + Line: int(1522), Column: int(5), }, End: ast.Location{ - Line: int(1552), - Column: int(34), + Line: int(1522), + Column: int(32), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", }, }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "o", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1521), + Column: int(16), + }, + End: ast.Location{ + Line: int(1521), + Column: int(17), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "f", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1521), + Column: int(19), + }, + End: ast.Location{ + Line: int(1521), + Column: int(20), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1521), + Column: int(3), + }, + End: ast.Location{ + Line: int(1522), + Column: int(32), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "objectValues", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16583, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(6), + }, + End: ast.Location{ + Line: int(1525), + Column: int(7), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16583, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(8), + }, + End: ast.Location{ + Line: int(1525), + Column: int(9), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16583, + FreeVars: ast.Identifiers{ + "k", + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(6), + }, + End: ast.Location{ + Line: int(1525), + Column: int(10), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + "o", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(20), + }, + End: ast.Location{ + Line: int(1525), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16596, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(20), + }, + End: ast.Location{ + Line: int(1525), + Column: int(36), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16600, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(37), + }, + End: ast.Location{ + Line: int(1525), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16596, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(20), + }, + End: ast.Location{ + Line: int(1525), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1525), + Column: int(5), + }, + End: ast.Location{ + Line: int(1525), + Column: int(40), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "o", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1524), + Column: int(16), + }, + End: ast.Location{ + Line: int(1524), + Column: int(17), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1524), + Column: int(3), + }, + End: ast.Location{ + Line: int(1525), + Column: int(40), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "objectValuesAll", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16620, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(6), + }, + End: ast.Location{ + Line: int(1528), + Column: int(7), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "k", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16620, + FreeVars: ast.Identifiers{ + "k", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(8), + }, + End: ast.Location{ + Line: int(1528), + Column: int(9), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16620, + FreeVars: ast.Identifiers{ + "k", + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(6), + }, + End: ast.Location{ + Line: int(1528), + Column: int(10), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + "o", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(20), + }, + End: ast.Location{ + Line: int(1528), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFieldsAll", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16633, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(20), + }, + End: ast.Location{ + Line: int(1528), + Column: int(39), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "o", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16637, + FreeVars: ast.Identifiers{ + "o", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(40), + }, + End: ast.Location{ + Line: int(1528), + Column: int(41), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16633, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(20), + }, + End: ast.Location{ + Line: int(1528), + Column: int(42), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "o", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1528), + Column: int(5), + }, + End: ast.Location{ + Line: int(1528), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "o", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1527), + Column: int(19), + }, + End: ast.Location{ + Line: int(1527), + Column: int(20), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1527), + Column: int(3), + }, + End: ast.Location{ + Line: int(1528), + Column: int(43), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "equals", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "ta", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(16), - }, - End: ast.Location{ - Line: int(1519), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16413, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(16), - }, - End: ast.Location{ - Line: int(1519), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16413, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(16), - }, - End: ast.Location{ - Line: int(1519), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1531), + Column: int(16), + }, + End: ast.Location{ + Line: int(1531), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -207810,174 +210689,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16652, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1531), + Column: int(16), + }, + End: ast.Location{ + Line: int(1531), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(25), - }, - End: ast.Location{ - Line: int(1519), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16422, + Ctx: p16656, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1531), + Column: int(25), + }, + End: ast.Location{ + Line: int(1531), + Column: int(26), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16652, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1531), + Column: int(16), + }, + End: ast.Location{ + Line: int(1531), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "ta", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1519), + Line: int(1531), Column: int(11), }, End: ast.Location{ - Line: int(1519), + Line: int(1531), Column: int(27), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1520), - Column: int(5), - }, - End: ast.Location{ - Line: int(1552), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "tb", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1520), - Column: int(16), - }, - End: ast.Location{ - Line: int(1520), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16429, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1520), - Column: int(16), - }, - End: ast.Location{ - Line: int(1520), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16429, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1520), - Column: int(16), - }, - End: ast.Location{ - Line: int(1520), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1532), + Column: int(16), + }, + End: ast.Location{ + Line: int(1532), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -207987,412 +210837,346 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16666, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1532), + Column: int(16), + }, + End: ast.Location{ + Line: int(1532), + Column: int(24), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1520), - Column: int(25), - }, - End: ast.Location{ - Line: int(1520), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16438, + Ctx: p16670, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1532), + Column: int(25), + }, + End: ast.Location{ + Line: int(1532), + Column: int(26), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16666, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1532), + Column: int(16), + }, + End: ast.Location{ + Line: int(1532), + Column: int(27), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "tb", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1520), + Line: int(1532), Column: int(11), }, End: ast.Location{ - Line: int(1520), + Line: int(1532), Column: int(27), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(5), - }, - End: ast.Location{ - Line: int(1552), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - "tb", - }, - }, Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(8), - }, - End: ast.Location{ - Line: int(1521), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", - "ta", - "tb", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(9), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1533), + Column: int(9), + }, + End: ast.Location{ + Line: int(1533), + Column: int(12), + }, + }, }, - End: ast.Location{ - Line: int(1521), - Column: int(36), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "primitiveEquals", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1533), + Column: int(9), + }, + End: ast.Location{ + Line: int(1533), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "ta", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16684, + FreeVars: ast.Identifiers{ + "ta", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1533), + Column: int(29), + }, + End: ast.Location{ + Line: int(1533), + Column: int(31), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "tb", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16684, + FreeVars: ast.Identifiers{ + "tb", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1533), + Column: int(33), + }, + End: ast.Location{ + Line: int(1533), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p16409, + Ctx: p16680, FreeVars: ast.Identifiers{ "std", "ta", "tb", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(9), - }, - End: ast.Location{ - Line: int(1521), - Column: int(28), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1533), + Column: int(9), }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1533), + Column: int(36), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(9), - }, - End: ast.Location{ - Line: int(1521), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "primitiveEquals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(29), - }, - End: ast.Location{ - Line: int(1521), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16454, - FreeVars: ast.Identifiers{ - "ta", - }, - }, - Id: "ta", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(33), - }, - End: ast.Location{ - Line: int(1521), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16454, - FreeVars: ast.Identifiers{ - "tb", - }, - }, - Id: "tb", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + "ta", + "tb", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1522), - Column: int(7), + Line: int(1533), + Column: int(8), }, End: ast.Location{ - Line: int(1522), - Column: int(12), + Line: int(1533), + Column: int(36), }, - File: p1, }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p16409, + Ctx: p16680, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1534), + Column: int(7), + }, + End: ast.Location{ + Line: int(1534), + Column: int(12), + }, + }, }, Value: false, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1524), - Column: int(7), - }, - End: ast.Location{ - Line: int(1552), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1524), - Column: int(10), - }, - End: ast.Location{ - Line: int(1524), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", - "ta", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1524), - Column: int(10), - }, - End: ast.Location{ - Line: int(1524), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1524), - Column: int(10), - }, - End: ast.Location{ - Line: int(1524), - Column: int(13), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1536), + Column: int(10), + }, + End: ast.Location{ + Line: int(1536), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "primitiveEquals", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -208402,184 +211186,153 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "primitiveEquals", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1536), + Column: int(10), + }, + End: ast.Location{ + Line: int(1536), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "ta", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1524), - Column: int(30), - }, - End: ast.Location{ - Line: int(1524), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16473, + Ctx: p16701, FreeVars: ast.Identifiers{ "ta", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1536), + Column: int(30), + }, + End: ast.Location{ + Line: int(1536), + Column: int(32), + }, + }, }, - Id: "ta", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "array", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16701, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1524), + Line: int(1536), Column: int(34), }, End: ast.Location{ - Line: int(1524), + Line: int(1536), Column: int(41), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16473, - FreeVars: ast.Identifiers{}, }, - Value: "array", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + "ta", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1525), - Column: int(9), + Line: int(1536), + Column: int(10), }, End: ast.Location{ Line: int(1536), - Column: int(23), + Column: int(42), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "la", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(20), - }, - End: ast.Location{ - Line: int(1525), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16481, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(20), - }, - End: ast.Location{ - Line: int(1525), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16481, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(20), - }, - End: ast.Location{ - Line: int(1525), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1537), + Column: int(20), + }, + End: ast.Location{ + Line: int(1537), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -208589,193 +211342,143 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16712, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1537), + Column: int(20), + }, + End: ast.Location{ + Line: int(1537), + Column: int(30), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(31), - }, - End: ast.Location{ - Line: int(1525), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16490, + Ctx: p16716, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1537), + Column: int(31), + }, + End: ast.Location{ + Line: int(1537), + Column: int(32), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16712, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1537), + Column: int(20), + }, + End: ast.Location{ + Line: int(1537), + Column: int(33), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "la", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1525), + Line: int(1537), Column: int(15), }, End: ast.Location{ - Line: int(1525), + Line: int(1537), Column: int(33), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(9), - }, - End: ast.Location{ - Line: int(1536), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "la", - "std", - }, - }, Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(12), - }, - End: ast.Location{ - Line: int(1526), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "b", - "la", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(13), - }, - End: ast.Location{ - Line: int(1526), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "b", - "la", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(13), - }, - End: ast.Location{ - Line: int(1526), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(13), - }, - End: ast.Location{ - Line: int(1526), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(13), + }, + End: ast.Location{ + Line: int(1538), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "primitiveEquals", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -208785,116 +211488,96 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "primitiveEquals", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(13), + }, + End: ast.Location{ + Line: int(1538), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "la", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(33), - }, - End: ast.Location{ - Line: int(1526), - Column: int(35), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16506, + Ctx: p16729, FreeVars: ast.Identifiers{ "la", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(33), + }, + End: ast.Location{ + Line: int(1538), + Column: int(35), + }, + }, }, - Id: "la", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(37), - }, - End: ast.Location{ - Line: int(1526), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16506, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(37), - }, - End: ast.Location{ - Line: int(1526), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16506, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(37), - }, - End: ast.Location{ - Line: int(1526), - Column: int(40), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(37), + }, + End: ast.Location{ + Line: int(1538), + Column: int(40), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -208904,243 +211587,696 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16729, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(37), + }, + End: ast.Location{ + Line: int(1538), + Column: int(47), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1526), - Column: int(48), - }, - End: ast.Location{ - Line: int(1526), - Column: int(49), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16517, + Ctx: p16739, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(48), + }, + End: ast.Location{ + Line: int(1538), + Column: int(49), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16729, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(37), + }, + End: ast.Location{ + Line: int(1538), + Column: int(50), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "b", + "la", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1538), + Column: int(13), + }, + End: ast.Location{ + Line: int(1538), + Column: int(51), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "b", + "la", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1527), - Column: int(11), + Line: int(1538), + Column: int(12), }, End: ast.Location{ - Line: int(1527), - Column: int(16), + Line: int(1538), + Column: int(51), }, - File: p1, }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p16409, + Ctx: p16680, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1539), + Column: int(11), + }, + End: ast.Location{ + Line: int(1539), + Column: int(16), + }, + }, }, Value: false, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1529), - Column: int(11), - }, - End: ast.Location{ - Line: int(1536), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "la", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1529), - Column: int(17), - }, - End: ast.Location{ - Line: int(1535), - Column: int(31), - }, - File: p1, - }, - Fodder: nil, - Ctx: p16527, - FreeVars: ast.Identifiers{ - "aux", - "la", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1529), - Column: int(21), - }, - End: ast.Location{ - Line: int(1529), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1529), - Column: int(24), - }, - End: ast.Location{ - Line: int(1529), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1529), - Column: int(27), - }, - End: ast.Location{ - Line: int(1529), - Column: int(28), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1530), - Column: int(13), + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "la", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "la", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1542), + Column: int(21), + }, + End: ast.Location{ + Line: int(1542), + Column: int(23), + }, + }, }, - End: ast.Location{ - Line: int(1535), - Column: int(31), - }, - File: p1, }, - Fodder: ast.Fodder{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1542), + Column: int(16), + }, + End: ast.Location{ + Line: int(1542), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "i", + "la", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1542), + Column: int(16), + }, + End: ast.Location{ + Line: int(1542), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p16752, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1543), + Column: int(15), + }, + End: ast.Location{ + Line: int(1543), + Column: int(19), + }, + }, + }, + Value: true, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(29), + }, + End: ast.Location{ + Line: int(1544), + Column: int(30), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(31), + }, + End: ast.Location{ + Line: int(1544), + Column: int(32), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "b", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(29), + }, + End: ast.Location{ + Line: int(1544), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(21), + }, + End: ast.Location{ + Line: int(1544), + Column: int(22), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(23), + }, + End: ast.Location{ + Line: int(1544), + Column: int(24), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(21), + }, + End: ast.Location{ + Line: int(1544), + Column: int(25), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(21), + }, + End: ast.Location{ + Line: int(1544), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p16752, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1545), + Column: int(15), + }, + End: ast.Location{ + Line: int(1545), + Column: int(20), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1547), + Column: int(15), + }, + End: ast.Location{ + Line: int(1547), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16782, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1547), + Column: int(19), + }, + End: ast.Location{ + Line: int(1547), + Column: int(20), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16782, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1547), + Column: int(22), + }, + End: ast.Location{ + Line: int(1547), + Column: int(23), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16782, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1547), + Column: int(29), + }, + End: ast.Location{ + Line: int(1547), + Column: int(30), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16782, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1547), + Column: int(25), + }, + End: ast.Location{ + Line: int(1547), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16782, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1547), + Column: int(25), + }, + End: ast.Location{ + Line: int(1547), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1547), + Column: int(15), + }, + End: ast.Location{ + Line: int(1547), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(12), - Comment: []string{}, }, }, - Ctx: p16532, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16752, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1544), + Column: int(18), + }, + End: ast.Location{ + Line: int(1547), + Column: int(31), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p16752, FreeVars: ast.Identifiers{ "a", "aux", @@ -209148,520 +212284,107 @@ var _StdAst = &ast.DesugaredObject{ "i", "la", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1530), - Column: int(16), - }, - End: ast.Location{ - Line: int(1530), - Column: int(23), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1542), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "i", - "la", + End: ast.Location{ + Line: int(1547), + Column: int(31), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1530), - Column: int(16), - }, - End: ast.Location{ - Line: int(1530), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1530), - Column: int(21), - }, - End: ast.Location{ - Line: int(1530), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "la", - }, - }, - Id: "la", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1531), - Column: int(15), - }, - End: ast.Location{ - Line: int(1531), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p16532, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(18), - }, - End: ast.Location{ - Line: int(1535), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(21), - }, - End: ast.Location{ - Line: int(1532), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(21), - }, - End: ast.Location{ - Line: int(1532), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(21), - }, - End: ast.Location{ - Line: int(1532), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(23), - }, - End: ast.Location{ - Line: int(1532), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(29), - }, - End: ast.Location{ - Line: int(1532), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "b", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(29), - }, - End: ast.Location{ - Line: int(1532), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(31), - }, - End: ast.Location{ - Line: int(1532), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(15), - }, - End: ast.Location{ - Line: int(1533), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p16532, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1535), - Column: int(15), - }, - End: ast.Location{ - Line: int(1535), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1535), - Column: int(15), - }, - End: ast.Location{ - Line: int(1535), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p16532, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1535), - Column: int(19), - }, - End: ast.Location{ - Line: int(1535), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16569, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1535), - Column: int(22), - }, - End: ast.Location{ - Line: int(1535), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16569, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1535), - Column: int(25), - }, - End: ast.Location{ - Line: int(1535), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16569, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1535), - Column: int(25), - }, - End: ast.Location{ - Line: int(1535), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16569, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1535), - Column: int(29), - }, - End: ast.Location{ - Line: int(1535), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16569, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1541), + Column: int(21), + }, + End: ast.Location{ + Line: int(1541), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1541), + Column: int(24), + }, + End: ast.Location{ + Line: int(1541), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1541), + Column: int(27), + }, + End: ast.Location{ + Line: int(1541), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p16798, + FreeVars: ast.Identifiers{ + "aux", + "la", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1541), + Column: int(17), + }, + End: ast.Location{ + Line: int(1547), + Column: int(31), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -209671,433 +212394,432 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(11), - }, - End: ast.Location{ - Line: int(1536), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(11), - }, - End: ast.Location{ - Line: int(1536), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p16409, + Ctx: p16680, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1548), + Column: int(11), + }, + End: ast.Location{ + Line: int(1548), + Column: int(14), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(15), - }, - End: ast.Location{ - Line: int(1536), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16585, + Ctx: p16806, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1548), + Column: int(15), + }, + End: ast.Location{ + Line: int(1548), + Column: int(16), + }, + }, }, - Id: "a", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(18), - }, - End: ast.Location{ - Line: int(1536), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16585, + Ctx: p16806, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1548), + Column: int(18), + }, + End: ast.Location{ + Line: int(1548), + Column: int(19), + }, + }, }, - Id: "b", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16806, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1536), + Line: int(1548), Column: int(21), }, End: ast.Location{ - Line: int(1536), + Line: int(1548), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16585, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(12), - }, - End: ast.Location{ - Line: int(1552), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(15), + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1548), + Column: int(11), + }, + End: ast.Location{ + Line: int(1548), + Column: int(23), + }, + }, }, - End: ast.Location{ - Line: int(1537), - Column: int(48), - }, - File: p1, + TrailingComma: false, + TailStrict: false, }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", - "ta", - }, - }, - Target: &ast.Index{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "la", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1537), - Column: int(15), + Line: int(1541), + Column: int(11), }, End: ast.Location{ - Line: int(1537), - Column: int(34), + Line: int(1548), + Column: int(23), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(15), - }, - End: ast.Location{ - Line: int(1537), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "primitiveEquals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(35), - }, - End: ast.Location{ - Line: int(1537), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16602, - FreeVars: ast.Identifiers{ - "ta", - }, - }, - Id: "ta", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(39), - }, - End: ast.Location{ - Line: int(1537), - Column: int(47), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16602, - FreeVars: ast.Identifiers{}, - }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "la", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1538), Column: int(9), }, End: ast.Location{ - Line: int(1550), + Line: int(1548), Column: int(23), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", }, }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1537), + Column: int(9), + }, + End: ast.Location{ + Line: int(1548), + Column: int(23), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1549), + Column: int(15), + }, + End: ast.Location{ + Line: int(1549), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "primitiveEquals", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1549), + Column: int(15), + }, + End: ast.Location{ + Line: int(1549), + Column: int(34), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "ta", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16828, + FreeVars: ast.Identifiers{ + "ta", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1549), + Column: int(35), + }, + End: ast.Location{ + Line: int(1549), + Column: int(37), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "object", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16828, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1549), + Column: int(39), + }, + End: ast.Location{ + Line: int(1549), + Column: int(47), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + "ta", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1549), + Column: int(15), + }, + End: ast.Location{ + Line: int(1549), + Column: int(48), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "fields", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(24), - }, - End: ast.Location{ - Line: int(1538), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16610, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(24), - }, - End: ast.Location{ - Line: int(1538), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16610, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(24), - }, - End: ast.Location{ - Line: int(1538), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1550), + Column: int(24), + }, + End: ast.Location{ + Line: int(1550), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -210107,174 +212829,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16839, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1550), + Column: int(24), + }, + End: ast.Location{ + Line: int(1550), + Column: int(40), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(41), - }, - End: ast.Location{ - Line: int(1538), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16619, + Ctx: p16843, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1550), + Column: int(41), + }, + End: ast.Location{ + Line: int(1550), + Column: int(42), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16839, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1550), + Column: int(24), + }, + End: ast.Location{ + Line: int(1550), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "fields", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1538), + Line: int(1550), Column: int(15), }, End: ast.Location{ - Line: int(1538), + Line: int(1550), Column: int(43), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1539), - Column: int(9), - }, - End: ast.Location{ - Line: int(1550), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "lfields", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1539), - Column: int(25), - }, - End: ast.Location{ - Line: int(1539), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16626, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1539), - Column: int(25), - }, - End: ast.Location{ - Line: int(1539), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16626, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1539), - Column: int(25), - }, - End: ast.Location{ - Line: int(1539), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1551), + Column: int(25), + }, + End: ast.Location{ + Line: int(1551), + Column: int(28), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -210284,454 +212977,949 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16853, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1551), + Column: int(25), + }, + End: ast.Location{ + Line: int(1551), + Column: int(35), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "fields", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1539), - Column: int(36), - }, - End: ast.Location{ - Line: int(1539), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16635, + Ctx: p16857, FreeVars: ast.Identifiers{ "fields", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1551), + Column: int(36), + }, + End: ast.Location{ + Line: int(1551), + Column: int(42), + }, + }, }, - Id: "fields", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16853, + FreeVars: ast.Identifiers{ + "fields", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1551), + Column: int(25), + }, + End: ast.Location{ + Line: int(1551), + Column: int(43), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "lfields", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1539), + Line: int(1551), Column: int(15), }, End: ast.Location{ - Line: int(1539), + Line: int(1551), Column: int(43), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1540), - Column: int(9), - }, - End: ast.Location{ - Line: int(1550), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "lfields", - "std", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1540), - Column: int(12), + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1552), + Column: int(22), + }, + End: ast.Location{ + Line: int(1552), + Column: int(25), + }, + }, + }, }, - End: ast.Location{ - Line: int(1540), - Column: int(41), + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1552), + Column: int(22), + }, + End: ast.Location{ + Line: int(1552), + Column: int(38), + }, + }, }, - File: p1, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16870, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1552), + Column: int(39), + }, + End: ast.Location{ + Line: int(1552), + Column: int(40), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1552), + Column: int(22), + }, + End: ast.Location{ + Line: int(1552), + Column: int(41), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.Var{ + Id: "fields", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "fields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1552), + Column: int(12), + }, + End: ast.Location{ + Line: int(1552), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p16409, + Ctx: p16680, FreeVars: ast.Identifiers{ "b", "fields", "std", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1540), - Column: int(12), - }, - End: ast.Location{ - Line: int(1540), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "fields", - }, - }, - Id: "fields", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1540), - Column: int(22), - }, - End: ast.Location{ - Line: int(1540), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1540), - Column: int(22), - }, - End: ast.Location{ - Line: int(1540), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1540), - Column: int(22), - }, - End: ast.Location{ - Line: int(1540), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1540), - Column: int(39), - }, - End: ast.Location{ - Line: int(1540), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16653, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1541), - Column: int(11), + Line: int(1552), + Column: int(12), }, End: ast.Location{ - Line: int(1541), - Column: int(16), + Line: int(1552), + Column: int(41), }, - File: p1, }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p16409, + Ctx: p16680, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1553), + Column: int(11), + }, + End: ast.Location{ + Line: int(1553), + Column: int(16), + }, + }, }, Value: false, }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1543), - Column: int(11), - }, - End: ast.Location{ - Line: int(1550), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "lfields", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1543), - Column: int(17), - }, - End: ast.Location{ - Line: int(1549), - Column: int(31), - }, - File: p1, - }, - Fodder: nil, - Ctx: p16663, - FreeVars: ast.Identifiers{ - "aux", - "fields", - "lfields", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1543), - Column: int(21), - }, - End: ast.Location{ - Line: int(1543), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1543), - Column: int(24), - }, - End: ast.Location{ - Line: int(1543), - Column: int(25), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1543), - Column: int(27), - }, - End: ast.Location{ - Line: int(1543), - Column: int(28), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(13), + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "lfields", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "lfields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1556), + Column: int(21), + }, + End: ast.Location{ + Line: int(1556), + Column: int(28), + }, + }, }, - End: ast.Location{ - Line: int(1549), - Column: int(31), - }, - File: p1, }, - Fodder: ast.Fodder{ + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1556), + Column: int(16), + }, + End: ast.Location{ + Line: int(1556), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "i", + "lfields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1556), + Column: int(16), + }, + End: ast.Location{ + Line: int(1556), + Column: int(28), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p16884, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1557), + Column: int(15), + }, + End: ast.Location{ + Line: int(1557), + Column: int(19), + }, + }, + }, + Value: true, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "fields", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16896, + FreeVars: ast.Identifiers{ + "fields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(31), + }, + End: ast.Location{ + Line: int(1558), + Column: int(37), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16896, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(38), + }, + End: ast.Location{ + Line: int(1558), + Column: int(39), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16896, + FreeVars: ast.Identifiers{ + "fields", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(31), + }, + End: ast.Location{ + Line: int(1558), + Column: int(40), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "f", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(27), + }, + End: ast.Location{ + Line: int(1558), + Column: int(40), + }, + }, + }, + }, + Body: &ast.Binary{ + Right: &ast.Index{ + Target: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(50), + }, + End: ast.Location{ + Line: int(1558), + Column: int(51), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(52), + }, + End: ast.Location{ + Line: int(1558), + Column: int(53), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "b", + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(50), + }, + End: ast.Location{ + Line: int(1558), + Column: int(54), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(42), + }, + End: ast.Location{ + Line: int(1558), + Column: int(43), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "f", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(44), + }, + End: ast.Location{ + Line: int(1558), + Column: int(45), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "a", + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(42), + }, + End: ast.Location{ + Line: int(1558), + Column: int(46), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "a", + "b", + "f", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(42), + }, + End: ast.Location{ + Line: int(1558), + Column: int(54), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "a", + "b", + "fields", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(21), + }, + End: ast.Location{ + Line: int(1558), + Column: int(54), + }, + }, + }, + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p16884, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1559), + Column: int(15), + }, + End: ast.Location{ + Line: int(1559), + Column: int(20), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + }, + }, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1561), + Column: int(15), + }, + End: ast.Location{ + Line: int(1561), + Column: int(18), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16924, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1561), + Column: int(19), + }, + End: ast.Location{ + Line: int(1561), + Column: int(20), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16924, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1561), + Column: int(22), + }, + End: ast.Location{ + Line: int(1561), + Column: int(23), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16924, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1561), + Column: int(29), + }, + End: ast.Location{ + Line: int(1561), + Column: int(30), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16924, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1561), + Column: int(25), + }, + End: ast.Location{ + Line: int(1561), + Column: int(26), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16924, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1561), + Column: int(25), + }, + End: ast.Location{ + Line: int(1561), + Column: int(30), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1561), + Column: int(15), + }, + End: ast.Location{ + Line: int(1561), + Column: int(31), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(12), - Comment: []string{}, }, }, - Ctx: p16668, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16884, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "fields", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1558), + Column: int(18), + }, + End: ast.Location{ + Line: int(1561), + Column: int(31), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + }, + }, + Ctx: p16884, FreeVars: ast.Identifiers{ "a", "aux", @@ -210740,635 +213928,108 @@ var _StdAst = &ast.DesugaredObject{ "i", "lfields", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(16), - }, - End: ast.Location{ - Line: int(1544), - Column: int(28), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1556), + Column: int(13), }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "i", - "lfields", + End: ast.Location{ + Line: int(1561), + Column: int(31), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(16), - }, - End: ast.Location{ - Line: int(1544), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(21), - }, - End: ast.Location{ - Line: int(1544), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "lfields", - }, - }, - Id: "lfields", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1545), - Column: int(15), - }, - End: ast.Location{ - Line: int(1545), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p16668, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(18), - }, - End: ast.Location{ - Line: int(1549), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "fields", - "i", - }, - }, - Cond: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(21), - }, - End: ast.Location{ - Line: int(1546), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "i", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "f", - EqFodder: ast.Fodder{}, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(31), - }, - End: ast.Location{ - Line: int(1546), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16685, - FreeVars: ast.Identifiers{ - "fields", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(31), - }, - End: ast.Location{ - Line: int(1546), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16685, - FreeVars: ast.Identifiers{ - "fields", - }, - }, - Id: "fields", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(38), - }, - End: ast.Location{ - Line: int(1546), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16685, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(27), - }, - End: ast.Location{ - Line: int(1546), - Column: int(40), - }, - File: p1, - }, - }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(42), - }, - End: ast.Location{ - Line: int(1546), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "a", - "b", - "f", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(42), - }, - End: ast.Location{ - Line: int(1546), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "a", - "f", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(42), - }, - End: ast.Location{ - Line: int(1546), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(44), - }, - End: ast.Location{ - Line: int(1546), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(50), - }, - End: ast.Location{ - Line: int(1546), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "b", - "f", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(50), - }, - End: ast.Location{ - Line: int(1546), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1546), - Column: int(52), - }, - End: ast.Location{ - Line: int(1546), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(15), - }, - End: ast.Location{ - Line: int(1547), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p16668, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(15), - }, - End: ast.Location{ - Line: int(1549), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(15), - }, - End: ast.Location{ - Line: int(1549), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - Comment: []string{}, - }, - }, - Ctx: p16668, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(19), - }, - End: ast.Location{ - Line: int(1549), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16715, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(22), - }, - End: ast.Location{ - Line: int(1549), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16715, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(25), - }, - End: ast.Location{ - Line: int(1549), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16715, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(25), - }, - End: ast.Location{ - Line: int(1549), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16715, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(29), - }, - End: ast.Location{ - Line: int(1549), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16715, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1555), + Column: int(21), + }, + End: ast.Location{ + Line: int(1555), + Column: int(22), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1555), + Column: int(24), + }, + End: ast.Location{ + Line: int(1555), + Column: int(25), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1555), + Column: int(27), + }, + End: ast.Location{ + Line: int(1555), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p16940, + FreeVars: ast.Identifiers{ + "aux", + "fields", + "lfields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1555), + Column: int(17), + }, + End: ast.Location{ + Line: int(1561), + Column: int(31), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -211378,232 +214039,314 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(11), - }, - End: ast.Location{ - Line: int(1550), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(11), - }, - End: ast.Location{ - Line: int(1550), - Column: int(14), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(10), - Comment: []string{}, }, }, - Ctx: p16409, + Ctx: p16680, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1562), + Column: int(11), + }, + End: ast.Location{ + Line: int(1562), + Column: int(14), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(15), - }, - End: ast.Location{ - Line: int(1550), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16731, + Ctx: p16948, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1562), + Column: int(15), + }, + End: ast.Location{ + Line: int(1562), + Column: int(16), + }, + }, }, - Id: "a", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(18), - }, - End: ast.Location{ - Line: int(1550), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16731, + Ctx: p16948, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1562), + Column: int(18), + }, + End: ast.Location{ + Line: int(1562), + Column: int(19), + }, + }, }, - Id: "b", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16948, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1550), + Line: int(1562), Column: int(21), }, End: ast.Location{ - Line: int(1550), + Line: int(1562), Column: int(22), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16731, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1562), + Column: int(11), + }, + End: ast.Location{ + Line: int(1562), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "fields", + "lfields", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1555), + Column: int(11), + }, + End: ast.Location{ + Line: int(1562), + Column: int(23), + }, + }, }, }, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(9), - }, - End: ast.Location{ - Line: int(1552), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(9), + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), }, - End: ast.Location{ - Line: int(1552), - Column: int(28), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16409, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "fields", + "lfields", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1552), Column: int(9), }, End: ast.Location{ - Line: int(1552), - Column: int(12), + Line: int(1562), + Column: int(23), }, - File: p1, }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "fields", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1551), + Column: int(9), + }, + End: ast.Location{ + Line: int(1562), + Column: int(23), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1550), + Column: int(9), + }, + End: ast.Location{ + Line: int(1562), + Column: int(23), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1564), + Column: int(9), + }, + End: ast.Location{ + Line: int(1564), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "primitiveEquals", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -211613,290 +214356,426 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "primitiveEquals", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1564), + Column: int(9), + }, + End: ast.Location{ + Line: int(1564), + Column: int(28), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(29), - }, - End: ast.Location{ - Line: int(1552), - Column: int(30), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16747, + Ctx: p16972, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1564), + Column: int(29), + }, + End: ast.Location{ + Line: int(1564), + Column: int(30), + }, + }, }, - Id: "a", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "b", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(32), - }, - End: ast.Location{ - Line: int(1552), - Column: int(33), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16747, + Ctx: p16972, FreeVars: ast.Identifiers{ "b", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1564), + Column: int(32), + }, + End: ast.Location{ + Line: int(1564), + Column: int(33), + }, + }, }, - Id: "b", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1564), + Column: int(9), + }, + End: ast.Location{ + Line: int(1564), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + "ta", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1549), + Column: int(12), + }, + End: ast.Location{ + Line: int(1564), + Column: int(34), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + "ta", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1536), + Column: int(7), + }, + End: ast.Location{ + Line: int(1564), + Column: int(34), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + "ta", + "tb", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1533), + Column: int(5), + }, + End: ast.Location{ + Line: int(1564), + Column: int(34), }, }, }, }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + "ta", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1532), + Column: int(5), + }, + End: ast.Location{ + Line: int(1564), + Column: int(34), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p16680, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1531), + Column: int(5), + }, + End: ast.Location{ + Line: int(1564), + Column: int(34), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1518), - Column: int(3), - }, - End: ast.Location{ - Line: int(1552), - Column: int(34), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "resolvePath", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "f", + Name: "a", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1555), - Column: int(15), + Line: int(1530), + Column: int(10), }, End: ast.Location{ - Line: int(1555), - Column: int(16), + Line: int(1530), + Column: int(11), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "r", + Name: "b", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1555), - Column: int(18), + Line: int(1530), + Column: int(13), }, End: ast.Location{ - Line: int(1555), - Column: int(19), + Line: int(1530), + Column: int(14), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(5), - }, - End: ast.Location{ - Line: int(1557), - Column: int(80), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1530), + Column: int(3), + }, + End: ast.Location{ + Line: int(1564), + Column: int(34), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "resolvePath", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p16757, - FreeVars: ast.Identifiers{ - "f", - "r", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "arr", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(17), - }, - End: ast.Location{ - Line: int(1556), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16761, - FreeVars: ast.Identifiers{ - "f", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(17), - }, - End: ast.Location{ - Line: int(1556), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16761, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(17), - }, - End: ast.Location{ - Line: int(1556), - Column: int(20), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1568), + Column: int(17), + }, + End: ast.Location{ + Line: int(1568), + Column: int(20), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "split", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -211906,173 +214785,174 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "split", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17000, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1568), + Column: int(17), + }, + End: ast.Location{ + Line: int(1568), + Column: int(26), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "f", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(27), - }, - End: ast.Location{ - Line: int(1556), - Column: int(28), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16770, + Ctx: p17004, FreeVars: ast.Identifiers{ "f", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1568), + Column: int(27), + }, + End: ast.Location{ + Line: int(1568), + Column: int(28), + }, + }, }, - Id: "f", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "/", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17004, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1556), + Line: int(1568), Column: int(30), }, End: ast.Location{ - Line: int(1556), + Line: int(1568), Column: int(33), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16770, - FreeVars: ast.Identifiers{}, }, - Value: "/", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17000, + FreeVars: ast.Identifiers{ + "f", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1568), + Column: int(17), + }, + End: ast.Location{ + Line: int(1568), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "arr", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1556), + Line: int(1568), Column: int(11), }, End: ast.Location{ - Line: int(1556), + Line: int(1568), Column: int(34), }, - File: p1, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(5), - }, - End: ast.Location{ - Line: int(1557), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16757, - FreeVars: ast.Identifiers{ - "arr", - "r", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(5), - }, - End: ast.Location{ - Line: int(1557), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16757, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(5), - }, - End: ast.Location{ - Line: int(1557), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(5), + }, + End: ast.Location{ + Line: int(1569), + Column: int(8), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "join", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -212082,139 +214962,148 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "join", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17014, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(5), + }, + End: ast.Location{ + Line: int(1569), + Column: int(13), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "/", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17018, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1557), + Line: int(1569), Column: int(14), }, End: ast.Location{ - Line: int(1557), + Line: int(1569), Column: int(17), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16783, - FreeVars: ast.Identifiers{}, }, - Value: "/", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(19), + Right: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "r", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17023, + FreeVars: ast.Identifiers{ + "r", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(77), + }, + End: ast.Location{ + Line: int(1569), + Column: int(78), + }, + }, + }, + }, + CommaFodder: nil, }, - End: ast.Location{ - Line: int(1557), - Column: int(79), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16783, - FreeVars: ast.Identifiers{ - "arr", - "r", - "std", - }, - }, - Left: &ast.Apply{ + CloseFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17018, + FreeVars: ast.Identifiers{ + "r", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1557), - Column: int(19), + Line: int(1569), + Column: int(76), }, End: ast.Location{ - Line: int(1557), - Column: int(73), + Line: int(1569), + Column: int(79), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16783, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, + TrailingComma: false, + }, + Left: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(19), - }, - End: ast.Location{ - Line: int(1557), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16783, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(19), - }, - End: ast.Location{ - Line: int(1557), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(19), + }, + End: ast.Location{ + Line: int(1569), + Column: int(22), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "makeArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -212224,112 +215113,92 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "makeArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17018, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(19), + }, + End: ast.Location{ + Line: int(1569), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(33), + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17035, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(51), + }, + End: ast.Location{ + Line: int(1569), + Column: int(52), + }, }, - End: ast.Location{ - Line: int(1557), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16795, - FreeVars: ast.Identifiers{ - "arr", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(33), - }, - End: ast.Location{ - Line: int(1557), - Column: int(48), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16795, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(33), - }, - End: ast.Location{ - Line: int(1557), - Column: int(43), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16795, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(33), - }, - End: ast.Location{ - Line: int(1557), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(33), + }, + End: ast.Location{ + Line: int(1569), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -212339,1374 +215208,1372 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17035, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(33), + }, + End: ast.Location{ + Line: int(1569), + Column: int(43), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(44), - }, - End: ast.Location{ - Line: int(1557), - Column: int(47), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16806, + Ctx: p17044, FreeVars: ast.Identifiers{ "arr", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(44), + }, + End: ast.Location{ + Line: int(1569), + Column: int(47), + }, + }, }, - Id: "arr", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17035, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1557), - Column: int(51), + Line: int(1569), + Column: int(33), }, End: ast.Location{ - Line: int(1557), - Column: int(52), + Line: int(1569), + Column: int(48), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p16795, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17035, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(33), + }, + End: ast.Location{ + Line: int(1569), + Column: int(52), + }, + }, + }, + Op: ast.BinaryOp(4), }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(54), - }, - End: ast.Location{ - Line: int(1557), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16795, - FreeVars: ast.Identifiers{ - "arr", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(63), - }, - End: ast.Location{ - Line: int(1557), - Column: int(64), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(66), + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17051, + FreeVars: ast.Identifiers{ + "arr", }, - End: ast.Location{ - Line: int(1557), - Column: int(72), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(66), + }, + End: ast.Location{ + Line: int(1569), + Column: int(69), + }, }, - File: p1, }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17051, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(70), + }, + End: ast.Location{ + Line: int(1569), + Column: int(71), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p16813, + Ctx: p17051, FreeVars: ast.Identifiers{ "arr", "i", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(66), - }, - End: ast.Location{ - Line: int(1557), - Column: int(69), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(66), }, - Fodder: ast.Fodder{}, - Ctx: p16813, - FreeVars: ast.Identifiers{ - "arr", + End: ast.Location{ + Line: int(1569), + Column: int(72), }, }, - Id: "arr", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(70), - }, - End: ast.Location{ - Line: int(1557), - Column: int(71), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16813, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(63), + }, + End: ast.Location{ + Line: int(1569), + Column: int(64), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17035, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(54), + }, + End: ast.Location{ + Line: int(1569), + Column: int(72), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Array{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17018, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1557), - Column: int(76), + Line: int(1569), + Column: int(19), }, End: ast.Location{ - Line: int(1557), - Column: int(79), + Line: int(1569), + Column: int(73), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16783, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(77), - }, - End: ast.Location{ - Line: int(1557), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16823, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - CommaFodder: nil, }, }, TrailingComma: false, - CloseFodder: ast.Fodder{}, + TailStrict: false, }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17018, + FreeVars: ast.Identifiers{ + "arr", + "r", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1569), + Column: int(19), + }, + End: ast.Location{ + Line: int(1569), + Column: int(79), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1555), - Column: int(3), - }, - End: ast.Location{ - Line: int(1557), - Column: int(80), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$", - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1559), - Column: int(9), - }, - End: ast.Location{ - Line: int(1559), - Column: int(10), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1560), - Column: int(5), - }, - End: ast.Location{ - Line: int(1576), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Variable: "isContent", - EqFodder: nil, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1560), - Column: int(11), - }, - End: ast.Location{ - Line: int(1568), - Column: int(13), - }, - File: p1, - }, - Fodder: nil, - Ctx: p16835, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1560), - Column: int(21), - }, - End: ast.Location{ - Line: int(1560), - Column: int(22), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(7), - }, - End: ast.Location{ - Line: int(1568), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(10), - }, - End: ast.Location{ - Line: int(1561), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(10), - }, - End: ast.Location{ - Line: int(1561), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(15), - }, - End: ast.Location{ - Line: int(1561), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{}, - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1562), - Column: int(9), - }, - End: ast.Location{ - Line: int(1562), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p16840, - FreeVars: ast.Identifiers{}, - }, - Value: false, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1563), - Column: int(12), - }, - End: ast.Location{ - Line: int(1568), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1563), - Column: int(15), - }, - End: ast.Location{ - Line: int(1563), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1563), - Column: int(15), - }, - End: ast.Location{ - Line: int(1563), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1563), - Column: int(15), - }, - End: ast.Location{ - Line: int(1563), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1563), - Column: int(27), - }, - End: ast.Location{ - Line: int(1563), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16861, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(9), - }, - End: ast.Location{ - Line: int(1564), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(9), - }, - End: ast.Location{ - Line: int(1564), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(9), - }, - End: ast.Location{ - Line: int(1564), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(9), - }, - End: ast.Location{ - Line: int(1564), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(20), - }, - End: ast.Location{ - Line: int(1564), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16875, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(25), - }, - End: ast.Location{ - Line: int(1564), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1565), - Column: int(12), - }, - End: ast.Location{ - Line: int(1568), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1565), - Column: int(15), - }, - End: ast.Location{ - Line: int(1565), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1565), - Column: int(15), - }, - End: ast.Location{ - Line: int(1565), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1565), - Column: int(15), - }, - End: ast.Location{ - Line: int(1565), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1565), - Column: int(28), - }, - End: ast.Location{ - Line: int(1565), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16890, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1566), - Column: int(9), - }, - End: ast.Location{ - Line: int(1566), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1566), - Column: int(9), - }, - End: ast.Location{ - Line: int(1566), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1566), - Column: int(9), - }, - End: ast.Location{ - Line: int(1566), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1566), - Column: int(9), - }, - End: ast.Location{ - Line: int(1566), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1566), - Column: int(20), - }, - End: ast.Location{ - Line: int(1566), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16904, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1566), - Column: int(25), - }, - End: ast.Location{ - Line: int(1566), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16840, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(9), - }, - End: ast.Location{ - Line: int(1568), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p16840, - FreeVars: ast.Identifiers{}, - }, - Value: true, - }, - }, - }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - Body: &ast.Conditional{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17014, + FreeVars: ast.Identifiers{ + "arr", + "r", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(1569), Column: int(5), }, End: ast.Location{ - Line: int(1576), - Column: int(8), + Line: int(1569), + Column: int(80), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", }, }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(8), - }, - End: ast.Location{ - Line: int(1569), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "a", - "std", - }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(8), + }, + Ctx: p17014, + FreeVars: ast.Identifiers{ + "f", + "r", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1568), + Column: int(5), + }, + End: ast.Location{ + Line: int(1569), + Column: int(80), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "f", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1567), + Column: int(15), + }, + End: ast.Location{ + Line: int(1567), + Column: int(16), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "r", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1567), + Column: int(18), + }, + End: ast.Location{ + Line: int(1567), + Column: int(19), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1567), + Column: int(3), + }, + End: ast.Location{ + Line: int(1569), + Column: int(80), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "prune", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1573), + Column: int(15), + }, + End: ast.Location{ + Line: int(1573), + Column: int(19), + }, + }, + }, }, - End: ast.Location{ - Line: int(1569), - Column: int(19), + Left: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1573), + Column: int(10), + }, + End: ast.Location{ + Line: int(1573), + Column: int(11), + }, + }, + }, }, - File: p1, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1573), + Column: int(10), + }, + End: ast.Location{ + Line: int(1573), + Column: int(19), + }, + }, + }, + Op: ast.BinaryOp(12), }, - Fodder: ast.Fodder{}, - Ctx: p16831, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17073, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1574), + Column: int(9), + }, + End: ast.Location{ + Line: int(1574), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1575), + Column: int(15), + }, + End: ast.Location{ + Line: int(1575), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1575), + Column: int(15), + }, + End: ast.Location{ + Line: int(1575), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17088, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1575), + Column: int(27), + }, + End: ast.Location{ + Line: int(1575), + Column: int(28), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1575), + Column: int(15), + }, + End: ast.Location{ + Line: int(1575), + Column: int(29), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1576), + Column: int(25), + }, + End: ast.Location{ + Line: int(1576), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1576), + Column: int(9), + }, + End: ast.Location{ + Line: int(1576), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1576), + Column: int(9), + }, + End: ast.Location{ + Line: int(1576), + Column: int(19), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17102, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1576), + Column: int(20), + }, + End: ast.Location{ + Line: int(1576), + Column: int(21), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1576), + Column: int(9), + }, + End: ast.Location{ + Line: int(1576), + Column: int(22), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1576), + Column: int(9), + }, + End: ast.Location{ + Line: int(1576), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1577), + Column: int(15), + }, + End: ast.Location{ + Line: int(1577), + Column: int(18), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1577), + Column: int(15), + }, + End: ast.Location{ + Line: int(1577), + Column: int(27), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17115, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1577), + Column: int(28), + }, + End: ast.Location{ + Line: int(1577), + Column: int(29), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1577), + Column: int(15), + }, + End: ast.Location{ + Line: int(1577), + Column: int(30), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1578), + Column: int(25), + }, + End: ast.Location{ + Line: int(1578), + Column: int(26), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1578), + Column: int(9), + }, + End: ast.Location{ + Line: int(1578), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1578), + Column: int(9), + }, + End: ast.Location{ + Line: int(1578), + Column: int(19), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "b", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17129, + FreeVars: ast.Identifiers{ + "b", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1578), + Column: int(20), + }, + End: ast.Location{ + Line: int(1578), + Column: int(21), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1578), + Column: int(9), + }, + End: ast.Location{ + Line: int(1578), + Column: int(22), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1578), + Column: int(9), + }, + End: ast.Location{ + Line: int(1578), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchFalse: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17073, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1580), + Column: int(9), + }, + End: ast.Location{ + Line: int(1580), + Column: int(13), + }, + }, + }, + Value: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1577), + Column: int(12), + }, + End: ast.Location{ + Line: int(1580), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1575), + Column: int(12), + }, + End: ast.Location{ + Line: int(1580), + Column: int(13), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17073, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1573), + Column: int(7), + }, + End: ast.Location{ + Line: int(1580), + Column: int(13), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1572), + Column: int(21), + }, + End: ast.Location{ + Line: int(1572), + Column: int(22), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p17143, FreeVars: ast.Identifiers{ "std", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(8), - }, - End: ast.Location{ - Line: int(1569), - Column: int(11), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1572), + Column: int(11), }, + End: ast.Location{ + Line: int(1580), + Column: int(13), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "isContent", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1581), + Column: int(8), + }, + End: ast.Location{ + Line: int(1581), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -213716,71 +216583,630 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isArray", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1581), + Column: int(8), + }, + End: ast.Location{ + Line: int(1581), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(20), - }, - End: ast.Location{ - Line: int(1569), - Column: int(21), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16922, + Ctx: p17155, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1581), + Column: int(20), + }, + End: ast.Location{ + Line: int(1581), + Column: int(21), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "a", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1570), - Column: int(7), + Line: int(1581), + Column: int(8), }, End: ast.Location{ - Line: int(1570), - Column: int(57), + Line: int(1581), + Column: int(22), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Var{ + Id: "isContent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "isContent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(35), + }, + End: ast.Location{ + Line: int(1582), + Column: int(44), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(45), + }, + End: ast.Location{ + Line: int(1582), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prune", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17176, + FreeVars: ast.Identifiers{ + "$", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(45), + }, + End: ast.Location{ + Line: int(1582), + Column: int(52), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17180, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(53), + }, + End: ast.Location{ + Line: int(1582), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17176, + FreeVars: ast.Identifiers{ + "$", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(45), + }, + End: ast.Location{ + Line: int(1582), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "$", + "isContent", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(35), + }, + End: ast.Location{ + Line: int(1582), + Column: int(56), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(8), + }, + End: ast.Location{ + Line: int(1582), + Column: int(11), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prune", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17191, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(8), + }, + End: ast.Location{ + Line: int(1582), + Column: int(17), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17195, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(18), + }, + End: ast.Location{ + Line: int(1582), + Column: int(19), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17191, + FreeVars: ast.Identifiers{ + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(8), + }, + End: ast.Location{ + Line: int(1582), + Column: int(20), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "isContent", + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "isContent", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(30), + }, + End: ast.Location{ + Line: int(1582), + Column: int(31), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -213790,648 +217216,57 @@ var _StdAst = &ast.DesugaredObject{ "isContent", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1582), + Column: int(7), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(1582), + Column: int(57), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "std", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "std", - "x", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(35), - }, - End: ast.Location{ - Line: int(1570), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(35), - }, - End: ast.Location{ - Line: int(1570), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "isContent", - }, - }, - Id: "isContent", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(45), - }, - End: ast.Location{ - Line: int(1570), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16943, - FreeVars: ast.Identifiers{ - "$", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(45), - }, - End: ast.Location{ - Line: int(1570), - Column: int(52), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16943, - FreeVars: ast.Identifiers{ - "$", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(45), - }, - End: ast.Location{ - Line: int(1570), - Column: int(46), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - }, - }, - Id: "$", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(53), - }, - End: ast.Location{ - Line: int(1570), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16952, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(8), - }, - End: ast.Location{ - Line: int(1570), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16958, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(8), - }, - End: ast.Location{ - Line: int(1570), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16958, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(8), - }, - End: ast.Location{ - Line: int(1570), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(18), - }, - End: ast.Location{ - Line: int(1570), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16967, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: nil, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1570), - Column: int(30), - }, - End: ast.Location{ - Line: int(1570), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, }, BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(10), - }, - End: ast.Location{ - Line: int(1576), - Column: int(8), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", - }, - }, Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(13), - }, - End: ast.Location{ - Line: int(1571), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(13), - }, - End: ast.Location{ - Line: int(1571), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(13), - }, - End: ast.Location{ - Line: int(1571), - Column: int(16), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1583), + Column: int(13), + }, + End: ast.Location{ + Line: int(1583), + Column: int(16), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isObject", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -214441,84 +217276,147 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isObject", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1583), + Column: int(13), + }, + End: ast.Location{ + Line: int(1583), + Column: int(25), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(26), - }, - End: ast.Location{ - Line: int(1571), - Column: int(27), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p16984, + Ctx: p17215, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1583), + Column: int(26), + }, + End: ast.Location{ + Line: int(1583), + Column: int(27), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(34), - }, - End: ast.Location{ - Line: int(1575), - Column: int(6), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p17151, FreeVars: ast.Identifiers{ - "$", - "$std", "a", - "isContent", "std", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1583), + Column: int(13), + }, + End: ast.Location{ + Line: int(1583), + Column: int(28), + }, + }, }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Apply{ Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "$objectFlatMerge", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -214528,94 +217426,71 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "$objectFlatMerge", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(34), - }, - End: ast.Location{ - Line: int(1575), - Column: int(6), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -214625,128 +217500,544 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", - }, - }, ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, ParenRightFodder: nil, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Cond: &ast.Apply{ + Target: &ast.Var{ + Id: "isContent", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "isContent", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(10), + }, + End: ast.Location{ + Line: int(1586), + Column: int(19), + }, + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(20), + }, + End: ast.Location{ + Line: int(1586), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prune", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17243, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(20), + }, + End: ast.Location{ + Line: int(1586), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17248, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(30), + }, + End: ast.Location{ + Line: int(1586), + Column: int(31), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17248, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(32), + }, + End: ast.Location{ + Line: int(1586), + Column: int(33), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17248, + FreeVars: ast.Identifiers{ + "a", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(30), + }, + End: ast.Location{ + Line: int(1586), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17243, + FreeVars: ast.Identifiers{ + "a", + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(20), + }, + End: ast.Location{ + Line: int(1586), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "a", + "isContent", + "std", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1586), + Column: int(10), + }, + End: ast.Location{ + Line: int(1586), + Column: int(36), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(8), + }, + End: ast.Location{ + Line: int(1584), + Column: int(9), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(12), + }, + End: ast.Location{ + Line: int(1584), + Column: int(13), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "prune", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17266, + FreeVars: ast.Identifiers{ + "$", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(12), + }, + End: ast.Location{ + Line: int(1584), + Column: int(19), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17271, + FreeVars: ast.Identifiers{ + "a", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(20), + }, + End: ast.Location{ + Line: int(1584), + Column: int(21), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "x", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17271, + FreeVars: ast.Identifiers{ + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(22), + }, + End: ast.Location{ + Line: int(1584), + Column: int(23), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17271, + FreeVars: ast.Identifiers{ + "a", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(20), + }, + End: ast.Location{ + Line: int(1584), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17266, + FreeVars: ast.Identifiers{ + "$", + "a", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(12), + }, + End: ast.Location{ + Line: int(1584), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1584), + Column: int(7), + }, + End: ast.Location{ + Line: int(1584), + Column: int(25), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "$", + "a", + "x", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1583), + Column: int(34), + }, + End: ast.Location{ + Line: int(1587), + Column: int(6), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "a", + "x", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + BranchFalse: &ast.Array{ + Elements: nil, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -214756,605 +218047,102 @@ var _StdAst = &ast.DesugaredObject{ "std", "x", }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(10), - }, - End: ast.Location{ - Line: int(1574), - Column: int(36), - }, - File: p1, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "a", - "isContent", - "std", - "x", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(10), - }, - End: ast.Location{ - Line: int(1574), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "isContent", - }, - }, - Id: "isContent", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(20), - }, - End: ast.Location{ - Line: int(1574), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17013, - FreeVars: ast.Identifiers{ - "a", - "std", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(20), - }, - End: ast.Location{ - Line: int(1574), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17013, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(20), - }, - End: ast.Location{ - Line: int(1574), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(30), - }, - End: ast.Location{ - Line: int(1574), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17022, - FreeVars: ast.Identifiers{ - "a", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(30), - }, - End: ast.Location{ - Line: int(1574), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17022, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(32), - }, - End: ast.Location{ - Line: int(1574), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17022, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ThenFodder: nil, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(34), - }, - End: ast.Location{ - Line: int(1575), - Column: int(6), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(8), - }, - End: ast.Location{ - Line: int(1572), - Column: int(9), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(12), - }, - End: ast.Location{ - Line: int(1572), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17037, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(12), - }, - End: ast.Location{ - Line: int(1572), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17037, - FreeVars: ast.Identifiers{ - "$", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(12), - }, - End: ast.Location{ - Line: int(1572), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - }, - }, - Id: "$", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(20), - }, - End: ast.Location{ - Line: int(1572), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17046, - FreeVars: ast.Identifiers{ - "a", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(20), - }, - End: ast.Location{ - Line: int(1572), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17046, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(22), - }, - End: ast.Location{ - Line: int(1572), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17046, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(7), - }, - End: ast.Location{ - Line: int(1572), - Column: int(25), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - ElseFodder: nil, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: nil, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "a", + "isContent", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(16), - }, - End: ast.Location{ - Line: int(1573), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(16), - }, - End: ast.Location{ - Line: int(1573), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p16831, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(16), - }, - End: ast.Location{ - Line: int(1573), - Column: int(19), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1585), + Column: int(16), + }, + End: ast.Location{ + Line: int(1585), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "objectFields", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -215364,332 +218152,402 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "objectFields", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1585), + Column: int(16), + }, + End: ast.Location{ + Line: int(1585), + Column: int(32), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "a", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(33), - }, - End: ast.Location{ - Line: int(1573), - Column: int(34), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17062, + Ctx: p17291, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1585), + Column: int(33), + }, + End: ast.Location{ + Line: int(1585), + Column: int(34), + }, + }, }, - Id: "a", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1585), + Column: int(16), + }, + End: ast.Location{ + Line: int(1585), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "$std", + "a", + "isContent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1583), + Column: int(34), + }, + End: ast.Location{ + Line: int(1587), + Column: int(6), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{}, - BranchFalse: &ast.Var{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "$std", + "a", + "isContent", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1576), - Column: int(7), + Line: int(1583), + Column: int(34), }, End: ast.Location{ - Line: int(1576), - Column: int(8), + Line: int(1587), + Column: int(6), }, - File: p1, }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Var{ + Id: "a", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p16831, + Ctx: p17151, FreeVars: ast.Identifiers{ "a", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1588), + Column: int(7), + }, + End: ast.Location{ + Line: int(1588), + Column: int(8), + }, + }, }, - Id: "a", + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "$", + "$std", + "a", + "isContent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1583), + Column: int(10), + }, + End: ast.Location{ + Line: int(1588), + Column: int(8), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "$", + "$std", + "a", + "isContent", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1581), + Column: int(5), + }, + End: ast.Location{ + Line: int(1588), + Column: int(8), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17151, + FreeVars: ast.Identifiers{ + "$", + "$std", + "a", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1572), + Column: int(5), + }, + End: ast.Location{ + Line: int(1588), + Column: int(8), }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1559), - Column: int(3), - }, - End: ast.Location{ - Line: int(1576), - Column: int(8), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "findSubstr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "pat", + Name: "a", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1578), - Column: int(14), + Line: int(1571), + Column: int(9), }, End: ast.Location{ - Line: int(1578), - Column: int(17), + Line: int(1571), + Column: int(10), }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(19), - }, - End: ast.Location{ - Line: int(1578), - Column: int(22), - }, - File: p1, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$", + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1579), - Column: int(5), - }, - End: ast.Location{ - Line: int(1589), - Column: int(91), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1571), + Column: int(3), + }, + End: ast.Location{ + Line: int(1588), + Column: int(8), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "findSubstr", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1579), - Column: int(8), - }, - End: ast.Location{ - Line: int(1579), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - }, - Op: ast.UnaryOp(0), Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1579), - Column: int(9), - }, - End: ast.Location{ - Line: int(1579), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1579), - Column: int(9), - }, - End: ast.Location{ - Line: int(1579), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1579), - Column: int(9), - }, - End: ast.Location{ - Line: int(1579), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1591), + Column: int(9), + }, + End: ast.Location{ + Line: int(1591), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -215699,582 +218557,499 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "isString", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1591), + Column: int(9), + }, + End: ast.Location{ + Line: int(1591), + Column: int(21), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "pat", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1579), - Column: int(22), - }, - End: ast.Location{ - Line: int(1579), - Column: int(25), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17086, + Ctx: p17320, FreeVars: ast.Identifiers{ "pat", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1591), + Column: int(22), + }, + End: ast.Location{ + Line: int(1591), + Column: int(25), + }, + }, }, - Id: "pat", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(7), - }, - End: ast.Location{ - Line: int(1580), - Column: int(82), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - }, - Expr: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(13), - }, - End: ast.Location{ - Line: int(1580), - Column: int(82), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17073, + Ctx: p17316, FreeVars: ast.Identifiers{ "pat", "std", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(13), - }, - End: ast.Location{ - Line: int(1580), - Column: int(66), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1591), + Column: int(9), + }, + End: ast.Location{ + Line: int(1591), + Column: int(26), }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{}, }, - Value: "findSubstr first parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1591), + Column: int(8), + }, + End: ast.Location{ + Line: int(1591), + Column: int(26), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(69), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1592), + Column: int(69), + }, + End: ast.Location{ + Line: int(1592), + Column: int(72), + }, + }, }, - End: ast.Location{ - Line: int(1580), - Column: int(82), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1592), + Column: int(69), + }, + End: ast.Location{ + Line: int(1592), + Column: int(77), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "pat", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17334, + FreeVars: ast.Identifiers{ + "pat", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1592), + Column: int(78), + }, + End: ast.Location{ + Line: int(1592), + Column: int(81), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p17073, + Ctx: p17316, FreeVars: ast.Identifiers{ "pat", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(69), - }, - End: ast.Location{ - Line: int(1580), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(69), - }, - End: ast.Location{ - Line: int(1580), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(78), - }, - End: ast.Location{ - Line: int(1580), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17103, - FreeVars: ast.Identifiers{ - "pat", - }, - }, - Id: "pat", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(10), - }, - End: ast.Location{ - Line: int(1589), - Column: int(91), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "std", - "str", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(13), - }, - End: ast.Location{ - Line: int(1581), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1581), - Column: int(14), + Line: int(1592), + Column: int(69), }, End: ast.Location{ - Line: int(1581), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(14), - }, - End: ast.Location{ - Line: int(1581), - Column: int(26), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", + Line: int(1592), + Column: int(82), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(14), - }, - End: ast.Location{ - Line: int(1581), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(27), - }, - End: ast.Location{ - Line: int(1581), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17119, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(7), - }, - End: ast.Location{ - Line: int(1582), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Expr: &ast.Binary{ + Left: &ast.LiteralString{ + Value: "findSubstr first parameter should be a string, got ", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1582), + Line: int(1592), Column: int(13), }, End: ast.Location{ - Line: int(1582), - Column: int(83), + Line: int(1592), + Column: int(66), }, - File: p1, }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1592), + Column: int(13), + }, + End: ast.Location{ + Line: int(1592), + Column: int(82), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1592), + Column: int(7), + }, + End: ast.Location{ + Line: int(1592), + Column: int(82), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1593), + Column: int(14), + }, + End: ast.Location{ + Line: int(1593), + Column: int(17), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isString", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1593), + Column: int(14), + }, + End: ast.Location{ + Line: int(1593), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17351, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1593), + Column: int(27), + }, + End: ast.Location{ + Line: int(1593), + Column: int(30), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p17073, + Ctx: p17316, FreeVars: ast.Identifiers{ "std", "str", }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(13), - }, - End: ast.Location{ - Line: int(1582), - Column: int(67), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1593), + Column: int(14), + }, + End: ast.Location{ + Line: int(1593), + Column: int(31), }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{}, }, - Value: "findSubstr second parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1593), + Column: int(13), + }, + End: ast.Location{ + Line: int(1593), + Column: int(31), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(70), - }, - End: ast.Location{ - Line: int(1582), - Column: int(83), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(70), - }, - End: ast.Location{ - Line: int(1582), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(70), - }, - End: ast.Location{ - Line: int(1582), - Column: int(73), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1594), + Column: int(70), + }, + End: ast.Location{ + Line: int(1594), + Column: int(73), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -216284,168 +219059,201 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1594), + Column: int(70), + }, + End: ast.Location{ + Line: int(1594), + Column: int(78), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(79), - }, - End: ast.Location{ - Line: int(1582), - Column: int(82), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17136, + Ctx: p17365, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1594), + Column: int(79), + }, + End: ast.Location{ + Line: int(1594), + Column: int(82), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1594), + Column: int(70), + }, + End: ast.Location{ + Line: int(1594), + Column: int(83), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, + Left: &ast.LiteralString{ + Value: "findSubstr second parameter should be a string, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1594), + Column: int(13), + }, + End: ast.Location{ + Line: int(1594), + Column: int(67), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1594), + Column: int(13), + }, + End: ast.Location{ + Line: int(1594), + Column: int(83), + }, + }, + }, + Op: ast.BinaryOp(3), }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(7), - }, - End: ast.Location{ - Line: int(1589), - Column: int(91), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p17073, + Ctx: p17316, FreeVars: ast.Identifiers{ - "$std", - "pat", "std", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1594), + Column: int(7), + }, + End: ast.Location{ + Line: int(1594), + Column: int(83), + }, + }, }, + }, + BranchFalse: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "pat_len", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(23), - }, - End: ast.Location{ - Line: int(1584), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17144, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(23), - }, - End: ast.Location{ - Line: int(1584), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17144, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(23), - }, - End: ast.Location{ - Line: int(1584), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1596), + Column: int(23), + }, + End: ast.Location{ + Line: int(1596), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -216455,175 +219263,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17379, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1596), + Column: int(23), + }, + End: ast.Location{ + Line: int(1596), + Column: int(33), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "pat", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(34), - }, - End: ast.Location{ - Line: int(1584), - Column: int(37), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17153, + Ctx: p17383, FreeVars: ast.Identifiers{ "pat", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1596), + Column: int(34), + }, + End: ast.Location{ + Line: int(1596), + Column: int(37), + }, + }, }, - Id: "pat", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17379, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1596), + Column: int(23), + }, + End: ast.Location{ + Line: int(1596), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "pat_len", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1584), + Line: int(1596), Column: int(13), }, End: ast.Location{ - Line: int(1584), + Line: int(1596), Column: int(38), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(7), - }, - End: ast.Location{ - Line: int(1589), - Column: int(91), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "std", - "str", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "str_len", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(23), - }, - End: ast.Location{ - Line: int(1585), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17160, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(23), - }, - End: ast.Location{ - Line: int(1585), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17160, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(23), - }, - End: ast.Location{ - Line: int(1585), - Column: int(26), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1597), + Column: int(23), + }, + End: ast.Location{ + Line: int(1597), + Column: int(26), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -216633,466 +219411,424 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17393, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1597), + Column: int(23), + }, + End: ast.Location{ + Line: int(1597), + Column: int(33), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(34), - }, - End: ast.Location{ - Line: int(1585), - Column: int(37), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17169, + Ctx: p17397, FreeVars: ast.Identifiers{ "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1597), + Column: int(34), + }, + End: ast.Location{ + Line: int(1597), + Column: int(37), + }, + }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17393, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1597), + Column: int(23), + }, + End: ast.Location{ + Line: int(1597), + Column: int(38), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "str_len", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1585), + Line: int(1597), Column: int(13), }, End: ast.Location{ - Line: int(1585), + Line: int(1597), Column: int(38), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(7), - }, - End: ast.Location{ - Line: int(1589), - Column: int(91), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "std", - "str", - "str_len", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(10), - }, - End: ast.Location{ - Line: int(1586), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(10), - }, - End: ast.Location{ - Line: int(1586), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - }, - Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.Var{ + Id: "str_len", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(10), - }, - End: ast.Location{ - Line: int(1586), - Column: int(22), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat_len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(10), - }, - End: ast.Location{ - Line: int(1586), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat_len", - }, - }, - Id: "pat_len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(21), - }, - End: ast.Location{ - Line: int(1586), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(26), - }, - End: ast.Location{ - Line: int(1586), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, + Ctx: p17316, FreeVars: ast.Identifiers{ "str_len", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(26), - }, - End: ast.Location{ - Line: int(1586), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "str_len", - }, - }, - Id: "str_len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(37), - }, - End: ast.Location{ - Line: int(1586), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(42), - }, - End: ast.Location{ - Line: int(1586), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1586), - Column: int(42), - }, - End: ast.Location{ - Line: int(1586), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "pat_len", - }, - }, - Id: "pat_len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1586), + Line: int(1598), Column: int(52), }, End: ast.Location{ - Line: int(1586), + Line: int(1598), Column: int(59), }, - File: p1, }, + }, + }, + Left: &ast.Var{ + Id: "pat_len", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p17073, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(42), + }, + End: ast.Location{ + Line: int(1598), + Column: int(49), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat_len", + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(42), + }, + End: ast.Location{ + Line: int(1598), + Column: int(59), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(37), + }, + End: ast.Location{ + Line: int(1598), + Column: int(38), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "str_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(26), + }, + End: ast.Location{ + Line: int(1598), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, FreeVars: ast.Identifiers{ "str_len", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(26), + }, + End: ast.Location{ + Line: int(1598), + Column: int(38), + }, + }, }, - Id: "str_len", + Op: ast.BinaryOp(12), }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(21), + }, + End: ast.Location{ + Line: int(1598), + Column: int(22), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "pat_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(10), + }, + End: ast.Location{ + Line: int(1598), + Column: int(17), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(10), + }, + End: ast.Location{ + Line: int(1598), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat_len", + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(10), + }, + End: ast.Location{ + Line: int(1598), + Column: int(38), + }, + }, + }, + Op: ast.BinaryOp(18), }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Array{ + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "pat_len", + "str_len", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1587), - Column: int(9), + Line: int(1598), + Column: int(10), }, End: ast.Location{ - Line: int(1587), - Column: int(11), + Line: int(1598), + Column: int(59), }, - File: p1, }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Array{ + Elements: nil, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, - Ctx: p17073, + Ctx: p17316, FreeVars: ast.Identifiers{}, - }, - Elements: nil, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1589), + Line: int(1599), Column: int(9), }, End: ast.Location{ - Line: int(1589), - Column: int(91), + Line: int(1599), + Column: int(11), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "std", - "str", - "str_len", }, }, + TrailingComma: false, + }, + BranchFalse: &ast.Apply{ Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(9), - }, - End: ast.Location{ - Line: int(1589), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(9), - }, - End: ast.Location{ - Line: int(1589), - Column: int(12), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(8), - Comment: []string{}, }, }, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(9), + }, + End: ast.Location{ + Line: int(1601), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "filter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -217102,109 +219838,285 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "filter", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(9), + }, + End: ast.Location{ + Line: int(1601), + Column: int(19), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(20), - }, - End: ast.Location{ - Line: int(1589), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17207, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "str", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(29), - }, - End: ast.Location{ - Line: int(1589), - Column: int(30), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(32), + Right: &ast.Var{ + Id: "pat", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17434, + FreeVars: ast.Identifiers{ + "pat", }, - End: ast.Location{ - Line: int(1589), - Column: int(57), + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(54), + }, + End: ast.Location{ + Line: int(1601), + Column: int(57), + }, }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17211, - FreeVars: ast.Identifiers{ - "$std", - "i", - "pat", - "pat_len", - "str", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(32), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, - End: ast.Location{ - Line: int(1589), - Column: int(50), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "slice", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17434, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(32), + }, + End: ast.Location{ + Line: int(1601), + Column: int(35), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17434, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(36), + }, + End: ast.Location{ + Line: int(1601), + Column: int(37), + }, + }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "pat_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17434, + FreeVars: ast.Identifiers{ + "pat_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(42), + }, + End: ast.Location{ + Line: int(1601), + Column: int(49), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17434, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(38), + }, + End: ast.Location{ + Line: int(1601), + Column: int(39), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17434, + FreeVars: ast.Identifiers{ + "i", + "pat_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(38), + }, + End: ast.Location{ + Line: int(1601), + Column: int(49), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ @@ -217213,10 +220125,1353 @@ var _StdAst = &ast.DesugaredObject{ "pat_len", "str", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(32), + }, + End: ast.Location{ + Line: int(1601), + Column: int(50), + }, + }, }, - Target: &ast.Index{ + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17434, + FreeVars: ast.Identifiers{ + "$std", + "i", + "pat", + "pat_len", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(32), + }, + End: ast.Location{ + Line: int(1601), + Column: int(57), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(29), + }, + End: ast.Location{ + Line: int(1601), + Column: int(30), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17457, + FreeVars: ast.Identifiers{ + "$std", + "pat", + "pat_len", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(20), + }, + End: ast.Location{ + Line: int(1601), + Column: int(57), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(59), + }, + End: ast.Location{ + Line: int(1601), + Column: int(62), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17457, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(59), + }, + End: ast.Location{ + Line: int(1601), + Column: int(68), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17467, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(69), + }, + End: ast.Location{ + Line: int(1601), + Column: int(70), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "pat_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17467, + FreeVars: ast.Identifiers{ + "pat_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(82), + }, + End: ast.Location{ + Line: int(1601), + Column: int(89), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "str_len", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17467, + FreeVars: ast.Identifiers{ + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(72), + }, + End: ast.Location{ + Line: int(1601), + Column: int(79), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17467, + FreeVars: ast.Identifiers{ + "pat_len", + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(72), + }, + End: ast.Location{ + Line: int(1601), + Column: int(89), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17457, + FreeVars: ast.Identifiers{ + "pat_len", + "std", + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(59), + }, + End: ast.Location{ + Line: int(1601), + Column: int(90), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "$std", + "pat", + "pat_len", + "std", + "str", + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1601), + Column: int(9), + }, + End: ast.Location{ + Line: int(1601), + Column: int(91), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "$std", + "pat", + "pat_len", + "std", + "str", + "str_len", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1598), + Column: int(7), + }, + End: ast.Location{ + Line: int(1601), + Column: int(91), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "$std", + "pat", + "pat_len", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1597), + Column: int(7), + }, + End: ast.Location{ + Line: int(1601), + Column: int(91), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "$std", + "pat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1596), + Column: int(7), + }, + End: ast.Location{ + Line: int(1601), + Column: int(91), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "$std", + "pat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1593), + Column: int(10), + }, + End: ast.Location{ + Line: int(1601), + Column: int(91), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17316, + FreeVars: ast.Identifiers{ + "$std", + "pat", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1591), + Column: int(5), + }, + End: ast.Location{ + Line: int(1601), + Column: int(91), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "pat", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1590), + Column: int(14), + }, + End: ast.Location{ + Line: int(1590), + Column: int(17), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1590), + Column: int(19), + }, + End: ast.Location{ + Line: int(1590), + Column: int(22), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1590), + Column: int(3), + }, + End: ast.Location{ + Line: int(1601), + Column: int(91), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "find", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1604), + Column: int(9), + }, + End: ast.Location{ + Line: int(1604), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1604), + Column: int(9), + }, + End: ast.Location{ + Line: int(1604), + Column: int(20), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17503, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1604), + Column: int(21), + }, + End: ast.Location{ + Line: int(1604), + Column: int(24), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1604), + Column: int(9), + }, + End: ast.Location{ + Line: int(1604), + Column: int(25), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1604), + Column: int(8), + }, + End: ast.Location{ + Line: int(1604), + Column: int(25), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1605), + Column: int(64), + }, + End: ast.Location{ + Line: int(1605), + Column: int(67), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1605), + Column: int(64), + }, + End: ast.Location{ + Line: int(1605), + Column: int(72), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17517, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1605), + Column: int(73), + }, + End: ast.Location{ + Line: int(1605), + Column: int(76), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1605), + Column: int(64), + }, + End: ast.Location{ + Line: int(1605), + Column: int(77), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "find second parameter should be an array, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1605), + Column: int(13), + }, + End: ast.Location{ + Line: int(1605), + Column: int(61), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1605), + Column: int(13), + }, + End: ast.Location{ + Line: int(1605), + Column: int(77), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1605), + Column: int(7), + }, + End: ast.Location{ + Line: int(1605), + Column: int(77), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(7), + }, + End: ast.Location{ + Line: int(1607), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "filter", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(7), + }, + End: ast.Location{ + Line: int(1607), + Column: int(17), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Var{ + Id: "value", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17535, + FreeVars: ast.Identifiers{ + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(40), + }, + End: ast.Location{ + Line: int(1607), + Column: int(45), + }, + }, + }, + }, + Left: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17535, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(30), + }, + End: ast.Location{ + Line: int(1607), + Column: int(33), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17535, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(34), + }, + End: ast.Location{ + Line: int(1607), + Column: int(35), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17535, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(30), + }, + End: ast.Location{ + Line: int(1607), + Column: int(36), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17535, + FreeVars: ast.Identifiers{ + "arr", + "i", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(30), + }, + End: ast.Location{ + Line: int(1607), + Column: int(45), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(27), + }, + End: ast.Location{ + Line: int(1607), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17545, + FreeVars: ast.Identifiers{ + "arr", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(18), + }, + End: ast.Location{ + Line: int(1607), + Column: int(45), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(47), + }, + End: ast.Location{ + Line: int(1607), + Column: int(50), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17545, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(47), + }, + End: ast.Location{ + Line: int(1607), + Column: int(56), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17555, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(57), + }, + End: ast.Location{ + Line: int(1607), + Column: int(58), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17555, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(78), + }, + End: ast.Location{ + Line: int(1607), + Column: int(79), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(60), + }, + End: ast.Location{ + Line: int(1607), + Column: int(63), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -217226,314 +221481,818 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, + Kind: ast.LiteralStringKind(1), }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(32), - }, - End: ast.Location{ - Line: int(1589), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17211, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(36), - }, - End: ast.Location{ - Line: int(1589), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17211, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(38), - }, - End: ast.Location{ - Line: int(1589), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17211, - FreeVars: ast.Identifiers{ - "i", - "pat_len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(38), - }, - End: ast.Location{ - Line: int(1589), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17211, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(42), - }, - End: ast.Location{ - Line: int(1589), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17211, - FreeVars: ast.Identifiers{ - "pat_len", - }, - }, - Id: "pat_len", - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17555, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1589), - Column: int(54), + Line: int(1607), + Column: int(60), }, End: ast.Location{ - Line: int(1589), - Column: int(57), + Line: int(1607), + Column: int(70), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17211, - FreeVars: ast.Identifiers{ - "pat", }, }, - Id: "pat", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17566, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(71), + }, + End: ast.Location{ + Line: int(1607), + Column: int(74), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17555, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(60), + }, + End: ast.Location{ + Line: int(1607), + Column: int(75), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17555, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(60), + }, + End: ast.Location{ + Line: int(1607), + Column: int(79), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17545, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(47), + }, + End: ast.Location{ + Line: int(1607), + Column: int(80), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "arr", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1607), + Column: int(7), + }, + End: ast.Location{ + Line: int(1607), + Column: int(81), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17499, + FreeVars: ast.Identifiers{ + "arr", + "std", + "value", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1604), + Column: int(5), + }, + End: ast.Location{ + Line: int(1607), + Column: int(81), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1603), + Column: int(8), + }, + End: ast.Location{ + Line: int(1603), + Column: int(13), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1603), + Column: int(15), + }, + End: ast.Location{ + Line: int(1603), + Column: int(18), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1603), + Column: int(3), + }, + End: ast.Location{ + Line: int(1607), + Column: int(81), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "all", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(12), + }, + End: ast.Location{ + Line: int(1610), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(12), + }, + End: ast.Location{ + Line: int(1610), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17589, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(24), + }, + End: ast.Location{ + Line: int(1610), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(12), + }, + End: ast.Location{ + Line: int(1610), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1611), + Column: int(20), + }, + End: ast.Location{ + Line: int(1611), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17599, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1611), + Column: int(20), + }, + End: ast.Location{ + Line: int(1611), + Column: int(30), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17603, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1611), + Column: int(31), + }, + End: ast.Location{ + Line: int(1611), + Column: int(34), }, }, }, - CommaFodder: ast.Fodder{}, }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(59), - }, - End: ast.Location{ - Line: int(1589), - Column: int(90), - }, - File: p1, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17599, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1611), + Column: int(20), + }, + End: ast.Location{ + Line: int(1611), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "arrLen", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1611), + Column: int(11), + }, + End: ast.Location{ + Line: int(1611), + Column: int(35), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "arrLen", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "arrLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1613), + Column: int(17), }, - Fodder: ast.Fodder{}, - Ctx: p17207, - FreeVars: ast.Identifiers{ - "pat_len", - "std", - "str_len", + End: ast.Location{ + Line: int(1613), + Column: int(23), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(59), - }, - End: ast.Location{ - Line: int(1589), - Column: int(68), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17207, - FreeVars: ast.Identifiers{ - "std", - }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1613), + Column: int(10), }, + End: ast.Location{ + Line: int(1613), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "arrLen", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1613), + Column: int(10), + }, + End: ast.Location{ + Line: int(1613), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17612, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1614), + Column: int(9), + }, + End: ast.Location{ + Line: int(1614), + Column: int(13), + }, + }, + }, + Value: true, + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ Target: &ast.Var{ + Id: "arr", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17623, + FreeVars: ast.Identifiers{ + "arr", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1589), - Column: int(59), + Line: int(1616), + Column: int(19), }, End: ast.Location{ - Line: int(1589), - Column: int(62), + Line: int(1616), + Column: int(22), }, - File: p1, }, + }, + }, + Index: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17623, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1616), + Column: int(23), + }, + End: ast.Location{ + Line: int(1616), + Column: int(26), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17623, + FreeVars: ast.Identifiers{ + "arr", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1616), + Column: int(19), + }, + End: ast.Location{ + Line: int(1616), + Column: int(27), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "e", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1616), + Column: int(15), + }, + End: ast.Location{ + Line: int(1616), + Column: int(27), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(16), + }, + End: ast.Location{ + Line: int(1617), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isBoolean", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -217543,113 +222302,57 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "range", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(16), + }, + End: ast.Location{ + Line: int(1617), + Column: int(29), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ + Expr: &ast.Var{ + Id: "e", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(69), - }, - End: ast.Location{ - Line: int(1589), - Column: int(70), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17243, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(72), - }, - End: ast.Location{ - Line: int(1589), - Column: int(89), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17243, + Ctx: p17637, FreeVars: ast.Identifiers{ - "pat_len", - "str_len", + "e", }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(72), - }, - End: ast.Location{ - Line: int(1589), - Column: int(79), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(30), }, - Fodder: ast.Fodder{}, - Ctx: p17243, - FreeVars: ast.Identifiers{ - "str_len", + End: ast.Location{ + Line: int(1617), + Column: int(31), }, }, - Id: "str_len", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1589), - Column: int(82), - }, - End: ast.Location{ - Line: int(1589), - Column: int(89), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17243, - FreeVars: ast.Identifiers{ - "pat_len", - }, - }, - Id: "pat_len", }, }, CommaFodder: nil, @@ -217657,1442 +222360,3072 @@ var _StdAst = &ast.DesugaredObject{ }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - }, - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(3), - }, - End: ast.Location{ - Line: int(1589), - Column: int(91), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "find", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(8), - }, - End: ast.Location{ - Line: int(1591), - Column: int(13), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(15), - }, - End: ast.Location{ - Line: int(1591), - Column: int(18), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(5), - }, - End: ast.Location{ - Line: int(1595), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "arr", - "std", - "value", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(8), - }, - End: ast.Location{ - Line: int(1592), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(9), - }, - End: ast.Location{ - Line: int(1592), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(9), - }, - End: ast.Location{ - Line: int(1592), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(9), - }, - End: ast.Location{ - Line: int(1592), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(21), - }, - End: ast.Location{ - Line: int(1592), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17269, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(7), - }, - End: ast.Location{ - Line: int(1593), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(13), - }, - End: ast.Location{ - Line: int(1593), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(13), - }, - End: ast.Location{ - Line: int(1593), - Column: int(61), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{}, - }, - Value: "find second parameter should be an array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(64), - }, - End: ast.Location{ - Line: int(1593), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(64), - }, - End: ast.Location{ - Line: int(1593), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(64), - }, - End: ast.Location{ - Line: int(1593), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(73), - }, - End: ast.Location{ - Line: int(1593), - Column: int(76), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17286, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(7), - }, - End: ast.Location{ - Line: int(1595), - Column: int(81), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "arr", - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(7), - }, - End: ast.Location{ - Line: int(1595), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17256, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(7), - }, - End: ast.Location{ - Line: int(1595), - Column: int(10), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "filter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(18), - }, - End: ast.Location{ - Line: int(1595), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17299, - FreeVars: ast.Identifiers{ - "arr", - "value", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(27), - }, - End: ast.Location{ - Line: int(1595), - Column: int(28), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(30), - }, - End: ast.Location{ - Line: int(1595), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17303, - FreeVars: ast.Identifiers{ - "arr", - "i", - "value", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(30), - }, - End: ast.Location{ - Line: int(1595), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17303, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(30), - }, - End: ast.Location{ - Line: int(1595), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17303, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(34), - }, - End: ast.Location{ - Line: int(1595), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17303, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(40), - }, - End: ast.Location{ - Line: int(1595), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17303, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(47), - }, - End: ast.Location{ - Line: int(1595), - Column: int(80), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17299, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(47), - }, - End: ast.Location{ - Line: int(1595), - Column: int(56), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17299, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(47), - }, - End: ast.Location{ - Line: int(1595), - Column: int(50), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "range", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(57), - }, - End: ast.Location{ - Line: int(1595), - Column: int(58), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17322, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(60), - }, - End: ast.Location{ - Line: int(1595), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17322, + Ctx: p17612, FreeVars: ast.Identifiers{ - "arr", + "e", "std", }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(60), - }, - End: ast.Location{ - Line: int(1595), - Column: int(75), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(16), }, - Fodder: ast.Fodder{}, - Ctx: p17322, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(1617), + Column: int(32), }, }, - Target: &ast.Index{ + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Unary{ + Expr: &ast.Var{ + Id: "e", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "e", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1595), - Column: int(60), + Line: int(1618), + Column: int(13), }, End: ast.Location{ - Line: int(1595), - Column: int(70), + Line: int(1618), + Column: int(14), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17322, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1618), + Column: int(12), + }, + End: ast.Location{ + Line: int(1618), + Column: int(14), + }, + }, + }, + Op: ast.UnaryOp(0), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p17612, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1619), + Column: int(11), + }, + End: ast.Location{ + Line: int(1619), + Column: int(16), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p17612, FreeVars: ast.Identifiers{ - "std", + "aux", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(60), - }, - End: ast.Location{ - Line: int(1595), - Column: int(63), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1621), + Column: int(11), }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1621), + Column: int(14), }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1595), - Column: int(71), + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17654, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1621), + Column: int(21), + }, + End: ast.Location{ + Line: int(1621), + Column: int(22), + }, }, - End: ast.Location{ - Line: int(1595), - Column: int(74), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17334, - FreeVars: ast.Identifiers{ - "arr", }, }, - Id: "arr", + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17654, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1621), + Column: int(15), + }, + End: ast.Location{ + Line: int(1621), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17654, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1621), + Column: int(15), + }, + End: ast.Location{ + Line: int(1621), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(3), }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ + TailStrictFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "aux", + "idx", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1595), - Column: int(78), + Line: int(1621), + Column: int(11), }, End: ast.Location{ - Line: int(1595), - Column: int(79), + Line: int(1621), + Column: int(23), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17322, - FreeVars: ast.Identifiers{}, }, - OriginalString: "1", + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "aux", + "e", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1618), + Column: int(9), + }, + End: ast.Location{ + Line: int(1621), + Column: int(23), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(35), + }, + End: ast.Location{ + Line: int(1617), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "format", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(35), + }, + End: ast.Location{ + Line: int(1617), + Column: int(45), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "element \"%s\" of type %s is not a boolean", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17671, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(46), + }, + End: ast.Location{ + Line: int(1617), + Column: int(88), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17671, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(90), + }, + End: ast.Location{ + Line: int(1617), + Column: int(91), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(93), + }, + End: ast.Location{ + Line: int(1617), + Column: int(96), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17671, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(93), + }, + End: ast.Location{ + Line: int(1617), + Column: int(101), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17682, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(102), + }, + End: ast.Location{ + Line: int(1617), + Column: int(103), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17671, + FreeVars: ast.Identifiers{ + "e", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(93), + }, + End: ast.Location{ + Line: int(1617), + Column: int(104), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "e", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(35), + }, + End: ast.Location{ + Line: int(1617), + Column: int(105), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "e", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1617), + Column: int(9), + }, + End: ast.Location{ + Line: int(1621), + Column: int(23), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "e", + "idx", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "idx", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1616), + Column: int(9), + }, + End: ast.Location{ + Line: int(1621), + Column: int(23), }, }, - CommaFodder: nil, }, }, - Named: nil, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17612, + FreeVars: ast.Identifiers{ + "arr", + "arrLen", + "aux", + "idx", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1613), + Column: int(7), + }, + End: ast.Location{ + Line: int(1621), + Column: int(23), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "idx", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1612), + Column: int(15), + }, + End: ast.Location{ + Line: int(1612), + Column: int(18), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p17694, + FreeVars: ast.Identifiers{ + "arr", + "arrLen", + "aux", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1612), + Column: int(11), + }, + End: ast.Location{ + Line: int(1621), + Column: int(23), + }, + }, }, TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + }, + EqFodder: nil, + Variable: "aux", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1622), + Column: int(5), + }, + End: ast.Location{ + Line: int(1622), + Column: int(8), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17702, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1622), + Column: int(9), + }, + End: ast.Location{ + Line: int(1622), + Column: int(10), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1622), + Column: int(5), + }, + End: ast.Location{ + Line: int(1622), + Column: int(11), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "arr", + "arrLen", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1612), + Column: int(5), + }, + End: ast.Location{ + Line: int(1622), + Column: int(11), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1611), + Column: int(5), + }, + End: ast.Location{ + Line: int(1622), + Column: int(11), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(76), + }, + End: ast.Location{ + Line: int(1610), + Column: int(79), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(76), + }, + End: ast.Location{ + Line: int(1610), + Column: int(84), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17718, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(85), + }, + End: ast.Location{ + Line: int(1610), + Column: int(88), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(76), + }, + End: ast.Location{ + Line: int(1610), + Column: int(89), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "all() parameter should be an array, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17585, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(31), + }, + End: ast.Location{ + Line: int(1610), + Column: int(73), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17585, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(31), + }, + End: ast.Location{ + Line: int(1610), + Column: int(89), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1610), + Column: int(5), + }, + End: ast.Location{ + Line: int(1622), + Column: int(11), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1609), + Column: int(7), + }, + End: ast.Location{ + Line: int(1609), + Column: int(10), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1609), + Column: int(3), + }, + End: ast.Location{ + Line: int(1622), + Column: int(11), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "any", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(12), + }, + End: ast.Location{ + Line: int(1625), + Column: int(15), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isArray", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(12), + }, + End: ast.Location{ + Line: int(1625), + Column: int(23), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17739, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(24), + }, + End: ast.Location{ + Line: int(1625), + Column: int(27), + }, + }, + }, }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(12), + }, + End: ast.Location{ + Line: int(1625), + Column: int(28), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1626), + Column: int(20), + }, + End: ast.Location{ + Line: int(1626), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17749, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1626), + Column: int(20), + }, + End: ast.Location{ + Line: int(1626), + Column: int(30), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17753, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1626), + Column: int(31), + }, + End: ast.Location{ + Line: int(1626), + Column: int(34), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17749, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1626), + Column: int(20), + }, + End: ast.Location{ + Line: int(1626), + Column: int(35), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "arrLen", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1626), + Column: int(11), + }, + End: ast.Location{ + Line: int(1626), + Column: int(35), + }, + }, + }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "arrLen", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "arrLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1628), + Column: int(17), + }, + End: ast.Location{ + Line: int(1628), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1628), + Column: int(10), + }, + End: ast.Location{ + Line: int(1628), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "arrLen", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1628), + Column: int(10), + }, + End: ast.Location{ + Line: int(1628), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17762, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1629), + Column: int(9), + }, + End: ast.Location{ + Line: int(1629), + Column: int(14), + }, + }, + }, + Value: false, + }, + BranchFalse: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Index{ + Target: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17773, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1631), + Column: int(19), + }, + End: ast.Location{ + Line: int(1631), + Column: int(22), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17773, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1631), + Column: int(23), + }, + End: ast.Location{ + Line: int(1631), + Column: int(26), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17773, + FreeVars: ast.Identifiers{ + "arr", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1631), + Column: int(19), + }, + End: ast.Location{ + Line: int(1631), + Column: int(27), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "e", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1631), + Column: int(15), + }, + End: ast.Location{ + Line: int(1631), + Column: int(27), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(16), + }, + End: ast.Location{ + Line: int(1632), + Column: int(19), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "isBoolean", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(16), + }, + End: ast.Location{ + Line: int(1632), + Column: int(29), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17787, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(30), + }, + End: ast.Location{ + Line: int(1632), + Column: int(31), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "e", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(16), + }, + End: ast.Location{ + Line: int(1632), + Column: int(32), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchTrue: &ast.Conditional{ + Cond: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1633), + Column: int(12), + }, + End: ast.Location{ + Line: int(1633), + Column: int(13), + }, + }, + }, + }, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p17762, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1634), + Column: int(11), + }, + End: ast.Location{ + Line: int(1634), + Column: int(15), + }, + }, + }, + Value: true, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1636), + Column: int(11), + }, + End: ast.Location{ + Line: int(1636), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17802, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1636), + Column: int(21), + }, + End: ast.Location{ + Line: int(1636), + Column: int(22), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "idx", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17802, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1636), + Column: int(15), + }, + End: ast.Location{ + Line: int(1636), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17802, + FreeVars: ast.Identifiers{ + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1636), + Column: int(15), + }, + End: ast.Location{ + Line: int(1636), + Column: int(22), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "aux", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1636), + Column: int(11), + }, + End: ast.Location{ + Line: int(1636), + Column: int(23), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "aux", + "e", + "idx", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1633), + Column: int(9), + }, + End: ast.Location{ + Line: int(1636), + Column: int(23), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(35), + }, + End: ast.Location{ + Line: int(1632), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "format", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(35), + }, + End: ast.Location{ + Line: int(1632), + Column: int(45), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "element \"%s\" of type %s is not a boolean", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17819, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(46), + }, + End: ast.Location{ + Line: int(1632), + Column: int(88), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17819, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(90), + }, + End: ast.Location{ + Line: int(1632), + Column: int(91), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(93), + }, + End: ast.Location{ + Line: int(1632), + Column: int(96), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17819, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(93), + }, + End: ast.Location{ + Line: int(1632), + Column: int(101), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "e", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17830, + FreeVars: ast.Identifiers{ + "e", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(102), + }, + End: ast.Location{ + Line: int(1632), + Column: int(103), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17819, + FreeVars: ast.Identifiers{ + "e", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(93), + }, + End: ast.Location{ + Line: int(1632), + Column: int(104), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "e", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(35), + }, + End: ast.Location{ + Line: int(1632), + Column: int(105), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "e", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1632), + Column: int(9), + }, + End: ast.Location{ + Line: int(1636), + Column: int(23), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "e", + "idx", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "idx", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1631), + Column: int(9), + }, + End: ast.Location{ + Line: int(1636), + Column: int(23), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17762, + FreeVars: ast.Identifiers{ + "arr", + "arrLen", + "aux", + "idx", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1628), + Column: int(7), + }, + End: ast.Location{ + Line: int(1636), + Column: int(23), + }, + }, + }, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "idx", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1627), + Column: int(15), + }, + End: ast.Location{ + Line: int(1627), + Column: int(18), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p17842, + FreeVars: ast.Identifiers{ + "arr", + "arrLen", + "aux", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1627), + Column: int(11), + }, + End: ast.Location{ + Line: int(1636), + Column: int(23), + }, + }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "aux", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Body: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1637), + Column: int(5), + }, + End: ast.Location{ + Line: int(1637), + Column: int(8), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17850, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1637), + Column: int(9), + }, + End: ast.Location{ + Line: int(1637), + Column: int(10), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1637), + Column: int(5), + }, + End: ast.Location{ + Line: int(1637), + Column: int(11), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "arr", + "arrLen", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1627), + Column: int(5), + }, + End: ast.Location{ + Line: int(1637), + Column: int(11), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1626), + Column: int(5), + }, + End: ast.Location{ + Line: int(1637), + Column: int(11), + }, + }, + }, + }, + BranchFalse: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(76), + }, + End: ast.Location{ + Line: int(1625), + Column: int(79), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(76), + }, + End: ast.Location{ + Line: int(1625), + Column: int(84), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17866, + FreeVars: ast.Identifiers{ + "arr", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(85), + }, + End: ast.Location{ + Line: int(1625), + Column: int(88), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(76), + }, + End: ast.Location{ + Line: int(1625), + Column: int(89), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + Left: &ast.LiteralString{ + Value: "any() parameter should be an array, got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17735, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(31), + }, + End: ast.Location{ + Line: int(1625), + Column: int(73), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17735, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(31), + }, + End: ast.Location{ + Line: int(1625), + Column: int(89), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1625), + Column: int(5), + }, + End: ast.Location{ + Line: int(1637), + Column: int(11), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(3), - }, - End: ast.Location{ - Line: int(1595), - Column: int(81), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__compare", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "v1", + Name: "arr", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1599), - Column: int(13), + Line: int(1624), + Column: int(7), }, End: ast.Location{ - Line: int(1599), - Column: int(15), + Line: int(1624), + Column: int(10), }, - File: p1, }, }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v2", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1599), - Column: int(17), - }, - End: ast.Location{ - Line: int(1599), - Column: int(19), - }, - File: p1, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(7), - }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1624), + Column: int(3), + }, + End: ast.Location{ + Line: int(1637), + Column: int(11), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "__compare", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "std", - "v1", - "v2", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "t1", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(18), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(16), + }, + End: ast.Location{ + Line: int(1642), + Column: int(19), + }, + }, }, - End: ast.Location{ - Line: int(1600), - Column: int(30), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17884, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(16), + }, + End: ast.Location{ + Line: int(1642), + Column: int(24), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17888, + FreeVars: ast.Identifiers{ + "v1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(25), + }, + End: ast.Location{ + Line: int(1642), + Column: int(27), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p17347, + Ctx: p17884, FreeVars: ast.Identifiers{ "std", "v1", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(18), - }, - End: ast.Location{ - Line: int(1600), - Column: int(26), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(16), }, - Fodder: ast.Fodder{}, - Ctx: p17347, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1642), + Column: int(28), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(18), - }, - End: ast.Location{ - Line: int(1600), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(27), - }, - End: ast.Location{ - Line: int(1600), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17356, - FreeVars: ast.Identifiers{ - "v1", - }, - }, - Id: "v1", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "t1", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1600), - Column: int(13), + Line: int(1642), + Column: int(11), }, End: ast.Location{ - Line: int(1600), - Column: int(30), + Line: int(1642), + Column: int(28), }, - File: p1, }, }, ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "t2", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(37), - }, - End: ast.Location{ - Line: int(1600), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17359, - FreeVars: ast.Identifiers{ - "std", - "v2", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(37), - }, - End: ast.Location{ - Line: int(1600), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17359, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(37), - }, - End: ast.Location{ - Line: int(1600), - Column: int(40), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(35), + }, + End: ast.Location{ + Line: int(1642), + Column: int(38), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "type", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -219102,95 +225435,1346 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "type", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17896, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(35), + }, + End: ast.Location{ + Line: int(1642), + Column: int(43), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "v2", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1600), - Column: int(46), - }, - End: ast.Location{ - Line: int(1600), - Column: int(48), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17368, + Ctx: p17900, FreeVars: ast.Identifiers{ "v2", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(44), + }, + End: ast.Location{ + Line: int(1642), + Column: int(46), + }, + }, }, - Id: "v2", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17896, + FreeVars: ast.Identifiers{ + "std", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(35), + }, + End: ast.Location{ + Line: int(1642), + Column: int(47), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "t2", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1600), - Column: int(32), + Line: int(1642), + Column: int(30), }, End: ast.Location{ - Line: int(1600), - Column: int(49), + Line: int(1642), + Column: int(47), }, - File: p1, }, }, }, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(7), + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "t2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1643), + Column: int(14), + }, + End: ast.Location{ + Line: int(1643), + Column: int(16), + }, + }, }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, }, - Fodder: ast.Fodder{ + Left: &ast.Var{ + Id: "t1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1643), + Column: int(8), + }, + End: ast.Location{ + Line: int(1643), + Column: int(10), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + "t2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1643), + Column: int(8), + }, + End: ast.Location{ + Line: int(1643), + Column: int(16), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.Var{ + Id: "t2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(73), + }, + End: ast.Location{ + Line: int(1644), + Column: int(75), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " and ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(63), + }, + End: ast.Location{ + Line: int(1644), + Column: int(70), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "t1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(58), + }, + End: ast.Location{ + Line: int(1644), + Column: int(60), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Comparison requires matching types. Got ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(13), + }, + End: ast.Location{ + Line: int(1644), + Column: int(55), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(13), + }, + End: ast.Location{ + Line: int(1644), + Column: int(60), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(13), + }, + End: ast.Location{ + Line: int(1644), + Column: int(70), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + "t2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(13), + }, + End: ast.Location{ + Line: int(1644), + Column: int(75), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + "t2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1644), + Column: int(7), + }, + End: ast.Location{ + Line: int(1644), + Column: int(75), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "array", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1645), + Column: int(19), + }, + End: ast.Location{ + Line: int(1645), + Column: int(26), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "t1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1645), + Column: int(13), + }, + End: ast.Location{ + Line: int(1645), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1645), + Column: int(13), + }, + End: ast.Location{ + Line: int(1645), + Column: int(26), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + BranchTrue: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1646), + Column: int(7), + }, + End: ast.Location{ + Line: int(1646), + Column: int(10), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "__compare_array", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1646), + Column: int(7), + }, + End: ast.Location{ + Line: int(1646), + Column: int(26), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17941, + FreeVars: ast.Identifiers{ + "v1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1646), + Column: int(27), + }, + End: ast.Location{ + Line: int(1646), + Column: int(29), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "v2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17941, + FreeVars: ast.Identifiers{ + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1646), + Column: int(31), + }, + End: ast.Location{ + Line: int(1646), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "std", + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1646), + Column: int(7), + }, + End: ast.Location{ + Line: int(1646), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "boolean", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(57), + }, + End: ast.Location{ + Line: int(1647), + Column: int(66), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "t1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(51), + }, + End: ast.Location{ + Line: int(1647), + Column: int(53), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(51), + }, + End: ast.Location{ + Line: int(1647), + Column: int(66), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "object", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(39), + }, + End: ast.Location{ + Line: int(1647), + Column: int(47), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "t1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(33), + }, + End: ast.Location{ + Line: int(1647), + Column: int(35), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(33), + }, + End: ast.Location{ + Line: int(1647), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Left: &ast.Binary{ + Right: &ast.LiteralString{ + Value: "function", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(19), + }, + End: ast.Location{ + Line: int(1647), + Column: int(29), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Var{ + Id: "t1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(13), + }, + End: ast.Location{ + Line: int(1647), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(13), + }, + End: ast.Location{ + Line: int(1647), + Column: int(29), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(13), + }, + End: ast.Location{ + Line: int(1647), + Column: int(47), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(13), + }, + End: ast.Location{ + Line: int(1647), + Column: int(66), + }, + }, + }, + Op: ast.BinaryOp(18), + }, + BranchTrue: &ast.Error{ + Expr: &ast.Binary{ + Right: &ast.LiteralString{ + Value: " are not comparable.", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1648), + Column: int(38), + }, + End: ast.Location{ + Line: int(1648), + Column: int(60), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "t1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1648), + Column: int(33), + }, + End: ast.Location{ + Line: int(1648), + Column: int(35), + }, + }, + }, + }, + Left: &ast.LiteralString{ + Value: "Values of type ", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1648), + Column: int(13), + }, + End: ast.Location{ + Line: int(1648), + Column: int(30), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1648), + Column: int(13), + }, + End: ast.Location{ + Line: int(1648), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1648), + Column: int(13), + }, + End: ast.Location{ + Line: int(1648), + Column: int(60), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1648), + Column: int(7), + }, + End: ast.Location{ + Line: int(1648), + Column: int(60), + }, + }, + }, + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "v2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1649), + Column: int(18), + }, + End: ast.Location{ + Line: int(1649), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1649), + Column: int(13), + }, + End: ast.Location{ + Line: int(1649), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1649), + Column: int(13), + }, + End: ast.Location{ + Line: int(1649), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1649), + Column: int(27), + }, + End: ast.Location{ + Line: int(1649), + Column: int(28), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1649), + Column: int(26), + }, + End: ast.Location{ + Line: int(1649), + Column: int(28), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "v2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1650), + Column: int(18), + }, + End: ast.Location{ + Line: int(1650), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "v1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1650), + Column: int(13), + }, + End: ast.Location{ + Line: int(1650), + Column: int(15), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1650), + Column: int(13), + }, + End: ast.Location{ + Line: int(1650), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + BranchTrue: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1650), + Column: int(26), + }, + End: ast.Location{ + Line: int(1650), + Column: int(27), + }, + }, + }, + }, + BranchFalse: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1651), + Column: int(10), + }, + End: ast.Location{ + Line: int(1651), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1650), + Column: int(10), + }, + End: ast.Location{ + Line: int(1651), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1649), + Column: int(10), + }, + End: ast.Location{ + Line: int(1651), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "t1", + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1647), + Column: int(10), + }, + End: ast.Location{ + Line: int(1651), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Indent: int(4), }, }, - Ctx: p17343, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "std", + "t1", + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1645), + Column: int(10), + }, + End: ast.Location{ + Line: int(1651), + Column: int(11), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p17906, FreeVars: ast.Identifiers{ "std", "t1", @@ -219198,1586 +226782,335 @@ var _StdAst = &ast.DesugaredObject{ "v1", "v2", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(10), - }, - End: ast.Location{ - Line: int(1601), - Column: int(18), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1643), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - "t2", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(10), - }, - End: ast.Location{ - Line: int(1601), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Id: "t1", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(16), - }, - End: ast.Location{ - Line: int(1601), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t2", - }, - }, - Id: "t2", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(9), - }, - End: ast.Location{ - Line: int(1602), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - "t2", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(15), - }, - End: ast.Location{ - Line: int(1602), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - "t2", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(15), - }, - End: ast.Location{ - Line: int(1602), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(15), - }, - End: ast.Location{ - Line: int(1602), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(15), - }, - End: ast.Location{ - Line: int(1602), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: "Comparison requires matching types. Got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(60), - }, - End: ast.Location{ - Line: int(1602), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Id: "t1", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(65), - }, - End: ast.Location{ - Line: int(1602), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: " and ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1602), - Column: int(75), - }, - End: ast.Location{ - Line: int(1602), - Column: int(77), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t2", - }, - }, - Id: "t2", + End: ast.Location{ + Line: int(1651), + Column: int(11), }, }, }, - ElseFodder: ast.Fodder{ + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), - Indent: int(6), - Comment: []string{}, + Indent: int(4), }, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1603), - Column: int(12), - }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "std", - "t1", - "v1", - "v2", - }, + Ctx: p17906, + FreeVars: ast.Identifiers{ + "std", + "v1", + "v2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1642), + Column: int(5), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1603), - Column: int(15), - }, - End: ast.Location{ - Line: int(1603), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1603), - Column: int(15), - }, - End: ast.Location{ - Line: int(1603), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Id: "t1", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1603), - Column: int(21), - }, - End: ast.Location{ - Line: int(1603), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(9), - }, - End: ast.Location{ - Line: int(1604), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "std", - "v1", - "v2", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(9), - }, - End: ast.Location{ - Line: int(1604), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(9), - }, - End: ast.Location{ - Line: int(1604), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__compare_array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(29), - }, - End: ast.Location{ - Line: int(1604), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17412, - FreeVars: ast.Identifiers{ - "v1", - }, - }, - Id: "v1", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(33), - }, - End: ast.Location{ - Line: int(1604), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17412, - FreeVars: ast.Identifiers{ - "v2", - }, - }, - Id: "v2", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(12), - }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - "v1", - "v2", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(15), - }, - End: ast.Location{ - Line: int(1605), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(15), - }, - End: ast.Location{ - Line: int(1605), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(15), - }, - End: ast.Location{ - Line: int(1605), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(15), - }, - End: ast.Location{ - Line: int(1605), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Id: "t1", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(21), - }, - End: ast.Location{ - Line: int(1605), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(35), - }, - End: ast.Location{ - Line: int(1605), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(35), - }, - End: ast.Location{ - Line: int(1605), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Id: "t1", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(41), - }, - End: ast.Location{ - Line: int(1605), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(53), - }, - End: ast.Location{ - Line: int(1605), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(53), - }, - End: ast.Location{ - Line: int(1605), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Id: "t1", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(59), - }, - End: ast.Location{ - Line: int(1605), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: "bool", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1606), - Column: int(9), - }, - End: ast.Location{ - Line: int(1606), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1606), - Column: int(15), - }, - End: ast.Location{ - Line: int(1606), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1606), - Column: int(15), - }, - End: ast.Location{ - Line: int(1606), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1606), - Column: int(15), - }, - End: ast.Location{ - Line: int(1606), - Column: int(32), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: "Values of type ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1606), - Column: int(35), - }, - End: ast.Location{ - Line: int(1606), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "t1", - }, - }, - Id: "t1", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1606), - Column: int(40), - }, - End: ast.Location{ - Line: int(1606), - Column: int(62), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Value: " are not comparable.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(12), - }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(15), - }, - End: ast.Location{ - Line: int(1607), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(15), - }, - End: ast.Location{ - Line: int(1607), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v1", - }, - }, - Id: "v1", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(20), - }, - End: ast.Location{ - Line: int(1607), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v2", - }, - }, - Id: "v2", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(28), - }, - End: ast.Location{ - Line: int(1607), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(29), - }, - End: ast.Location{ - Line: int(1607), - Column: int(30), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1608), - Column: int(12), - }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1608), - Column: int(15), - }, - End: ast.Location{ - Line: int(1608), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1608), - Column: int(15), - }, - End: ast.Location{ - Line: int(1608), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v1", - }, - }, - Id: "v1", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1608), - Column: int(20), - }, - End: ast.Location{ - Line: int(1608), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{ - "v2", - }, - }, - Id: "v2", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1608), - Column: int(28), - }, - End: ast.Location{ - Line: int(1608), - Column: int(29), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1609), - Column: int(12), - }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17343, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, + End: ast.Location{ + Line: int(1651), + Column: int(11), }, }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1599), - Column: int(3), - }, - End: ast.Location{ - Line: int(1609), - Column: int(13), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__compare_array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arr1", + Name: "v1", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1611), - Column: int(19), + Line: int(1641), + Column: int(13), }, End: ast.Location{ - Line: int(1611), - Column: int(23), + Line: int(1641), + Column: int(15), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, - Name: "arr2", + Name: "v2", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1611), - Column: int(25), + Line: int(1641), + Column: int(17), }, End: ast.Location{ - Line: int(1611), - Column: int(29), + Line: int(1641), + Column: int(19), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(5), - }, - End: ast.Location{ - Line: int(1623), - Column: int(11), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1641), + Column: int(3), + }, + End: ast.Location{ + Line: int(1651), + Column: int(11), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "__compare_array", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17478, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "len1", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(18), + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(18), + }, + End: ast.Location{ + Line: int(1654), + Column: int(21), + }, + }, }, - End: ast.Location{ - Line: int(1612), - Column: int(34), - }, - File: p1, }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18019, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(18), + }, + End: ast.Location{ + Line: int(1654), + Column: int(28), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18023, + FreeVars: ast.Identifiers{ + "arr1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(29), + }, + End: ast.Location{ + Line: int(1654), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{}, - Ctx: p17482, + Ctx: p18019, FreeVars: ast.Identifiers{ "arr1", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(18), - }, - End: ast.Location{ - Line: int(1612), - Column: int(28), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(18), }, - Fodder: ast.Fodder{}, - Ctx: p17482, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1654), + Column: int(34), }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(18), - }, - End: ast.Location{ - Line: int(1612), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(29), - }, - End: ast.Location{ - Line: int(1612), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17491, - FreeVars: ast.Identifiers{ - "arr1", - }, - }, - Id: "arr1", - }, - CommaFodder: nil, - }, - }, - Named: nil, }, TrailingComma: false, TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "len1", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1612), + Line: int(1654), Column: int(11), }, End: ast.Location{ - Line: int(1612), + Line: int(1654), Column: int(34), }, - File: p1, }, }, ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "len2", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(43), - }, - End: ast.Location{ - Line: int(1612), - Column: int(59), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17494, - FreeVars: ast.Identifiers{ - "arr2", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(43), - }, - End: ast.Location{ - Line: int(1612), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17494, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(43), - }, - End: ast.Location{ - Line: int(1612), - Column: int(46), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(43), + }, + End: ast.Location{ + Line: int(1654), + Column: int(46), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "length", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -220787,176 +227120,145 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "length", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18031, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(43), + }, + End: ast.Location{ + Line: int(1654), + Column: int(53), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr2", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(54), - }, - End: ast.Location{ - Line: int(1612), - Column: int(58), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17503, + Ctx: p18035, FreeVars: ast.Identifiers{ "arr2", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(54), + }, + End: ast.Location{ + Line: int(1654), + Column: int(58), + }, + }, }, - Id: "arr2", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18031, + FreeVars: ast.Identifiers{ + "arr2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(43), + }, + End: ast.Location{ + Line: int(1654), + Column: int(59), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "len2", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1612), + Line: int(1654), Column: int(36), }, End: ast.Location{ - Line: int(1612), + Line: int(1654), Column: int(59), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(5), - }, - End: ast.Location{ - Line: int(1623), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17478, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "len1", - "len2", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "minLen", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(20), - }, - End: ast.Location{ - Line: int(1613), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17510, - FreeVars: ast.Identifiers{ - "len1", - "len2", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(20), - }, - End: ast.Location{ - Line: int(1613), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17510, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(20), - }, - End: ast.Location{ - Line: int(1613), - Column: int(23), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1655), + Column: int(20), + }, + End: ast.Location{ + Line: int(1655), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "min", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -220966,207 +227268,949 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "min", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18045, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1655), + Column: int(20), + }, + End: ast.Location{ + Line: int(1655), + Column: int(27), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "len1", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(28), - }, - End: ast.Location{ - Line: int(1613), - Column: int(32), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17519, + Ctx: p18049, FreeVars: ast.Identifiers{ "len1", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1655), + Column: int(28), + }, + End: ast.Location{ + Line: int(1655), + Column: int(32), + }, + }, }, - Id: "len1", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "len2", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(34), - }, - End: ast.Location{ - Line: int(1613), - Column: int(38), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17519, + Ctx: p18049, FreeVars: ast.Identifiers{ "len2", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1655), + Column: int(34), + }, + End: ast.Location{ + Line: int(1655), + Column: int(38), + }, + }, }, - Id: "len2", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18045, + FreeVars: ast.Identifiers{ + "len1", + "len2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1655), + Column: int(20), + }, + End: ast.Location{ + Line: int(1655), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "minLen", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1613), + Line: int(1655), Column: int(11), }, End: ast.Location{ - Line: int(1613), + Line: int(1655), Column: int(39), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1614), - Column: int(5), - }, - End: ast.Location{ - Line: int(1623), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17478, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "len1", - "len2", - "minLen", - "std", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "aux", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1614), - Column: int(11), - }, - End: ast.Location{ - Line: int(1622), - Column: int(34), - }, - File: p1, - }, - Fodder: nil, - Ctx: p17528, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "aux", - "len1", - "len2", - "minLen", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1614), - Column: int(15), - }, - End: ast.Location{ - Line: int(1614), - Column: int(16), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1615), - Column: int(7), + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "minLen", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "minLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1657), + Column: int(14), + }, + End: ast.Location{ + Line: int(1657), + Column: int(20), + }, + }, }, - End: ast.Location{ - Line: int(1622), - Column: int(34), - }, - File: p1, }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1657), + Column: int(10), + }, + End: ast.Location{ + Line: int(1657), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "i", + "minLen", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1657), + Column: int(10), + }, + End: ast.Location{ + Line: int(1657), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + BranchTrue: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(24), + }, + End: ast.Location{ + Line: int(1658), + Column: int(27), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "__compare", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18072, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(24), + }, + End: ast.Location{ + Line: int(1658), + Column: int(37), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18077, + FreeVars: ast.Identifiers{ + "arr1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(38), + }, + End: ast.Location{ + Line: int(1658), + Column: int(42), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18077, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(43), + }, + End: ast.Location{ + Line: int(1658), + Column: int(44), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18077, + FreeVars: ast.Identifiers{ + "arr1", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(38), + }, + End: ast.Location{ + Line: int(1658), + Column: int(45), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + Target: &ast.Var{ + Id: "arr2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18077, + FreeVars: ast.Identifiers{ + "arr2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(47), + }, + End: ast.Location{ + Line: int(1658), + Column: int(51), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18077, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(52), + }, + End: ast.Location{ + Line: int(1658), + Column: int(53), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18077, + FreeVars: ast.Identifiers{ + "arr2", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(47), + }, + End: ast.Location{ + Line: int(1658), + Column: int(54), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18072, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(24), + }, + End: ast.Location{ + Line: int(1658), + Column: int(55), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: ast.Fodder{}, + Variable: "cmpRes", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(15), + }, + End: ast.Location{ + Line: int(1658), + Column: int(55), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1659), + Column: int(22), + }, + End: ast.Location{ + Line: int(1659), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "cmpRes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "cmpRes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1659), + Column: int(12), + }, + End: ast.Location{ + Line: int(1659), + Column: int(18), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "cmpRes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1659), + Column: int(12), + }, + End: ast.Location{ + Line: int(1659), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(13), + }, + BranchTrue: &ast.Var{ + Id: "cmpRes", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "cmpRes", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1660), + Column: int(11), + }, + End: ast.Location{ + Line: int(1660), + Column: int(17), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Var{ + Id: "aux", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + }, + }, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1662), + Column: int(11), + }, + End: ast.Location{ + Line: int(1662), + Column: int(14), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18105, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1662), + Column: int(19), + }, + End: ast.Location{ + Line: int(1662), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18105, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1662), + Column: int(15), + }, + End: ast.Location{ + Line: int(1662), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18105, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1662), + Column: int(15), + }, + End: ast.Location{ + Line: int(1662), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "aux", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1662), + Column: int(11), + }, + End: ast.Location{ + Line: int(1662), + Column: int(21), + }, + }, + }, + TrailingComma: false, + TailStrict: true, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "aux", + "cmpRes", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1659), + Column: int(9), + }, + End: ast.Location{ + Line: int(1662), + Column: int(21), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "aux", + "i", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1658), + Column: int(9), + }, + End: ast.Location{ + Line: int(1662), + Column: int(21), + }, + }, + }, + }, + BranchFalse: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1664), + Column: int(9), + }, + End: ast.Location{ + Line: int(1664), + Column: int(12), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "__compare", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1664), + Column: int(9), + }, + End: ast.Location{ + Line: int(1664), + Column: int(22), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "len1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18124, + FreeVars: ast.Identifiers{ + "len1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1664), + Column: int(23), + }, + End: ast.Location{ + Line: int(1664), + Column: int(27), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "len2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18124, + FreeVars: ast.Identifiers{ + "len2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1664), + Column: int(29), + }, + End: ast.Location{ + Line: int(1664), + Column: int(33), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18060, + FreeVars: ast.Identifiers{ + "len1", + "len2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1664), + Column: int(9), + }, + End: ast.Location{ + Line: int(1664), + Column: int(34), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p17533, + Ctx: p18060, FreeVars: ast.Identifiers{ "arr1", "arr2", @@ -221177,810 +228221,74 @@ var _StdAst = &ast.DesugaredObject{ "minLen", "std", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1615), - Column: int(10), - }, - End: ast.Location{ - Line: int(1615), - Column: int(20), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1657), + Column: int(7), }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "i", - "minLen", + End: ast.Location{ + Line: int(1664), + Column: int(34), }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1615), - Column: int(10), - }, - End: ast.Location{ - Line: int(1615), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1615), - Column: int(14), - }, - End: ast.Location{ - Line: int(1615), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "minLen", - }, - }, - Id: "minLen", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(9), - }, - End: ast.Location{ - Line: int(1620), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "aux", - "i", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "cmpRes", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(24), - }, - End: ast.Location{ - Line: int(1616), - Column: int(55), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17546, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "i", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(24), - }, - End: ast.Location{ - Line: int(1616), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17546, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(24), - }, - End: ast.Location{ - Line: int(1616), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__compare", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(38), - }, - End: ast.Location{ - Line: int(1616), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "arr1", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(38), - }, - End: ast.Location{ - Line: int(1616), - Column: int(42), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "arr1", - }, - }, - Id: "arr1", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(43), - }, - End: ast.Location{ - Line: int(1616), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(47), - }, - End: ast.Location{ - Line: int(1616), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "arr2", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(47), - }, - End: ast.Location{ - Line: int(1616), - Column: int(51), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "arr2", - }, - }, - Id: "arr2", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(52), - }, - End: ast.Location{ - Line: int(1616), - Column: int(53), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(15), - }, - End: ast.Location{ - Line: int(1616), - Column: int(55), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(9), - }, - End: ast.Location{ - Line: int(1620), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "aux", - "cmpRes", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(12), - }, - End: ast.Location{ - Line: int(1617), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "cmpRes", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(12), - }, - End: ast.Location{ - Line: int(1617), - Column: int(18), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "cmpRes", - }, - }, - Id: "cmpRes", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(13), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(22), - }, - End: ast.Location{ - Line: int(1617), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1618), - Column: int(11), - }, - End: ast.Location{ - Line: int(1618), - Column: int(17), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "cmpRes", - }, - }, - Id: "cmpRes", - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1620), - Column: int(11), - }, - End: ast.Location{ - Line: int(1620), - Column: int(21), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "aux", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1620), - Column: int(11), - }, - End: ast.Location{ - Line: int(1620), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - Comment: []string{}, - }, - }, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1620), - Column: int(15), - }, - End: ast.Location{ - Line: int(1620), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17586, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1620), - Column: int(15), - }, - End: ast.Location{ - Line: int(1620), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17586, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1620), - Column: int(19), - }, - End: ast.Location{ - Line: int(1620), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17586, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - }, - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(9), - }, - End: ast.Location{ - Line: int(1622), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "len1", - "len2", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(9), - }, - End: ast.Location{ - Line: int(1622), - Column: int(22), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17533, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(9), - }, - End: ast.Location{ - Line: int(1622), - Column: int(12), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__compare", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(23), - }, - End: ast.Location{ - Line: int(1622), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17602, - FreeVars: ast.Identifiers{ - "len1", - }, - }, - Id: "len1", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(29), - }, - End: ast.Location{ - Line: int(1622), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17602, - FreeVars: ast.Identifiers{ - "len2", - }, - }, - Id: "len2", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1656), + Column: int(15), + }, + End: ast.Location{ + Line: int(1656), + Column: int(16), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p18133, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "aux", + "len1", + "len2", + "minLen", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1656), + Column: int(11), + }, + End: ast.Location{ + Line: int(1664), + Column: int(34), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "aux", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -221990,609 +228298,362 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1623), - Column: int(5), - }, - End: ast.Location{ - Line: int(1623), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17478, - FreeVars: ast.Identifiers{ - "aux", - }, - }, Target: &ast.Var{ + Id: "aux", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1623), - Column: int(5), - }, - End: ast.Location{ - Line: int(1623), - Column: int(8), - }, - File: p1, - }, Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(4), - Comment: []string{}, }, }, - Ctx: p17478, + Ctx: p18138, FreeVars: ast.Identifiers{ "aux", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1665), + Column: int(5), + }, + End: ast.Location{ + Line: int(1665), + Column: int(8), + }, + }, }, - Id: "aux", }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18142, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1623), + Line: int(1665), Column: int(9), }, End: ast.Location{ - Line: int(1623), + Line: int(1665), Column: int(10), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17613, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18138, + FreeVars: ast.Identifiers{ + "aux", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1665), + Column: int(5), + }, + End: ast.Location{ + Line: int(1665), + Column: int(11), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p18138, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "len1", + "len2", + "minLen", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1656), + Column: int(5), + }, + End: ast.Location{ + Line: int(1665), + Column: int(11), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p18138, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "len1", + "len2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1655), + Column: int(5), + }, + End: ast.Location{ + Line: int(1665), + Column: int(11), + }, }, }, }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1611), - Column: int(3), - }, - End: ast.Location{ - Line: int(1623), - Column: int(11), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__array_less", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(16), - }, - End: ast.Location{ - Line: int(1625), - Column: int(20), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(22), - }, - End: ast.Location{ - Line: int(1625), - Column: int(26), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(30), + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), }, - End: ast.Location{ - Line: int(1625), - Column: int(67), - }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17619, + Ctx: p18138, FreeVars: ast.Identifiers{ "arr1", "arr2", "std", }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(30), - }, - End: ast.Location{ - Line: int(1625), - Column: int(61), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1654), + Column: int(5), }, - Fodder: ast.Fodder{}, - Ctx: p17619, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", + End: ast.Location{ + Line: int(1665), + Column: int(11), }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(30), - }, - End: ast.Location{ - Line: int(1625), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17619, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(30), - }, - End: ast.Location{ - Line: int(1625), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__compare_array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(50), - }, - End: ast.Location{ - Line: int(1625), - Column: int(54), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17630, - FreeVars: ast.Identifiers{ - "arr1", - }, - }, - Id: "arr1", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(56), - }, - End: ast.Location{ - Line: int(1625), - Column: int(60), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17630, - FreeVars: ast.Identifiers{ - "arr2", - }, - }, - Id: "arr2", - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(65), - }, - End: ast.Location{ - Line: int(1625), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17619, - FreeVars: ast.Identifiers{}, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(66), - }, - End: ast.Location{ - Line: int(1625), - Column: int(67), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17619, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, }, }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(3), - }, - End: ast.Location{ - Line: int(1625), - Column: int(67), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__array_greater", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, Parameters: []ast.Parameter{ ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr1", + CommaFodder: ast.Fodder{}, EqFodder: nil, DefaultArg: nil, - CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1626), + Line: int(1653), Column: int(19), }, End: ast.Location{ - Line: int(1626), + Line: int(1653), Column: int(23), }, - File: p1, }, }, ast.Parameter{ NameFodder: ast.Fodder{}, Name: "arr2", + CommaFodder: nil, EqFodder: nil, DefaultArg: nil, - CommaFodder: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1626), + Line: int(1653), Column: int(25), }, End: ast.Location{ - Line: int(1626), + Line: int(1653), Column: int(29), }, - File: p1, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, }, TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(33), - }, - End: ast.Location{ - Line: int(1626), - Column: int(69), - }, - File: p1, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1653), + Column: int(3), + }, + End: ast.Location{ + Line: int(1665), + Column: int(11), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "__array_less", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fodder: ast.Fodder{}, - Ctx: p17641, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(33), - }, - End: ast.Location{ - Line: int(1626), - Column: int(64), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17641, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - }, - Target: &ast.Index{ + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.Unary{ + Expr: &ast.LiteralNumber{ + OriginalString: "1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18157, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1626), - Column: int(33), + Line: int(1667), + Column: int(66), }, End: ast.Location{ - Line: int(1626), - Column: int(52), + Line: int(1667), + Column: int(67), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17641, - FreeVars: ast.Identifiers{ - "std", }, }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18157, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(65), + }, + End: ast.Location{ + Line: int(1667), + Column: int(67), + }, + }, + }, + Op: ast.UnaryOp(3), + }, + Left: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(33), - }, - End: ast.Location{ - Line: int(1626), - Column: int(36), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(30), + }, + End: ast.Location{ + Line: int(1667), + Column: int(33), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "__compare_array", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -222602,297 +228663,297 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "__compare_array", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18157, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(30), + }, + End: ast.Location{ + Line: int(1667), + Column: int(49), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr1", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(53), - }, - End: ast.Location{ - Line: int(1626), - Column: int(57), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17652, + Ctx: p18166, FreeVars: ast.Identifiers{ "arr1", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(50), + }, + End: ast.Location{ + Line: int(1667), + Column: int(54), + }, + }, }, - Id: "arr1", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr2", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(59), - }, - End: ast.Location{ - Line: int(1626), - Column: int(63), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17652, + Ctx: p18166, FreeVars: ast.Identifiers{ "arr2", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(56), + }, + End: ast.Location{ + Line: int(1667), + Column: int(60), + }, + }, }, - Id: "arr2", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18157, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1626), + Line: int(1667), + Column: int(30), + }, + End: ast.Location{ + Line: int(1667), + Column: int(61), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18157, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(30), + }, + End: ast.Location{ + Line: int(1667), + Column: int(67), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr1", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(16), + }, + End: ast.Location{ + Line: int(1667), + Column: int(20), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr2", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(22), + }, + End: ast.Location{ + Line: int(1667), + Column: int(26), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1667), + Column: int(3), + }, + End: ast.Location{ + Line: int(1667), + Column: int(67), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "__array_greater", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18178, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), Column: int(68), }, End: ast.Location{ - Line: int(1626), + Line: int(1668), Column: int(69), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17641, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "1", - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(3), - }, - End: ast.Location{ - Line: int(1626), - Column: int(69), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__array_less_or_equal", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(25), - }, - End: ast.Location{ - Line: int(1627), - Column: int(29), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(31), - }, - End: ast.Location{ - Line: int(1627), - Column: int(35), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(39), - }, - End: ast.Location{ - Line: int(1627), - Column: int(75), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17662, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", }, }, Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(39), - }, - End: ast.Location{ - Line: int(1627), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17662, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(39), - }, - End: ast.Location{ - Line: int(1627), - Column: int(58), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17662, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(39), - }, - End: ast.Location{ - Line: int(1627), - Column: int(42), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), + Column: int(33), + }, + End: ast.Location{ + Line: int(1668), + Column: int(36), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "__compare_array", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -222902,297 +228963,297 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "__compare_array", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18178, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), + Column: int(33), + }, + End: ast.Location{ + Line: int(1668), + Column: int(52), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr1", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18187, + FreeVars: ast.Identifiers{ + "arr1", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1627), + Line: int(1668), + Column: int(53), + }, + End: ast.Location{ + Line: int(1668), + Column: int(57), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18187, + FreeVars: ast.Identifiers{ + "arr2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), Column: int(59), }, End: ast.Location{ - Line: int(1627), + Line: int(1668), Column: int(63), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17673, - FreeVars: ast.Identifiers{ - "arr1", }, }, - Id: "arr1", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(65), - }, - End: ast.Location{ - Line: int(1627), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17673, - FreeVars: ast.Identifiers{ - "arr2", - }, - }, - Id: "arr2", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(74), - }, - End: ast.Location{ - Line: int(1627), - Column: int(75), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17662, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(3), - }, - End: ast.Location{ - Line: int(1627), - Column: int(75), - }, - File: p1, - }, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "__array_greater_or_equal", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p12, - FreeVars: ast.Identifiers{ - "std", - }, - }, - ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(28), - }, - End: ast.Location{ - Line: int(1628), - Column: int(32), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(34), - }, - End: ast.Location{ - Line: int(1628), - Column: int(38), - }, - File: p1, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(42), - }, - End: ast.Location{ - Line: int(1628), - Column: int(78), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17683, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(42), - }, - End: ast.Location{ - Line: int(1628), - Column: int(73), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17683, + Ctx: p18178, FreeVars: ast.Identifiers{ "arr1", "arr2", "std", }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(42), - }, - End: ast.Location{ - Line: int(1628), - Column: int(61), - }, - File: p1, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), + Column: int(33), }, - Fodder: ast.Fodder{}, - Ctx: p17683, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1668), + Column: int(64), }, }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18178, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), + Column: int(33), + }, + End: ast.Location{ + Line: int(1668), + Column: int(69), + }, + }, + }, + Op: ast.BinaryOp(12), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr1", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), + Column: int(19), + }, + End: ast.Location{ + Line: int(1668), + Column: int(23), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr2", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), + Column: int(25), + }, + End: ast.Location{ + Line: int(1668), + Column: int(29), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1668), + Column: int(3), + }, + End: ast.Location{ + Line: int(1668), + Column: int(69), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "__array_less_or_equal", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18199, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(74), + }, + End: ast.Location{ + Line: int(1669), + Column: int(75), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(42), - }, - End: ast.Location{ - Line: int(1628), - Column: int(45), - }, - File: p1, - }, Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(39), + }, + End: ast.Location{ + Line: int(1669), + Column: int(42), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "__compare_array", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -223202,128 +229263,526 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "__compare_array", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18199, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(39), + }, + End: ast.Location{ + Line: int(1669), + Column: int(58), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr1", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(62), - }, - End: ast.Location{ - Line: int(1628), - Column: int(66), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17694, + Ctx: p18208, FreeVars: ast.Identifiers{ "arr1", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(59), + }, + End: ast.Location{ + Line: int(1669), + Column: int(63), + }, + }, }, - Id: "arr1", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "arr2", NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(68), - }, - End: ast.Location{ - Line: int(1628), - Column: int(72), - }, - File: p1, - }, Fodder: ast.Fodder{}, - Ctx: p17694, + Ctx: p18208, FreeVars: ast.Identifiers{ "arr2", }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(65), + }, + End: ast.Location{ + Line: int(1669), + Column: int(69), + }, + }, }, - Id: "arr2", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18199, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1628), - Column: int(77), + Line: int(1669), + Column: int(39), }, End: ast.Location{ - Line: int(1628), - Column: int(78), + Line: int(1669), + Column: int(70), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17683, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18199, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(39), + }, + End: ast.Location{ + Line: int(1669), + Column: int(75), + }, + }, + }, + Op: ast.BinaryOp(10), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr1", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(25), + }, + End: ast.Location{ + Line: int(1669), + Column: int(29), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr2", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1669), + Column: int(31), + }, + End: ast.Location{ + Line: int(1669), + Column: int(35), + }, + }, }, }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, }, - PlusSuper: false, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(1628), + Line: int(1669), Column: int(3), }, End: ast.Location{ - Line: int(1628), + Line: int(1669), + Column: int(75), + }, + }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, + }, + ast.DesugaredObjectField{ + Name: &ast.LiteralString{ + Value: "__array_greater_or_equal", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + Body: &ast.Function{ + ParenLeftFodder: ast.Fodder{}, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18220, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(77), + }, + End: ast.Location{ + Line: int(1670), + Column: int(78), + }, + }, + }, + }, + Left: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(42), + }, + End: ast.Location{ + Line: int(1670), + Column: int(45), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "__compare_array", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18220, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(42), + }, + End: ast.Location{ + Line: int(1670), + Column: int(61), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr1", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18229, + FreeVars: ast.Identifiers{ + "arr1", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(62), + }, + End: ast.Location{ + Line: int(1670), + Column: int(66), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "arr2", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18229, + FreeVars: ast.Identifiers{ + "arr2", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(68), + }, + End: ast.Location{ + Line: int(1670), + Column: int(72), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18220, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(42), + }, + End: ast.Location{ + Line: int(1670), + Column: int(73), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18220, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(42), + }, + End: ast.Location{ + Line: int(1670), + Column: int(78), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr1", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(28), + }, + End: ast.Location{ + Line: int(1670), + Column: int(32), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr2", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(34), + }, + End: ast.Location{ + Line: int(1670), + Column: int(38), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p23, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1670), + Column: int(3), + }, + End: ast.Location{ + Line: int(1670), Column: int(78), }, - File: p1, }, + Hide: ast.ObjectFieldHide(0), + PlusSuper: false, }, }, Locals: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "std", - EqFodder: nil, Body: &ast.Self{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18239, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(25), @@ -223333,16 +229792,15 @@ var _StdAst = &ast.DesugaredObject{ Line: int(25), Column: int(19), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17701, - FreeVars: ast.Identifiers{}, }, }, - Fun: nil, + EqFodder: nil, + Variable: "std", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(25), @@ -223352,58 +229810,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(25), Column: int(19), }, - File: p1, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "id", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(26), - Column: int(14), - }, - End: ast.Location{ - Line: int(26), - Column: int(27), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17703, - FreeVars: ast.Identifiers{}, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(26), - Column: int(23), - }, - End: ast.Location{ - Line: int(26), - Column: int(24), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Var{ + Id: "x", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18242, + FreeVars: ast.Identifiers{ + "x", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(26), @@ -223413,20 +229836,55 @@ var _StdAst = &ast.DesugaredObject{ Line: int(26), Column: int(27), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17706, - FreeVars: ast.Identifiers{ - "x", }, }, - Id: "x", }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "x", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(26), + Column: int(23), + }, + End: ast.Location{ + Line: int(26), + Column: int(24), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18245, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(26), + Column: int(14), + }, + End: ast.Location{ + Line: int(26), + Column: int(27), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "id", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(26), @@ -223436,234 +229894,24 @@ var _StdAst = &ast.DesugaredObject{ Line: int(26), Column: int(27), }, - File: p1, }, }, ast.LocalBind{ VarFodder: nil, - Variable: "parse_nat", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: p17709, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(76), - Column: int(19), - }, - End: ast.Location{ - Line: int(76), - Column: int(22), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "base", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(76), - Column: int(24), - }, - End: ast.Location{ - Line: int(76), - Column: int(28), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", - }, - }, Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(12), - }, - End: ast.Location{ - Line: int(77), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17715, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(12), - }, - End: ast.Location{ - Line: int(77), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17718, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(12), - }, - End: ast.Location{ - Line: int(77), - Column: int(16), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17721, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Id: "base", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(19), - }, - End: ast.Location{ - Line: int(77), - Column: int(20), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17724, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(24), - }, - End: ast.Location{ - Line: int(77), - Column: int(34), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17726, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(24), - }, - End: ast.Location{ - Line: int(77), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17729, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Id: "base", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(10), Right: &ast.LiteralNumber{ + OriginalString: "16", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18251, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(77), @@ -223673,103 +229921,156 @@ var _StdAst = &ast.DesugaredObject{ Line: int(77), Column: int(34), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17732, - FreeVars: ast.Identifiers{}, }, - OriginalString: "16", }, + Left: &ast.Var{ + Id: "base", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18253, + FreeVars: ast.Identifiers{ + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(24), + }, + End: ast.Location{ + Line: int(77), + Column: int(28), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18255, + FreeVars: ast.Identifiers{ + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(24), + }, + End: ast.Location{ + Line: int(77), + Column: int(34), + }, + }, + }, + Op: ast.BinaryOp(10), }, - }, - ThenFodder: nil, - BranchTrue: &ast.Local{ + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18259, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(19), + }, + End: ast.Location{ + Line: int(77), + Column: int(20), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "base", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18261, + FreeVars: ast.Identifiers{ + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(12), + }, + End: ast.Location{ + Line: int(77), + Column: int(16), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18263, + FreeVars: ast.Identifiers{ + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(12), + }, + End: ast.Location{ + Line: int(77), + Column: int(20), + }, + }, + }, + Op: ast.BinaryOp(7), + }, + OpFodder: ast.Fodder{}, NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18265, + FreeVars: ast.Identifiers{ + "base", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(79), - Column: int(5), + Line: int(77), + Column: int(12), }, End: ast.Location{ - Line: int(92), - Column: int(49), + Line: int(77), + Column: int(34), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - ast.FodderElement{ - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - Comment: []string{ - "// These codepoints are in ascending order:", - }, - }, - }, - Ctx: p17736, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", }, }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Local{ Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "zero_code", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(23), - }, - End: ast.Location{ - Line: int(79), - Column: int(41), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17740, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(23), - }, - End: ast.Location{ - Line: int(79), - Column: int(36), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17743, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(79), @@ -223779,20 +230080,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(79), Column: int(26), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -223802,27 +230102,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "codepoint", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18274, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(79), + Column: int(23), + }, + End: ast.Location{ + Line: int(79), + Column: int(36), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "0", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18278, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(79), @@ -223832,30 +230152,45 @@ var _StdAst = &ast.DesugaredObject{ Line: int(79), Column: int(40), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17750, - FreeVars: ast.Identifiers{}, }, - Value: "0", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18279, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(79), + Column: int(23), + }, + End: ast.Location{ + Line: int(79), + Column: int(41), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "zero_code", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(79), @@ -223865,89 +230200,25 @@ var _StdAst = &ast.DesugaredObject{ Line: int(79), Column: int(41), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17753, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", - "zero_code", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "upper_a_code", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(26), - }, - End: ast.Location{ - Line: int(80), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17757, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(26), - }, - End: ast.Location{ - Line: int(80), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17760, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(80), @@ -223957,20 +230228,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(80), Column: int(29), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -223980,27 +230250,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "codepoint", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18288, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(80), + Column: int(26), + }, + End: ast.Location{ + Line: int(80), + Column: int(39), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "A", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18292, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(80), @@ -224010,30 +230300,45 @@ var _StdAst = &ast.DesugaredObject{ Line: int(80), Column: int(43), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17767, - FreeVars: ast.Identifiers{}, }, - Value: "A", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18293, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(80), + Column: int(26), + }, + End: ast.Location{ + Line: int(80), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "upper_a_code", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(80), @@ -224043,90 +230348,25 @@ var _StdAst = &ast.DesugaredObject{ Line: int(80), Column: int(44), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17770, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", - "upper_a_code", - "zero_code", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: ast.Fodder{}, - Variable: "lower_a_code", - EqFodder: ast.Fodder{}, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(26), - }, - End: ast.Location{ - Line: int(81), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17774, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(26), - }, - End: ast.Location{ - Line: int(81), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17777, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(81), @@ -224136,20 +230376,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(81), Column: int(29), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -224159,27 +230398,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "codepoint", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18302, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(81), + Column: int(26), + }, + End: ast.Location{ + Line: int(81), + Column: int(39), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "a", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18306, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(81), @@ -224189,30 +230448,45 @@ var _StdAst = &ast.DesugaredObject{ Line: int(81), Column: int(43), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17784, - FreeVars: ast.Identifiers{}, }, - Value: "a", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18307, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(81), + Column: int(26), + }, + End: ast.Location{ + Line: int(81), + Column: int(44), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - Fun: nil, + EqFodder: ast.Fodder{}, + Variable: "lower_a_code", CloseFodder: ast.Fodder{}, + Fun: nil, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(81), @@ -224222,140 +230496,1280 @@ var _StdAst = &ast.DesugaredObject{ Line: int(81), Column: int(44), }, - File: p1, }, }, }, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: p17787, - FreeVars: ast.Identifiers{ - "$std", - "base", - "lower_a_code", - "std", - "str", - "upper_a_code", - "zero_code", - }, - }, Binds: ast.LocalBinds{ ast.LocalBind{ VarFodder: nil, - Variable: "addDigit", - EqFodder: nil, Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(11), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - File: p1, - }, - Fodder: nil, - Ctx: p17791, - FreeVars: ast.Identifiers{ - "$std", - "base", - "lower_a_code", - "std", - "str", - "upper_a_code", - "zero_code", - }, - }, ParenLeftFodder: ast.Fodder{}, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "aggregate", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(20), - }, - End: ast.Location{ - Line: int(82), - Column: int(29), - }, - File: p1, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "char", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(31), - }, - End: ast.Location{ - Line: int(82), - Column: int(35), - }, - File: p1, - }, - }, - }, - TrailingComma: false, ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(7), + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(83), + Column: int(20), + }, + End: ast.Location{ + Line: int(83), + Column: int(23), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "codepoint", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18319, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(83), + Column: int(20), + }, + End: ast.Location{ + Line: int(83), + Column: int(33), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "char", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18323, + FreeVars: ast.Identifiers{ + "char", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(83), + Column: int(34), + }, + End: ast.Location{ + Line: int(83), + Column: int(38), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: []ast.NamedArgument{}, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18325, + FreeVars: ast.Identifiers{ + "char", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(83), + Column: int(20), + }, + End: ast.Location{ + Line: int(83), + Column: int(39), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, - End: ast.Location{ - Line: int(91), - Column: int(31), + EqFodder: ast.Fodder{}, + Variable: "code", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(83), + Column: int(13), + }, + End: ast.Location{ + Line: int(83), + Column: int(39), + }, }, - File: p1, }, + }, + Body: &ast.Local{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "lower_a_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18332, + FreeVars: ast.Identifiers{ + "lower_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(84), + Column: int(32), + }, + End: ast.Location{ + Line: int(84), + Column: int(44), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18335, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(84), + Column: int(24), + }, + End: ast.Location{ + Line: int(84), + Column: int(28), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18337, + FreeVars: ast.Identifiers{ + "code", + "lower_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(84), + Column: int(24), + }, + End: ast.Location{ + Line: int(84), + Column: int(44), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18341, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(85), + Column: int(31), + }, + End: ast.Location{ + Line: int(85), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "lower_a_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18344, + FreeVars: ast.Identifiers{ + "lower_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(85), + Column: int(16), + }, + End: ast.Location{ + Line: int(85), + Column: int(28), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p18348, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(85), + Column: int(9), + }, + End: ast.Location{ + Line: int(85), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18350, + FreeVars: ast.Identifiers{ + "code", + "lower_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(85), + Column: int(9), + }, + End: ast.Location{ + Line: int(85), + Column: int(28), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18352, + FreeVars: ast.Identifiers{ + "code", + "lower_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(85), + Column: int(9), + }, + End: ast.Location{ + Line: int(85), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Var{ + Id: "upper_a_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18357, + FreeVars: ast.Identifiers{ + "upper_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(86), + Column: int(23), + }, + End: ast.Location{ + Line: int(86), + Column: int(35), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18360, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(86), + Column: int(15), + }, + End: ast.Location{ + Line: int(86), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18362, + FreeVars: ast.Identifiers{ + "code", + "upper_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(86), + Column: int(15), + }, + End: ast.Location{ + Line: int(86), + Column: int(35), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + BranchTrue: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "10", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18366, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(87), + Column: int(31), + }, + End: ast.Location{ + Line: int(87), + Column: int(33), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "upper_a_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18369, + FreeVars: ast.Identifiers{ + "upper_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(87), + Column: int(16), + }, + End: ast.Location{ + Line: int(87), + Column: int(28), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p18373, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(87), + Column: int(9), + }, + End: ast.Location{ + Line: int(87), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18375, + FreeVars: ast.Identifiers{ + "code", + "upper_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(87), + Column: int(9), + }, + End: ast.Location{ + Line: int(87), + Column: int(28), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18377, + FreeVars: ast.Identifiers{ + "code", + "upper_a_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(87), + Column: int(9), + }, + End: ast.Location{ + Line: int(87), + Column: int(33), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Binary{ + Right: &ast.Var{ + Id: "zero_code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18381, + FreeVars: ast.Identifiers{ + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(89), + Column: int(16), + }, + End: ast.Location{ + Line: int(89), + Column: int(25), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "code", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + }, + }, + Ctx: p18385, + FreeVars: ast.Identifiers{ + "code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(89), + Column: int(9), + }, + End: ast.Location{ + Line: int(89), + Column: int(13), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18387, + FreeVars: ast.Identifiers{ + "code", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(89), + Column: int(9), + }, + End: ast.Location{ + Line: int(89), + Column: int(25), + }, + }, + }, + Op: ast.BinaryOp(4), + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18390, + FreeVars: ast.Identifiers{ + "code", + "upper_a_code", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(86), + Column: int(12), + }, + End: ast.Location{ + Line: int(89), + Column: int(25), + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18393, + FreeVars: ast.Identifiers{ + "code", + "lower_a_code", + "upper_a_code", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(84), + Column: int(21), + }, + End: ast.Location{ + Line: int(89), + Column: int(25), + }, + }, + }, + }, + EqFodder: ast.Fodder{}, + Variable: "digit", + CloseFodder: ast.Fodder{}, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(84), + Column: int(13), + }, + End: ast.Location{ + Line: int(89), + Column: int(25), + }, + }, + }, + }, + Body: &ast.Conditional{ + Cond: &ast.Binary{ + Right: &ast.Binary{ + Right: &ast.Var{ + Id: "base", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18399, + FreeVars: ast.Identifiers{ + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(36), + }, + End: ast.Location{ + Line: int(90), + Column: int(40), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "digit", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18402, + FreeVars: ast.Identifiers{ + "digit", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(28), + }, + End: ast.Location{ + Line: int(90), + Column: int(33), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18404, + FreeVars: ast.Identifiers{ + "base", + "digit", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(28), + }, + End: ast.Location{ + Line: int(90), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(9), + }, + Left: &ast.Binary{ + Right: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18408, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(23), + }, + End: ast.Location{ + Line: int(90), + Column: int(24), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "digit", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18410, + FreeVars: ast.Identifiers{ + "digit", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(14), + }, + End: ast.Location{ + Line: int(90), + Column: int(19), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18412, + FreeVars: ast.Identifiers{ + "digit", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(14), + }, + End: ast.Location{ + Line: int(90), + Column: int(24), + }, + }, + }, + Op: ast.BinaryOp(8), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18414, + FreeVars: ast.Identifiers{ + "base", + "digit", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(14), + }, + End: ast.Location{ + Line: int(90), + Column: int(40), + }, + }, + }, + Op: ast.BinaryOp(17), + }, + BranchTrue: &ast.Binary{ + Right: &ast.Var{ + Id: "digit", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18418, + FreeVars: ast.Identifiers{ + "digit", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(91), + Column: int(26), + }, + End: ast.Location{ + Line: int(91), + Column: int(31), + }, + }, + }, + }, + Left: &ast.Binary{ + Right: &ast.Var{ + Id: "aggregate", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18422, + FreeVars: ast.Identifiers{ + "aggregate", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(91), + Column: int(14), + }, + End: ast.Location{ + Line: int(91), + Column: int(23), + }, + }, + }, + }, + Left: &ast.Var{ + Id: "base", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p18426, + FreeVars: ast.Identifiers{ + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(91), + Column: int(7), + }, + End: ast.Location{ + Line: int(91), + Column: int(11), + }, + }, + }, + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18428, + FreeVars: ast.Identifiers{ + "aggregate", + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(91), + Column: int(7), + }, + End: ast.Location{ + Line: int(91), + Column: int(23), + }, + }, + }, + Op: ast.BinaryOp(0), + }, + OpFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18430, + FreeVars: ast.Identifiers{ + "aggregate", + "base", + "digit", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(91), + Column: int(7), + }, + End: ast.Location{ + Line: int(91), + Column: int(31), + }, + }, + }, + Op: ast.BinaryOp(3), + }, + BranchFalse: &ast.Error{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + Value: "%s is not a base %d integer", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18441, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(43), + }, + End: ast.Location{ + Line: int(90), + Column: int(72), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "str", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18445, + FreeVars: ast.Identifiers{ + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(76), + }, + End: ast.Location{ + Line: int(90), + Column: int(79), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + Id: "base", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18448, + FreeVars: ast.Identifiers{ + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(81), + }, + End: ast.Location{ + Line: int(90), + Column: int(85), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: ast.Fodder{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18450, + FreeVars: ast.Identifiers{ + "base", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(75), + }, + End: ast.Location{ + Line: int(90), + Column: int(86), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "base", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(43), + }, + End: ast.Location{ + Line: int(90), + Column: int(86), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "base", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(90), + Column: int(7), + }, + End: ast.Location{ + Line: int(91), + Column: int(31), + }, + }, + }, + }, + ThenFodder: nil, + ElseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "aggregate", + "base", + "digit", + "str", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + }, + }, + Ctx: p18456, + FreeVars: ast.Identifiers{ + "$std", + "aggregate", + "base", + "code", + "lower_a_code", + "str", + "upper_a_code", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(84), + Column: int(7), + }, + End: ast.Location{ + Line: int(91), + Column: int(31), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ Fodder: ast.Fodder{ ast.FodderElement{ + Comment: []string{}, Kind: ast.FodderKind(0), Blanks: int(0), Indent: int(6), - Comment: []string{}, }, }, - Ctx: p17796, + Ctx: p18459, FreeVars: ast.Identifiers{ "$std", "aggregate", @@ -224367,1265 +231781,93 @@ var _StdAst = &ast.DesugaredObject{ "upper_a_code", "zero_code", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "code", - EqFodder: ast.Fodder{}, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(20), - }, - End: ast.Location{ - Line: int(83), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17800, - FreeVars: ast.Identifiers{ - "char", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(20), - }, - End: ast.Location{ - Line: int(83), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17803, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(20), - }, - End: ast.Location{ - Line: int(83), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "codepoint", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(34), - }, - End: ast.Location{ - Line: int(83), - Column: int(38), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17810, - FreeVars: ast.Identifiers{ - "char", - }, - }, - Id: "char", - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(83), + Column: int(7), }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(13), - }, - End: ast.Location{ - Line: int(83), - Column: int(39), - }, - File: p1, - }, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17814, - FreeVars: ast.Identifiers{ - "$std", - "aggregate", - "base", - "code", - "lower_a_code", - "str", - "upper_a_code", - "zero_code", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Variable: "digit", - EqFodder: ast.Fodder{}, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(21), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17818, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - "upper_a_code", - "zero_code", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(24), - }, - End: ast.Location{ - Line: int(84), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17821, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(24), - }, - End: ast.Location{ - Line: int(84), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17824, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(32), - }, - End: ast.Location{ - Line: int(84), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17827, - FreeVars: ast.Identifiers{ - "lower_a_code", - }, - }, - Id: "lower_a_code", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(9), - }, - End: ast.Location{ - Line: int(85), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17830, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(9), - }, - End: ast.Location{ - Line: int(85), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17833, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(9), - }, - End: ast.Location{ - Line: int(85), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p17837, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(16), - }, - End: ast.Location{ - Line: int(85), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17840, - FreeVars: ast.Identifiers{ - "lower_a_code", - }, - }, - Id: "lower_a_code", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(31), - }, - End: ast.Location{ - Line: int(85), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17843, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(12), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17846, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - "zero_code", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(15), - }, - End: ast.Location{ - Line: int(86), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17849, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(15), - }, - End: ast.Location{ - Line: int(86), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17852, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(23), - }, - End: ast.Location{ - Line: int(86), - Column: int(35), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17855, - FreeVars: ast.Identifiers{ - "upper_a_code", - }, - }, - Id: "upper_a_code", - }, - }, - ThenFodder: ast.Fodder{}, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(9), - }, - End: ast.Location{ - Line: int(87), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17858, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(9), - }, - End: ast.Location{ - Line: int(87), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17861, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(9), - }, - End: ast.Location{ - Line: int(87), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p17865, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(16), - }, - End: ast.Location{ - Line: int(87), - Column: int(28), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17868, - FreeVars: ast.Identifiers{ - "upper_a_code", - }, - }, - Id: "upper_a_code", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(31), - }, - End: ast.Location{ - Line: int(87), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17871, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "10", - }, - }, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(9), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17874, - FreeVars: ast.Identifiers{ - "code", - "zero_code", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(9), - }, - End: ast.Location{ - Line: int(89), - Column: int(13), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - Comment: []string{}, - }, - }, - Ctx: p17878, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(16), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17881, - FreeVars: ast.Identifiers{ - "zero_code", - }, - }, - Id: "zero_code", - }, - }, - }, - }, - Fun: nil, - CloseFodder: ast.Fodder{}, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(13), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - File: p1, - }, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aggregate", - "base", - "digit", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(14), - }, - End: ast.Location{ - Line: int(90), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17886, - FreeVars: ast.Identifiers{ - "base", - "digit", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(14), - }, - End: ast.Location{ - Line: int(90), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17889, - FreeVars: ast.Identifiers{ - "digit", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(14), - }, - End: ast.Location{ - Line: int(90), - Column: int(19), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17892, - FreeVars: ast.Identifiers{ - "digit", - }, - }, - Id: "digit", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(23), - }, - End: ast.Location{ - Line: int(90), - Column: int(24), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17895, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(28), - }, - End: ast.Location{ - Line: int(90), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17897, - FreeVars: ast.Identifiers{ - "base", - "digit", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(28), - }, - End: ast.Location{ - Line: int(90), - Column: int(33), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17900, - FreeVars: ast.Identifiers{ - "digit", - }, - }, - Id: "digit", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(36), - }, - End: ast.Location{ - Line: int(90), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17903, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Id: "base", - }, - }, - }, - ThenFodder: nil, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "aggregate", - "base", - "digit", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17909, - FreeVars: ast.Identifiers{ - "aggregate", - "base", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(11), - }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - Comment: []string{}, - }, - }, - Ctx: p17913, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Id: "base", - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(0), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(14), - }, - End: ast.Location{ - Line: int(91), - Column: int(23), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17916, - FreeVars: ast.Identifiers{ - "aggregate", - }, - }, - Id: "aggregate", - }, - }, - OpFodder: ast.Fodder{}, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(26), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17919, - FreeVars: ast.Identifiers{ - "digit", - }, - }, - Id: "digit", - }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - "str", - }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(43), - }, - End: ast.Location{ - Line: int(90), - Column: int(86), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(43), - }, - End: ast.Location{ - Line: int(90), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17932, - FreeVars: ast.Identifiers{}, - }, - Value: "%s is not a base %d integer", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(75), - }, - End: ast.Location{ - Line: int(90), - Column: int(86), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17934, - FreeVars: ast.Identifiers{ - "base", - "str", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(76), - }, - End: ast.Location{ - Line: int(90), - Column: int(79), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17938, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(81), - }, - End: ast.Location{ - Line: int(90), - Column: int(85), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17941, - FreeVars: ast.Identifiers{ - "base", - }, - }, - Id: "base", - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: ast.Fodder{}, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, + End: ast.Location{ + Line: int(91), + Column: int(31), }, }, }, }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "aggregate", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(82), + Column: int(20), + }, + End: ast.Location{ + Line: int(82), + Column: int(29), + }, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "char", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(82), + Column: int(31), + }, + End: ast.Location{ + Line: int(82), + Column: int(35), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p18462, + FreeVars: ast.Identifiers{ + "$std", + "base", + "lower_a_code", + "std", + "str", + "upper_a_code", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(82), + Column: int(11), + }, + End: ast.Location{ + Line: int(91), + Column: int(31), + }, + }, + }, + TrailingComma: false, }, - Fun: nil, + EqFodder: nil, + Variable: "addDigit", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -225635,55 +231877,28 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, }, }, Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17944, - FreeVars: ast.Identifiers{ - "addDigit", - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(14), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17947, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(92), @@ -225693,27 +231908,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(92), Column: int(8), }, - File: p1, - }, - Fodder: ast.Fodder{ - ast.FodderElement{ - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - Comment: []string{}, - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "foldl", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -225723,27 +231930,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "foldl", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18470, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(92), + Column: int(5), + }, + End: ast.Location{ + Line: int(92), + Column: int(14), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "addDigit", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18474, + FreeVars: ast.Identifiers{ + "addDigit", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(92), @@ -225753,63 +231980,24 @@ var _StdAst = &ast.DesugaredObject{ Line: int(92), Column: int(23), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17955, - FreeVars: ast.Identifiers{ - "addDigit", }, }, - Id: "addDigit", }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(25), - }, - End: ast.Location{ - Line: int(92), - Column: int(45), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17958, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(25), - }, - End: ast.Location{ - Line: int(92), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17961, - FreeVars: ast.Identifiers{ - "std", - }, - }, Target: &ast.Var{ + Id: "std", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(92), @@ -225819,20 +232007,19 @@ var _StdAst = &ast.DesugaredObject{ Line: int(92), Column: int(28), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", }, - LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ + Value: "stringChars", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -225842,27 +232029,47 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, }, - Value: "stringChars", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18481, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(92), + Column: int(25), + }, + End: ast.Location{ + Line: int(92), + Column: int(40), + }, + }, + }, }, FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "str", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18485, + FreeVars: ast.Identifiers{ + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(92), @@ -225872,32 +232079,50 @@ var _StdAst = &ast.DesugaredObject{ Line: int(92), Column: int(44), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17968, - FreeVars: ast.Identifiers{ - "str", }, }, - Id: "str", }, CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18487, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(92), + Column: int(25), + }, + End: ast.Location{ + Line: int(92), + Column: int(45), + }, + }, + }, + TrailingComma: false, + TailStrict: false, }, CommaFodder: ast.Fodder{}, }, ast.CommaSeparatedExpr{ Expr: &ast.LiteralNumber{ + OriginalString: "0", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18490, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(92), @@ -225907,74 +232132,233 @@ var _StdAst = &ast.DesugaredObject{ Line: int(92), Column: int(48), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17971, - FreeVars: ast.Identifiers{}, }, - OriginalString: "0", }, CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, - TrailingComma: false, - TailStrict: false, FodderRight: ast.Fodder{}, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18491, + FreeVars: ast.Identifiers{ + "addDigit", + "std", + "str", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(92), + Column: int(5), + }, + End: ast.Location{ + Line: int(92), + Column: int(49), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p18494, + FreeVars: ast.Identifiers{ + "$std", + "base", + "lower_a_code", + "std", + "str", + "upper_a_code", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(82), + Column: int(5), + }, + End: ast.Location{ + Line: int(92), + Column: int(49), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p18497, + FreeVars: ast.Identifiers{ + "$std", + "base", + "std", + "str", + "upper_a_code", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(81), + Column: int(5), + }, + End: ast.Location{ + Line: int(92), + Column: int(49), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p18500, + FreeVars: ast.Identifiers{ + "$std", + "base", + "std", + "str", + "zero_code", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(80), + Column: int(5), + }, + End: ast.Location{ + Line: int(92), + Column: int(49), }, }, }, }, - }, - ElseFodder: nil, - BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + }, + ast.FodderElement{ + Comment: []string{ + "// These codepoints are in ascending order:", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + }, + }, + Ctx: p18504, + FreeVars: ast.Identifiers{ + "$std", + "base", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ - Line: int(77), + Line: int(79), Column: int(5), }, End: ast.Location{ Line: int(92), Column: int(49), }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", }, }, + }, + BranchFalse: &ast.Error{ Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(37), - }, - End: ast.Location{ - Line: int(77), - Column: int(69), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - }, - }, Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "mod", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -225984,70 +232368,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, }, FodderLeft: nil, Arguments: ast.Arguments{ Positional: []ast.CommaSeparatedExpr{ ast.CommaSeparatedExpr{ Expr: &ast.LiteralString{ + Value: "integer base %d invalid", + BlockIndent: "", + BlockTermIndent: "", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18515, + FreeVars: ast.Identifiers{}, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(77), @@ -226057,23 +232394,23 @@ var _StdAst = &ast.DesugaredObject{ Line: int(77), Column: int(62), }, - File: p1, }, - Fodder: ast.Fodder{}, - Ctx: p17983, - FreeVars: ast.Identifiers{}, }, - Value: "integer base %d invalid", Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", }, CommaFodder: nil, }, ast.CommaSeparatedExpr{ Expr: &ast.Var{ + Id: "base", NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18517, + FreeVars: ast.Identifiers{ + "base", + }, LocRange: ast.LocationRange{ + File: p8, FileName: "", Begin: ast.Location{ Line: int(77), @@ -226083,115 +232420,73 @@ var _StdAst = &ast.DesugaredObject{ Line: int(77), Column: int(69), }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17985, - FreeVars: ast.Identifiers{ - "base", }, }, - Id: "base", }, CommaFodder: nil, }, }, Named: nil, }, - TrailingComma: false, - TailStrict: false, FodderRight: nil, TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(37), + }, + End: ast.Location{ + Line: int(77), + Column: int(69), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "base", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(5), + }, + End: ast.Location{ + Line: int(92), + Column: int(49), + }, + }, }, }, - }, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(76), - Column: int(9), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - File: p1, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Variable: "base64_table", - EqFodder: nil, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1295), - Column: int(24), - }, - End: ast.Location{ - Line: int(1295), - Column: int(90), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p17988, - FreeVars: ast.Identifiers{}, - }, - Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1295), - Column: int(9), - }, - End: ast.Location{ - Line: int(1295), - Column: int(90), - }, - File: p1, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Variable: "base64_inv", - EqFodder: nil, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(22), - }, - End: ast.Location{ - Line: int(1296), - Column: int(72), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base64_table", - "std", - }, - }, - Target: &ast.Index{ + ThenFodder: nil, + ElseFodder: nil, NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "base", + "std", + "str", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -226201,560 +232496,58 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + CommaFodder: ast.Fodder{}, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(76), + Column: int(19), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", + End: ast.Location{ + Line: int(76), + Column: int(22), }, }, - Id: "$std", }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "base", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(76), + Column: int(24), }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "$objectFlatMerge", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(22), - }, - End: ast.Location{ - Line: int(1296), - Column: int(72), - }, - File: p1, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base64_table", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - }, - Id: "$std", - }, - LeftBracketFodder: nil, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: nil, - Id: nil, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - ParenLeftFodder: nil, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - EqFodder: nil, - DefaultArg: nil, - CommaFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - }, - }, - TrailingComma: false, - ParenRightFodder: nil, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "base64_table", - "i", - }, - }, - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(22), - }, - End: ast.Location{ - Line: int(1296), - Column: int(72), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18012, - FreeVars: ast.Identifiers{ - "base64_table", - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(25), - }, - End: ast.Location{ - Line: int(1296), - Column: int(40), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18016, - FreeVars: ast.Identifiers{ - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(25), - }, - End: ast.Location{ - Line: int(1296), - Column: int(37), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18019, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(38), - }, - End: ast.Location{ - Line: int(1296), - Column: int(39), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18022, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(43), - }, - End: ast.Location{ - Line: int(1296), - Column: int(44), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18025, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - PlusSuper: false, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(24), - }, - End: ast.Location{ - Line: int(1296), - Column: int(44), - }, - File: p1, - }, - }, - }, - Locals: ast.LocalBinds{}, - }, - CommaFodder: nil, - }, - }, - TrailingComma: false, - CloseFodder: nil, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(54), - }, - End: ast.Location{ - Line: int(1296), - Column: int(70), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18028, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(54), - }, - End: ast.Location{ - Line: int(1296), - Column: int(63), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18031, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(54), - }, - End: ast.Location{ - Line: int(1296), - Column: int(57), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - LeftBracketFodder: ast.Fodder{}, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - }, - Value: "range", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - BlockTermIndent: "", - }, - RightBracketFodder: ast.Fodder{}, - Id: nil, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(64), - }, - End: ast.Location{ - Line: int(1296), - Column: int(65), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18038, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "0", - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(67), - }, - End: ast.Location{ - Line: int(1296), - Column: int(69), - }, - File: p1, - }, - Fodder: ast.Fodder{}, - Ctx: p18040, - FreeVars: ast.Identifiers{}, - }, - OriginalString: "63", - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, + End: ast.Location{ + Line: int(76), + Column: int(28), }, - CommaFodder: nil, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - FodderRight: nil, - TailStrictFodder: nil, - }, - Fun: nil, - CloseFodder: nil, - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(9), - }, - End: ast.Location{ - Line: int(1296), - Column: int(72), - }, - File: p1, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Variable: "$", - EqFodder: nil, - Body: &ast.Self{ NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: p18523, + FreeVars: ast.Identifiers{ + "$std", + "std", + }, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -226764,16 +232557,681 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, }, + }, + TrailingComma: false, + }, + EqFodder: nil, + Variable: "parse_nat", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(76), + Column: int(9), + }, + End: ast.Location{ + Line: int(92), + Column: int(49), + }, + }, + }, + ast.LocalBind{ + VarFodder: nil, + Body: &ast.LiteralString{ + Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18526, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1307), + Column: int(24), + }, + End: ast.Location{ + Line: int(1307), + Column: int(90), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + EqFodder: nil, + Variable: "base64_table", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1307), + Column: int(9), + }, + End: ast.Location{ + Line: int(1307), + Column: int(90), + }, + }, + }, + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "$objectFlatMerge", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "$std", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "flatMap", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: nil, + LeftBracketFodder: nil, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + ParenLeftFodder: nil, + ParenRightFodder: nil, + Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.DesugaredObject{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Name: &ast.Index{ + Target: &ast.Var{ + Id: "base64_table", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18548, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(25), + }, + End: ast.Location{ + Line: int(1308), + Column: int(37), + }, + }, + }, + }, + Index: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18551, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(38), + }, + End: ast.Location{ + Line: int(1308), + Column: int(39), + }, + }, + }, + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18553, + FreeVars: ast.Identifiers{ + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(25), + }, + End: ast.Location{ + Line: int(1308), + Column: int(40), + }, + }, + }, + }, + Body: &ast.Var{ + Id: "i", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18556, + FreeVars: ast.Identifiers{ + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(43), + }, + End: ast.Location{ + Line: int(1308), + Column: int(44), + }, + }, + }, + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(24), + }, + End: ast.Location{ + Line: int(1308), + Column: int(44), + }, + }, + Hide: ast.ObjectFieldHide(1), + PlusSuper: false, + }, + }, + Locals: ast.LocalBinds{}, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18558, + FreeVars: ast.Identifiers{ + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(22), + }, + End: ast.Location{ + Line: int(1308), + Column: int(72), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + CloseFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "base64_table", + "i", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "i", + CommaFodder: nil, + EqFodder: nil, + DefaultArg: nil, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "base64_table", + }, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + TrailingComma: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + Target: &ast.Index{ + Target: &ast.Var{ + Id: "std", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(54), + }, + End: ast.Location{ + Line: int(1308), + Column: int(57), + }, + }, + }, + }, + Index: &ast.LiteralString{ + Value: "range", + BlockIndent: "", + BlockTermIndent: "", + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, + }, + Kind: ast.LiteralStringKind(1), + }, + RightBracketFodder: ast.Fodder{}, + LeftBracketFodder: ast.Fodder{}, + Id: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18568, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(54), + }, + End: ast.Location{ + Line: int(1308), + Column: int(63), + }, + }, + }, + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "0", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18572, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(64), + }, + End: ast.Location{ + Line: int(1308), + Column: int(65), + }, + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + OriginalString: "63", + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18574, + FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(67), + }, + End: ast.Location{ + Line: int(1308), + Column: int(69), + }, + }, + }, + }, + CommaFodder: nil, + }, + }, + Named: []ast.NamedArgument{}, + }, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{}, + Ctx: p18575, + FreeVars: ast.Identifiers{ + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(54), + }, + End: ast.Location{ + Line: int(1308), + Column: int(70), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "base64_table", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(22), + }, + End: ast.Location{ + Line: int(1308), + Column: int(72), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + FodderRight: nil, + TailStrictFodder: nil, + NodeBase: ast.NodeBase{ + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$std", + "base64_table", + "std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(22), + }, + End: ast.Location{ + Line: int(1308), + Column: int(72), + }, + }, + }, + TrailingComma: false, + TailStrict: false, + }, + EqFodder: nil, + Variable: "base64_inv", + CloseFodder: nil, + Fun: nil, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(9), + }, + End: ast.Location{ + Line: int(1308), + Column: int(72), + }, + }, + }, + ast.LocalBind{ + VarFodder: nil, + Body: &ast.Self{ + NodeBase: ast.NodeBase{ Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{}, + LocRange: ast.LocationRange{ + File: nil, + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + }, }, }, - Fun: nil, + EqFodder: nil, + Variable: "$", CloseFodder: nil, + Fun: nil, LocRange: ast.LocationRange{ + File: nil, FileName: "", Begin: ast.Location{ Line: int(0), @@ -226783,7 +233241,67 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - File: nil, + }, + }, + }, + NodeBase: ast.NodeBase{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Comment: []string{}, + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(0), + }, + ast.FodderElement{ + Comment: []string{ + "/*", + "Copyright 2015 Google Inc. All rights reserved.", + "", + "Licensed under the Apache License, Version 2.0 (the \"License\");", + "you may not use this file except in compliance with the License.", + "You may obtain a copy of the License at", + "", + " http://www.apache.org/licenses/LICENSE-2.0", + "", + "Unless required by applicable law or agreed to in writing, software", + "distributed under the License is distributed on an \"AS IS\" BASIS,", + "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", + "See the License for the specific language governing permissions and", + "limitations under the License.", + "*/", + }, + Kind: ast.FodderKind(2), + Blanks: int(1), + Indent: int(0), + }, + ast.FodderElement{ + Comment: []string{ + "/* This is the Jsonnet standard library, at least the parts of it that are written in Jsonnet.", + " *", + " * There are some native methods as well, which are defined in the interpreter and added to this", + " * file. It is never necessary to import std.jsonnet, it is embedded into the interpreter at", + " * compile-time and automatically imported into all other Jsonnet programs.", + " */", + }, + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(0), + }, + }, + Ctx: p18583, + FreeVars: ast.Identifiers{ + "$std", + }, + LocRange: ast.LocationRange{ + File: p8, + FileName: "", + Begin: ast.Location{ + Line: int(23), + Column: int(1), + }, + End: ast.Location{ + Line: int(1672), + Column: int(2), }, }, }, diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index b6e3f50..bd63e34 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -4,8 +4,8 @@ load( ) # NB: update_cpp_jsonnet.sh looks for these. -CPP_JSONNET_SHA256 = "867fe09842e9868c95d57c19648674241a83c581a780ab4f4a5a37ac2afb06be" -CPP_JSONNET_GITHASH = "34419d2483927ceb17cd506cad77c3c2a96e7b8c" +CPP_JSONNET_SHA256 = "965dac82878ef2c2df5ad69095bfeceb04cbef7ca505ee87c038b2c7fdd54c6c" +CPP_JSONNET_GITHASH = "295345366e1fdc0ee9ab7048c352750d45053efd" def jsonnet_go_repositories(): http_archive( diff --git a/builtins.go b/builtins.go index eaee396..38552fb 100644 --- a/builtins.go +++ b/builtins.go @@ -1211,8 +1211,8 @@ func builtinSplitLimit(i *interpreter, strv, cv, maxSplitsV value) (value, error } sStr := str.getGoString() sC := c.getGoString() - if len(sC) != 1 { - return nil, i.Error(fmt.Sprintf("std.splitLimit second parameter should have length 1, got %v", len(sC))) + if len(sC) < 1 { + return nil, i.Error(fmt.Sprintf("std.splitLimit second parameter should have length 1 or greater, got %v", len(sC))) } // the convention is slightly different from strings.splitN in Go (the meaning of non-negative values is shifted by one) diff --git a/c-bindings-tests/compat_test.py b/c-bindings-tests/compat_test.py index c1253a9..84157d3 100755 --- a/c-bindings-tests/compat_test.py +++ b/c-bindings-tests/compat_test.py @@ -113,13 +113,13 @@ lib.jsonnet_native_callback.argtypes = [ lib.jsonnet_native_callback.restype = None IMPORT_CALLBACK = ctypes.CFUNCTYPE( - ctypes.c_char_p, + ctypes.c_int, ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.c_char), - # we use *int instead of **char to pass the real C allocated pointer, that we have to free - ctypes.POINTER(ctypes.c_uint64), - ctypes.POINTER(ctypes.c_int) + ctypes.POINTER(ctypes.c_char_p), + ctypes.POINTER(ctypes.c_void_p), + ctypes.POINTER(ctypes.c_uint64) ) lib.jsonnet_import_callback.argtypes = [ @@ -338,20 +338,21 @@ def build_native(ctx, argv, success): return res @IMPORT_CALLBACK -def import_callback(ctx, dir, rel, found_here, success): +def import_callback(ctx, dir, rel, found_here, buf_ptr, size_ptr): full_path, content = jsonnet_try_path(b"jsonnet_import_test/", to_bytes(rel)) bcontent = content.encode() - dst = lib.jsonnet_realloc(ctx, None, len(bcontent) + 1) - ctypes.memmove(ctypes.addressof(dst.contents), bcontent, len(bcontent) + 1) + dst = lib.jsonnet_realloc(ctx, None, len(bcontent)) + ctypes.memmove(ctypes.addressof(dst.contents), bcontent, len(bcontent)) fdst = lib.jsonnet_realloc(ctx, None, len(full_path) + 1) ctypes.memmove(ctypes.addressof(fdst.contents), full_path, len(full_path) + 1) found_here[0] = ctypes.addressof(fdst.contents) - success[0] = ctypes.c_int(1) - - return ctypes.addressof(dst.contents) + buf_ptr[0] = ctypes.addressof(dst.contents) + size_ptr[0] = len(bcontent) + + return 0 io_writer_buf = None diff --git a/c-bindings/c-bindings.go b/c-bindings/c-bindings.go index a6076e2..7787a4d 100644 --- a/c-bindings/c-bindings.go +++ b/c-bindings/c-bindings.go @@ -60,7 +60,9 @@ type importer struct { // Import fetches data from a given path by using c.JsonnetImportCallback func (i *importer) Import(importedFrom, importedPath string) (contents jsonnet.Contents, foundAt string, err error) { var ( - success = C.int(0) + buflen = C.size_t(0) + msgC *C.char + bufPtr unsafe.Pointer dir, _ = path.Split(importedFrom) foundHereC *C.char ) @@ -71,19 +73,22 @@ func (i *importer) Import(importedFrom, importedPath string) (contents jsonnet.C // returning nothing (NULL), if they know that we have the contents // cached anyway. - resultC := C.jsonnet_internal_execute_import(i.cb, i.ctx, C.CString(dir), C.CString(importedPath), &foundHereC, &success) - result := C.GoString(resultC) - C.jsonnet_internal_free_string(resultC) + success := C.jsonnet_internal_execute_import(i.cb, i.ctx, C.CString(dir), C.CString(importedPath), &foundHereC, &msgC, &bufPtr, &buflen) + if success != 0 { + // Failure + msg := C.GoString(msgC) + C.jsonnet_internal_free_string(msgC) + return jsonnet.Contents{}, "", errors.New("importer error: " + msg) + } + result := C.GoBytes(bufPtr, C.int(buflen)) + C.jsonnet_internal_free_pointer(bufPtr) foundHere := C.GoString(foundHereC) C.jsonnet_internal_free_string(foundHereC) - if success != 1 { - return jsonnet.Contents{}, "", errors.New("importer error: " + result) - } if _, isCached := i.contentCache[foundHere]; !isCached { - i.contentCache[foundHere] = jsonnet.MakeContents(result) + i.contentCache[foundHere] = jsonnet.MakeContentsRaw(result) } return i.contentCache[foundHere], foundHere, nil } diff --git a/c-bindings/internal.h b/c-bindings/internal.h index c33afb5..8d63aac 100644 --- a/c-bindings/internal.h +++ b/c-bindings/internal.h @@ -25,18 +25,16 @@ struct JsonnetJsonValue* jsonnet_internal_execute_native(JsonnetNativeCallback * const struct JsonnetJsonValue *const *argv, int *success); -typedef char *JsonnetImportCallback(void *ctx, +typedef int JsonnetImportCallback(void *ctx, const char *base, const char *rel, + char **found_here, char **buf, size_t *buflen); + +int jsonnet_internal_execute_import(JsonnetImportCallback *cb, + void *ctx, const char *base, const char *rel, char **found_here, - int *success); - -char* jsonnet_internal_execute_import(JsonnetImportCallback *cb, - void *ctx, - const char *base, - const char *rel, - char **found_here, - int *success); + char **msg, + void **buf, size_t *buflen); typedef int JsonnetIoWriterCallback(const void *buf, size_t nbytes, int *success); @@ -46,5 +44,6 @@ int jsonnet_internal_execute_writer(JsonnetIoWriterCallback *cb, int *success); void jsonnet_internal_free_string(char *str); +void jsonnet_internal_free_pointer(void *ptr); char* jsonnet_internal_realloc(struct JsonnetVm *vm, char *str, size_t sz); diff --git a/c-bindings/libjsonnet.cpp b/c-bindings/libjsonnet.cpp index 972cfe4..7aaa95f 100644 --- a/c-bindings/libjsonnet.cpp +++ b/c-bindings/libjsonnet.cpp @@ -34,14 +34,24 @@ struct JsonnetJsonValue* jsonnet_internal_execute_native(JsonnetNativeCallback * return (cb)(ctx, argv, success); } -char* jsonnet_internal_execute_import(JsonnetImportCallback *cb, - void *ctx, - const char *base, - const char *rel, - char **found_here, - int *success) +int jsonnet_internal_execute_import(JsonnetImportCallback *cb, + void *ctx, + const char *base, + const char *rel, + char **found_here, + char **msg, + void **buf, size_t *buflen) { - return (cb)(ctx, base, rel, found_here, success); + char *char_buf; + int success = (cb)(ctx, base, rel, found_here, &char_buf, buflen); + if (success == 0) { + // Success + *buf = char_buf; + } else { + // Fail + *msg = char_buf; + } + return success; } int jsonnet_internal_execute_writer(JsonnetIoWriterCallback *cb, @@ -53,9 +63,11 @@ int jsonnet_internal_execute_writer(JsonnetIoWriterCallback *cb, } void jsonnet_internal_free_string(char *str) { - if (str != nullptr) { - ::free(str); - } + ::free(str); +} + +void jsonnet_internal_free_pointer(void *ptr) { + ::free(ptr); } void jsonnet_gc_min_objects(struct JsonnetVm *vm, unsigned v) { diff --git a/cpp-jsonnet b/cpp-jsonnet index 34419d2..2953453 160000 --- a/cpp-jsonnet +++ b/cpp-jsonnet @@ -1 +1 @@ -Subproject commit 34419d2483927ceb17cd506cad77c3c2a96e7b8c +Subproject commit 295345366e1fdc0ee9ab7048c352750d45053efd diff --git a/python/_jsonnet.c b/python/_jsonnet.c index 7d40fe0..6c9faf6 100644 --- a/python/_jsonnet.c +++ b/python/_jsonnet.c @@ -23,8 +23,17 @@ limitations under the License. static char *jsonnet_str(struct JsonnetVm *vm, const char *str) { - char *out = jsonnet_realloc(vm, NULL, strlen(str) + 1); - memcpy(out, str, strlen(str) + 1); + size_t size = strlen(str) + 1; + char *out = jsonnet_realloc(vm, NULL, size); + memcpy(out, str, size); + return out; +} + +static char *jsonnet_str_nonull(struct JsonnetVm *vm, const char *str, size_t *buflen) +{ + *buflen = strlen(str); + char *out = jsonnet_realloc(vm, NULL, *buflen); + memcpy(out, str, *buflen); return out; } @@ -209,12 +218,12 @@ struct ImportCtx { PyObject *callback; }; -static char *cpython_import_callback(void *ctx_, const char *base, const char *rel, - char **found_here, int *success) +static int cpython_import_callback(void *ctx_, const char *base, const char *rel, + char **found_here, char **buf, size_t *buflen) { const struct ImportCtx *ctx = ctx_; PyObject *arglist, *result; - char *out; + int success; PyEval_RestoreThread(*ctx->py_thread); arglist = Py_BuildValue("(s, s)", base, rel); @@ -223,47 +232,50 @@ static char *cpython_import_callback(void *ctx_, const char *base, const char *r if (result == NULL) { // Get string from exception - char *out = jsonnet_str(ctx->vm, exc_to_str()); - *success = 0; + *buf = jsonnet_str_nonull(ctx->vm, exc_to_str(), buflen); PyErr_Clear(); *ctx->py_thread = PyEval_SaveThread(); - return out; + return 1; // failure } if (!PyTuple_Check(result)) { - out = jsonnet_str(ctx->vm, "import_callback did not return a tuple"); - *success = 0; + *buf = jsonnet_str_nonull(ctx->vm, "import_callback did not return a tuple", buflen); + success = 0; } else if (PyTuple_Size(result) != 2) { - out = jsonnet_str(ctx->vm, "import_callback did not return a tuple (size 2)"); - *success = 0; + *buf = jsonnet_str_nonull(ctx->vm, "import_callback did not return a tuple (size 2)", buflen); + success = 0; } else { PyObject *file_name = PyTuple_GetItem(result, 0); PyObject *file_content = PyTuple_GetItem(result, 1); #if PY_MAJOR_VERSION >= 3 - if (!PyUnicode_Check(file_name) || !PyUnicode_Check(file_content)) { + if (!PyUnicode_Check(file_name) || !PyBytes_Check(file_content)) { #else if (!PyString_Check(file_name) || !PyString_Check(file_content)) { #endif - out = jsonnet_str(ctx->vm, "import_callback did not return a pair of strings"); - *success = 0; + *buf = jsonnet_str_nonull(ctx->vm, "import_callback did not return (string, bytes)", buflen); + success = 0; } else { + const char *content_buf; + const ssize_t content_len; #if PY_MAJOR_VERSION >= 3 const char *found_here_cstr = PyUnicode_AsUTF8(file_name); - const char *content_cstr = PyUnicode_AsUTF8(file_content); + PyBytes_AsStringAndSize(file_content, &content_buf, &content_len); #else const char *found_here_cstr = PyString_AsString(file_name); - const char *content_cstr = PyString_AsString(file_content); + PyString_AsStringAndSize(file_content, &content_buf, &content_len); #endif *found_here = jsonnet_str(ctx->vm, found_here_cstr); - out = jsonnet_str(ctx->vm, content_cstr); - *success = 1; + *buflen = content_len - 1; // Python always adds a trailing null + *buf = jsonnet_realloc(ctx->vm, NULL, *buflen); + memcpy(*buf, content_buf, *buflen); + success = 1; } } Py_DECREF(result); *ctx->py_thread = PyEval_SaveThread(); - return out; + return success ? 0 : 1; } static PyObject *handle_result(struct JsonnetVm *vm, char *out, int error) diff --git a/python/_jsonnet_test.py b/python/_jsonnet_test.py index 0ad65ec..055a360 100644 --- a/python/_jsonnet_test.py +++ b/python/_jsonnet_test.py @@ -36,7 +36,7 @@ def try_path_cached(cache, dir, rel): cache[full_path] = None else: with open(full_path) as f: - cache[full_path] = f.read() + cache[full_path] = f.read().encode() return full_path, cache[full_path] diff --git a/testdata/assert_equal4.golden b/testdata/assert_equal4.golden index 8395d91..dfbbe8a 100644 --- a/testdata/assert_equal4.golden +++ b/testdata/assert_equal4.golden @@ -1,6 +1,6 @@ RUNTIME ERROR: Assertion failed. {"x": 1} != {"x": 2} ------------------------------------------------- - :814:7-50 function + :826:7-50 function error 'Assertion failed. ' + a + ' != ' + b, diff --git a/testdata/assert_equal5.golden b/testdata/assert_equal5.golden index 9f4b58d..3402147 100644 --- a/testdata/assert_equal5.golden +++ b/testdata/assert_equal5.golden @@ -2,7 +2,7 @@ RUNTIME ERROR: Assertion failed. != ------------------------------------------------- - :814:7-50 function + :826:7-50 function error 'Assertion failed. ' + a + ' != ' + b, diff --git a/testdata/assert_equal6.golden b/testdata/assert_equal6.golden index f16005b..d942ccb 100644 --- a/testdata/assert_equal6.golden +++ b/testdata/assert_equal6.golden @@ -1,6 +1,6 @@ RUNTIME ERROR: Assertion failed.  != ------------------------------------------------- - :814:7-50 function + :826:7-50 function error 'Assertion failed. ' + a + ' != ' + b, diff --git a/testdata/builtinReverse_not_array.golden b/testdata/builtinReverse_not_array.golden index 69ee93b..304f934 100644 --- a/testdata/builtinReverse_not_array.golden +++ b/testdata/builtinReverse_not_array.golden @@ -1,8 +1,8 @@ -RUNTIME ERROR: Unexpected type string, expected array +RUNTIME ERROR: Unexpected type boolean, expected array ------------------------------------------------- - testdata/builtinReverse_not_array:1:1-20 $ + testdata/builtinReverse_not_array:1:1-19 $ -std.reverse("asdf") +std.reverse(false) ------------------------------------------------- During evaluation diff --git a/testdata/builtinReverse_not_array.jsonnet b/testdata/builtinReverse_not_array.jsonnet index 12f2b5c..4c97865 100644 --- a/testdata/builtinReverse_not_array.jsonnet +++ b/testdata/builtinReverse_not_array.jsonnet @@ -1 +1 @@ -std.reverse("asdf") \ No newline at end of file +std.reverse(false) diff --git a/testdata/builtinReverse_not_array.linter.golden b/testdata/builtinReverse_not_array.linter.golden index d1025ff..d12c1aa 100644 --- a/testdata/builtinReverse_not_array.linter.golden +++ b/testdata/builtinReverse_not_array.linter.golden @@ -1,10 +1,10 @@ ../testdata/builtinReverse_not_array:1:1-12 Indexed object has no field "reverse" -std.reverse("asdf") +std.reverse(false) -../testdata/builtinReverse_not_array:1:1-20 Called value must be a function, but it is assumed to be void +../testdata/builtinReverse_not_array:1:1-19 Called value must be a function, but it is assumed to be void -std.reverse("asdf") +std.reverse(false) diff --git a/testdata/percent_bad.golden b/testdata/percent_bad.golden index 3b755b3..f08650a 100644 --- a/testdata/percent_bad.golden +++ b/testdata/percent_bad.golden @@ -1,6 +1,6 @@ RUNTIME ERROR: Operator % cannot be used on types number and string. ------------------------------------------------- - :239:7-94 function + :251:7-94 function error 'Operator % cannot be used on types ' + std.type(a) + ' and ' + std.type(b) + '.', diff --git a/testdata/percent_bad2.golden b/testdata/percent_bad2.golden index 34bf668..5274ce3 100644 --- a/testdata/percent_bad2.golden +++ b/testdata/percent_bad2.golden @@ -1,21 +1,21 @@ RUNTIME ERROR: Too many values to format: 1, expected 0 ------------------------------------------------- - :684:11-86 function + :696:11-86 function error ('Too many values to format: ' + std.length(arr) + ', expected ' + j) ------------------------------------------------- - :690:11-59 function + :702:11-59 function format_codes_arr(codes, arr, i + 1, j, v + code) tailstrict ------------------------------------------------- - :781:7-48 function + :793:7-48 function format_codes_arr(codes, [vals], 0, 0, ''), ------------------------------------------------- - :237:7-23 function + :249:7-23 function std.format(a, b) diff --git a/testdata/percent_bad3.golden b/testdata/percent_bad3.golden index 7523447..3f997b4 100644 --- a/testdata/percent_bad3.golden +++ b/testdata/percent_bad3.golden @@ -1,6 +1,6 @@ RUNTIME ERROR: Operator % cannot be used on types function and number. ------------------------------------------------- - :239:7-94 function + :251:7-94 function error 'Operator % cannot be used on types ' + std.type(a) + ' and ' + std.type(b) + '.', diff --git a/testdata/percent_format_str4.golden b/testdata/percent_format_str4.golden index d3a7699..893e99d 100644 --- a/testdata/percent_format_str4.golden +++ b/testdata/percent_format_str4.golden @@ -1,21 +1,21 @@ RUNTIME ERROR: Too many values to format: 2, expected 1 ------------------------------------------------- - :684:11-86 function + :696:11-86 function error ('Too many values to format: ' + std.length(arr) + ', expected ' + j) ------------------------------------------------- - :690:11-59 function + :702:11-59 function format_codes_arr(codes, arr, i + 1, j, v + code) tailstrict ------------------------------------------------- - :777:7-46 function + :789:7-46 function format_codes_arr(codes, vals, 0, 0, '') ------------------------------------------------- - :237:7-23 function + :249:7-23 function std.format(a, b) diff --git a/testdata/percent_format_str5.golden b/testdata/percent_format_str5.golden index 50a5c77..284f761 100644 --- a/testdata/percent_format_str5.golden +++ b/testdata/percent_format_str5.golden @@ -1,38 +1,38 @@ RUNTIME ERROR: Not enough values to format: 1, expected more than 1 ------------------------------------------------- - :717:15-103 thunk from > + :729:15-103 thunk from > error ('Not enough values to format: ' + std.length(arr) + ', expected more than ' + j2); ------------------------------------------------- - :722:27-30 thunk from from >> + :734:27-30 thunk from from >> format_code(val, code, tmp.fw, tmp2.prec, j2); ------------------------------------------------- - :592:22-25 thunk from > + :604:22-25 thunk from > std.toString(val) ------------------------------------------------- - :592:9-26 function + :604:9-26 function std.toString(val) ------------------------------------------------- ... (skipped 10 frames) ------------------------------------------------- - :733:11-64 function + :745:11-64 function format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict; ------------------------------------------------- - :777:7-46 function + :789:7-46 function format_codes_arr(codes, vals, 0, 0, '') ------------------------------------------------- - :237:7-23 function + :249:7-23 function std.format(a, b) diff --git a/testdata/percent_format_str6.golden b/testdata/percent_format_str6.golden index 5750dd6..a65959a 100644 --- a/testdata/percent_format_str6.golden +++ b/testdata/percent_format_str6.golden @@ -1,38 +1,38 @@ RUNTIME ERROR: Not enough values to format: 1, expected more than 1 ------------------------------------------------- - :717:15-103 thunk from > + :729:15-103 thunk from > error ('Not enough values to format: ' + std.length(arr) + ', expected more than ' + j2); ------------------------------------------------- - :722:27-30 thunk from from >> + :734:27-30 thunk from from >> format_code(val, code, tmp.fw, tmp2.prec, j2); ------------------------------------------------- - :592:22-25 thunk from > + :604:22-25 thunk from > std.toString(val) ------------------------------------------------- - :592:9-26 function + :604:9-26 function std.toString(val) ------------------------------------------------- ... (skipped 10 frames) ------------------------------------------------- - :733:11-64 function + :745:11-64 function format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict; ------------------------------------------------- - :781:7-48 function + :793:7-48 function format_codes_arr(codes, [vals], 0, 0, ''), ------------------------------------------------- - :237:7-23 function + :249:7-23 function std.format(a, b) diff --git a/testdata/percent_format_str7.golden b/testdata/percent_format_str7.golden index b49d31e..72033f6 100644 --- a/testdata/percent_format_str7.golden +++ b/testdata/percent_format_str7.golden @@ -1,39 +1,39 @@ RUNTIME ERROR: Format required number at 0, got string ------------------------------------------------- - :(595:11)-(596:47) function + :(607:11)-(608:47) function error 'Format required number at ' + i + ', got ' + std.type(val) ------------------------------------------------- - :722:15-60 thunk from > + :734:15-60 thunk from > format_code(val, code, tmp.fw, tmp2.prec, j2); ------------------------------------------------- - :727:24-25 thunk from from >> + :739:24-25 thunk from from >> pad_left(s, tmp.fw, ' '); ------------------------------------------------- - :480:30-33 thunk from >> + :492:30-33 thunk from >> padding(w - std.length(str), s) + str; ------------------------------------------------- ... (skipped 7 frames) ------------------------------------------------- - :733:11-64 function + :745:11-64 function format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict; ------------------------------------------------- - :777:7-46 function + :789:7-46 function format_codes_arr(codes, vals, 0, 0, '') ------------------------------------------------- - :237:7-23 function + :249:7-23 function std.format(a, b) diff --git a/testdata/percent_mod_int5.golden b/testdata/percent_mod_int5.golden index 972ac7a..9f383ce 100644 --- a/testdata/percent_mod_int5.golden +++ b/testdata/percent_mod_int5.golden @@ -1,6 +1,6 @@ RUNTIME ERROR: Division by zero. ------------------------------------------------- - :235:7-23 function + :247:7-23 function std.modulo(a, b)